using get_file within tosca template

asked 2016-08-03 02:11:29 -0500

prateeka gravatar image

Hi, I am trying to pass a script from tosca template using user_data field.Here is my template:

vdus: vdu1: id: vdu1 vm_image: TestVM instance_type: m1.micro service_type: firewall

network_interfaces:
  management:
    network: mgmt_net
    management: true

placement_policy:
  availability_zone: nova

auto-scaling: noop
monitoring_policy: noop
failure_policy: respawn

user_data_format: RAW
user_data: |
 get_file: try.sh

VNF is getting spawned but script is not executing. What is the way to pass a script from tosca-template?

edit retag flag offensive close merge delete

Comments

Hi, Can you please post me to update vnf with user_data. In short I want to apply changes on running vnf with user_data.

Regards, -Vishnu

vishnu430 gravatar imagevishnu430 ( 2017-05-17 06:59:06 -0500 )edit