1 heat_template_version: 2013-05-23
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
35 type: OS::Nova::Server
38 image: cirros-0.3.2-x86_64-uec
40 - port: { get_resource: my_port2 }
41 user_data_format: SOFTWARE_CONFIG
44 type: OS::Neutron::Net
47 get_param: network_name
50 type: OS::Neutron::Subnet
54 get_param: network_end_ip
56 get_param: network_start_ip
58 get_param: network_cidr
60 network: { get_resource: my_network }
63 type: OS::Neutron::Port
65 network: { get_resource: my_network }
68 type: OS::Neutron::Port
70 network: { get_resource: my_network }