[openstack-dev] How to specify gic version in openstack

2017-07-04 Thread Vishnu Pajjuri
Hi,

I am trying to run Openstack on ARM64 architecture. ARM64 architecture with
KVM hypervisor needs GIC version(generic interrupt controller) as a
property for the image when we are creating/uploading an image. I would
like to include this property in the glance code. I am new to glance, Can
someone suggest me how to approach for this.

Thanks in advance

-Vishnu
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Openstack-dev][Tacker] Not able to run user_data commands on my instance

2017-05-22 Thread Vishnu Pajjuri
 Hi,

   I'm have installed openstack with tacker by devstack.

I'm able to run OpenWRT vnf and able to configure the firewall service with
openwrt management driver.

And also able to run shell commands in cirros image which is also using
openwrt management driver.


Now I have created one ubuntu image, and able to launch through tacker.

In this instance i want run some shell commands through tacker's user_data
feature.

But no commands are executing.

Is it possible to run commands on custom images unlike cirros/openwrt?

If yes kindly share the procedure to create proper ubuntu image.



Below is tosca configd file


tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

description: Demo with user-data

metadata:
  template_name: sample-vnfd-userdata

topology_template:
  node_templates:
VDU1:
  type: tosca.nodes.nfv.VDU.Tacker
  capabilities:
nfv_compute:
  properties:
num_cpus: 1
mem_size: 1024 MB
disk_size: 1 GB
  properties:
image: ubuntu-image
config: |
  param0: key1
  param1: key2
mgmt_driver: openwrt
config_drive: true
user_data_format: RAW
user_data: |
  #!/bin/sh
  echo "my hostname is `hostname`" > /tmp/hostname
  date > /tmp/date
  ifconfig > /tmp/ifconfig
  df -h > /tmp/diskinfo
CP1:
  type: tosca.nodes.nfv.CP.Tacker
  properties:
management: true
order: 0
anti_spoofing_protection: false
  requirements:
- virtualLink:
node: VL1
- virtualBinding:
node: VDU1

 VL1:
  type: tosca.nodes.nfv.VL
  properties:
network_name: net_mgmt
vendor: ACME

Regards,
-Vishnu
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Openstack-dev][Tacker] How to update vnf with user_data

2017-05-19 Thread Vishnu Pajjuri
Hi,
   Someone can help me to update vnf with user_data by using noop or
openwrt mgmt_driver.

Below is my tosca-config-user-data.yaml

vdus:
  VDU1:
config:
user_data: |
  #!/bin/sh
  echo "my hostname is `hostname`" > /tmp/hostname
  df -h > /tmp/diskinfo


Regards,
-vishnu
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [tacker] VNF Configuration injection issue

2017-04-04 Thread Vishnu Pajjuri
Hi,
   I'm running tacker and able to launch vnf through VNF manager. But the
configuration of the VNF is not getting injected to VNF.
Kindly help me in debugging of injection of configuration


Please find below tosca config file

tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

description: OpenWRT with firewall services

metadata:
  template_name: APM

topology_template:
  node_templates:
VDU1:
  type: tosca.nodes.nfv.VDU.Tacker
  capabilities:
nfv_compute:
  properties:
num_cpus: 1
mem_size: 1024 MB
disk_size: 1 GB
  properties:
image: openWRT-image2
config:
  firewall: |
package firewall

config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'

config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'

config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'

config forwarding
option src 'lan'
option dest 'wan'

config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'

config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'REJECT'
mgmt_driver: openwrt
monitoring_policy:
  name: ping
  parameters:
count: 3
interval: 10
  actions:
failure: respawn

CP1:
  type: tosca.nodes.nfv.CP.Tacker
  properties:
management: true
anti_spoofing_protection: false
  requirements:
- virtualLink:
node: VL1
- virtualBinding:
node: VDU1

VL1:
  type: tosca.nodes.nfv.VL
  properties:
network_name: net_mgmt
vendor: Tacker



Note: haven't seen any ssh connection formed to VNF from host during and
after installation.


Thanks && Regards,
-Vishnu
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev