1 heat_template_version: 2015-04-30
3 description: virc_nested
8 description: Unique ID for this VF instance
11 description: Unique name for this VF instance
14 description: Unique ID for this VF Module instance
17 description: Unique name for this VF Module instance
19 type: comma_delimited_list
20 description: Unique roles for this group of instances
22 type: comma_delimited_list
23 description: name of virc instances
26 description: name of virc image
29 description: flavor of instance to use
32 description: Key pair containing public SSH key for vIRC instances
35 description: Availability zone used for this resource group
38 description: virc management network name
41 description: yes if port configured by dhcp, otherwise no
43 type: comma_delimited_list
44 description: virc management network fixed ips
45 virc_management_netmask:
47 description: virc management netmask
48 virc_management_gateway:
50 description: virc management gateway
51 virc_management_default_route:
53 description: yes if this default route is that of this nic
56 description: virc data network name
59 description: yes if port configured by dhcp, otherwise no
61 type: comma_delimited_list
62 description: virc data network fixed ips
65 description: virc data netmask
68 description: virc data gateway
69 virc_data_default_route:
71 description: yes if this default route is that of this nic
74 description: virc signaling network name
77 description: yes if port configured by dhcp, otherwise no
79 type: comma_delimited_list
80 description: virc signaling network fixed ips
81 virc_signaling_netmask:
83 description: virc signaling netmask
84 virc_signaling_gateway:
86 description: virc signaling gateway
87 virc_signaling_default_route:
89 description: yes if this default route is that of this nic
92 description: virc security group
95 description: domain of the virc instance
98 description: first dns nameserver for virc instance
101 description: second dns nameserver for virc instance
102 virc_default_gateway:
104 description: default gateway for VM
107 description: virc deployment version
110 description: virc deployment environment
113 description: vIRC CC version file name
116 description: Current index value of the resource group
118 - range: { min: 0, max: 18 }
122 type: OS::Nova::Server
124 name: {get_param: [virc_names, {get_param: index_num}]}
126 vnf_id: { get_param: vnf_id }
127 vnf_name: { get_param: vnf_name }
128 vf_module_id: { get_param: vf_module_id }
129 vf_module_name: { get_param: vf_module_name }
130 vm_role: { get_param: [vm_roles, {get_param: index_num}]}
131 key_name: {get_param: virc_keypair}
132 image: {get_param: virc_image_name}
133 flavor: {get_param: virc_flavor_name}
134 availability_zone: {get_param: availability_zone_0}
136 - port: { get_resource: virc_management_0_port}
137 - port: { get_resource: virc_data_1_port}
138 - port: { get_resource: virc_signaling_2_port}
139 user_data_format: RAW
142 template: {get_file: user_data.sh}
144 __hostname__: {get_param: [virc_names, {get_param: index_num}]}
145 __domain__: {get_param: virc_domain}
146 __dns1__: {get_param: virc_dns1}
147 __dns2__: {get_param: virc_dns2}
148 __default_gateway__: {get_param: virc_default_gateway}
149 __port_mac_0__: {get_attr: [virc_management_0_port, mac_address]}
150 __port_ip_0__: {get_param: [virc_management_ips, {get_param: index_num}]}
151 __port_netmask_0__: {get_param: virc_management_netmask}
152 __port_gateway_0__: {get_param: virc_management_gateway}
153 __port_def_route_0__: {get_param: virc_management_default_route}
154 __port_dhcp_0__: {get_param: virc_management_dhcp}
155 __port_mac_1__: {get_attr: [virc_data_1_port, mac_address]}
156 __port_ip_1__: {get_param: [virc_data_ips, {get_param: index_num}]}
157 __port_netmask_1__: {get_param: virc_data_netmask}
158 __port_gateway_1__: {get_param: virc_data_gateway}
159 __port_def_route_1__: {get_param: virc_data_default_route}
160 __port_dhcp_1__: {get_param: virc_data_dhcp}
161 __port_ip6_1__: {get_param: [virc_data_ips, {get_param: index_num}]}
162 __port_mac_2__: {get_attr: [virc_signaling_2_port, mac_address]}
163 __port_ip_2__: {get_param: [virc_signaling_ips, {get_param: index_num}]}
164 __port_netmask_2__: {get_param: virc_signaling_netmask}
165 __port_gateway_2__: {get_param: virc_signaling_gateway}
166 __port_def_route_2__: {get_param: virc_signaling_default_route}
167 __port_dhcp_2__: {get_param: virc_signaling_dhcp}
168 __virc_environment__: {get_param: virc_environment}
169 __virc_version__: {get_param: virc_version}
170 __virc_version_file__: {get_param: virc_version_file}
172 virc_management_0_port:
173 type: OS::Neutron::Port
175 network: { get_param: management_net_name }
177 - ip_address: { get_param: [virc_management_ips, {get_param: index_num}]}
179 - { get_param: virc_sg }
181 type: OS::Neutron::Port
183 network: { get_param: data_net_name }
185 - ip_address: { get_param: [virc_data_ips, {get_param: index_num}]}
187 - { get_param: virc_sg }
188 virc_signaling_2_port:
189 type: OS::Neutron::Port
191 network: { get_param: signaling_net_name }
193 - ip_address: { get_param: [virc_signaling_ips, {get_param: index_num}]}
195 - { get_param: virc_sg }
197 type: OS::Cinder::Volume
199 # name: {get_param: [virc_names, {get_param: index_num}]}
200 availability_zone: nova
201 # availability_zone: {get_param: availability_zone_0}
203 virc_volumeattachment:
204 type: OS::Cinder::VolumeAttachment
206 instance_uuid: { get_resource: virc_0 }
207 volume_id: { get_resource: virc_volume }