1 heat_template_version: 2014-10-16
4 TOSCA simple profile with 2 servers bound to the 1 network
9 description: Network name
10 default: my_private_net
13 description: CIDR for the network
17 description: Start IP for the allocation pool
21 description: End IP for the allocation pool
26 type: OS::Nova::Server
29 image: cirros-0.3.2-x86_64-uec
31 - port: { get_resource: my_port }
32 user_data_format: SOFTWARE_CONFIG
33 software_config_transport: POLL_SERVER_HEAT
36 type: OS::Nova::Server
39 image: cirros-0.3.2-x86_64-uec
41 - port: { get_resource: my_port2 }
42 user_data_format: SOFTWARE_CONFIG
43 software_config_transport: POLL_SERVER_HEAT
46 type: OS::Neutron::Net
49 get_param: network_name
52 type: OS::Neutron::Subnet
56 get_param: network_end_ip
58 get_param: network_start_ip
60 get_param: network_cidr
62 network: { get_resource: my_network }
65 type: OS::Neutron::Port
67 network: { get_resource: my_network }
70 type: OS::Neutron::Port
72 network: { get_resource: my_network }