1 description: Heat template for deploying Mass PNF Simulator
2 heat_template_version: '2017-02-24'
5 description: Flavor name of the simulator instance. This should depend on the requested amount of simulator instances
8 description: Name or id of the image (Debian family only)
11 label: Key pair name for passwordless login to instance
14 description: ID of the network with a pool of floating IPs
15 label: Floating IP network
19 description: Id of a private network for instance interface
22 type: OS::Heat::SoftwareConfig
25 get_file: cloud-config.yaml
27 type: OS::Heat::SoftwareConfig
30 get_file: mass-pnf-sim_run.sh
32 type: OS::Heat::CloudConfig
36 - path: /root/mass-pnf-sim_run.sh
38 get_attr: [sim_script, config]
39 simulator_floating_ip:
40 type: OS::Neutron::FloatingIP
43 get_param: float_net_id
45 get_attr: [simulator, addresses, get_param: instance_net_id, 0, port]
47 type: OS::Heat::MultipartMime
53 get_resource: sim_script_file
55 type: OS::Nova::Server
57 name: mass-pnf-simulator
63 get_param: flavor_name
66 get_param: instance_net_id
69 get_resource: cloud_config
71 simulator_instance_id:
72 description: ID of the simulator instance
74 get_resource: simulator
75 simulator_instance_fip:
76 description: Floating IP address of the simulator instance
78 get_attr: [simulator_floating_ip, floating_ip_address]