1 heat_template_version: 2013-05-23
3 SC1, SC2, PL3 and PL4. This is the main template, to be used to create an initial stack, with 1 mated pair
6 type: comma_delimited_list
7 description: comma delimited list of NTP servers required by System Controller VMs. Exactly 2 IPv4 values are required
10 description: Flavor to use for PL VM. Minimum 8 non-HT vCPU and 64GB RAM required
13 description: Flavor to use for SC VM. Minimum 4 non-HT vCPU and 16GB RAM required
16 description: Unique ID for this VF instance
19 description: Unique ID for this VNF Module instance
21 type: comma_delimited_list
22 description: comma delimited list of VM names assigned to System Controller VMs
24 type: comma_delimited_list
25 description: comma delimited list of VM names assigned to Payload VMs
28 description: Network address (CIDR notation) for SBG intra-VM communication, IPv4. Don't deviate from default!
30 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}\/[1-2][0-9]'
31 description: A valid IPv4 CIDR notation must be provided, e.g. 192.168.0.0/24
32 sbg_internal_allocation_pool_start_ip:
34 description: The start IP of the Internal network's allocation pool. Don't deviate from default!
36 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
37 description: A valid IPv4 address must be provided, e.g 169.254.100.253
38 sbg_internal_allocation_pool_end_ip:
40 description: The end IP of the Internal network's allocation pool. Don't deviate from default!
42 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
43 description: A valid IPv4 address must be provided, e.g 169.254.100.254
46 description: the UUID of the operator-created Internal network
48 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
49 description: A valid OpenStack UUID must be provided
51 type: comma_delimited_list
52 description: comma delimited list of IPv4 addresses of SBG VMs on the Internal network. Don't deviate from the default values.
53 sbg_internal_mac_addresses:
54 type: comma_delimited_list
55 description: comma delimited list of MAC addresses for the VMs on the Internal network
58 description: Network address (CIDR notation) for SBG Management Network, IPv4
60 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}\/[1-2][0-9]'
61 description: A valid IPv4 CIDR notation must be provided, e.g. 192.168.0.0/24
62 sbg_management_gateway_ip_0:
64 description: IPv4 IP address of the default gateway on Management network
66 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
67 description: A valid IPv4 address must be provided, e.g 192.168.0.1
70 description: the UUID of the operator-created Management network
72 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
73 description: A valid OpenStack UUID must be provided
76 description: the UUID of the operator-created Management subnet, IPv4
78 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
79 description: A valid OpenStack UUID must be provided
80 sbg_management_mac_addresses:
81 type: comma_delimited_list
82 description: comma delimited list of MAC addresses for the VMs on the Management network
84 type: comma_delimited_list
85 description: comma delimited list of IPv4 addresses of SBG VMs on the Management network.
88 description: the UUID of the operator-created Traffic network
90 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
91 description: A valid OpenStack UUID must be provided
94 description: the UUID of the operator-created Core subnet, IPv4
96 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
97 description: A valid OpenStack UUID must be provided
100 description: The number of AVPN networks
102 - range: { min: 1, max: 999 }
104 type: comma_delimited_list
105 description: comma delimited list of the UUIDs of the operator-created AVPN networks
106 sbg_AVPN_vlan_tag_list:
107 type: comma_delimited_list
108 description: comma delimited list of internal VLAN TAG(s) used by AVPN networks
110 type: comma_delimited_list
111 description: comma delimited list of the UUIDs of the operator created IPv4 AVPN subnets
113 type: comma_delimited_list
115 comma delimited list of IPv4 IPs to be used on AVPN networks. n*2 IP address expected where n is the number of PL VM pairs. The first two addresses are assigned to the first PL VM pair, second two IPs to the second PL VM pair, and so on. Note: this is true regardless of the number of AVPN networks and sbg_AVPN_count.
118 description: the UUID of the operator-created dummy subnet, IPv4
120 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
121 description: A valid OpenStack UUID must be provided
122 sbg_management_floating_ip:
124 description: Moveable Management IP (VIP), IPv4
126 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
127 description: A valid IPv4 address must be provided, e.g 192.168.0.1
130 description: First availability zone ID or Name.
133 description: Moveable IP (VIP) for NFS server on the Internal network, IPv4. Don't deviate from default!
135 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
136 description: A valid IPv4 address must be provided, e.g 192.168.0.1
137 sbg_comte_floating_ip:
139 description: Moveable IP (VIP) for COM on the Internal network, IPv4. Don't deviate from default!
141 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
142 description: A valid IPv4 address must be provided, e.g 192.168.0.1
143 sbg_boot_floating_ip:
145 description: Moveable IP (VIP) for TFTP server on the Internal network, IPv4. Don't deviate from default!
147 - allowed_pattern: '(?:[0-9]{1,3}\.){3}[0-9]{1,3}'
148 description: A valid IPv4 address must be provided, e.g 192.168.0.1
152 description: the UUID of the pre-created Cinder volume attached to SC-1 as root volume
154 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
155 description: A valid OpenStack UUID must be provided
158 description: the UUID of the pre-created Cinder volume attached to SC-1 as tools volume
160 - allowed_pattern: '[a-f0-9]{8}\-(?:[a-f0-9]{4}\-){3}[a-f0-9]{12}'
161 description: A valid OpenStack UUID must be provided
164 sbg_sc_internal_0_port_0:
165 type: OS::Neutron::Port
167 replacement_policy: AUTO
168 network_id: { get_param: internal_net_id }
170 - ip_address: { get_param: [sbg_internal_ips ,0] }
171 allowed_address_pairs:
172 - ip_address: { get_param: sbg_nfs_floating_ip }
173 - ip_address: { get_param: sbg_comte_floating_ip }
174 - ip_address: { get_param: sbg_boot_floating_ip }
175 mac_address: { get_param: [sbg_internal_mac_addresses ,0] }
177 sbg_sc_management_1_port_0:
178 type: OS::Neutron::Port
180 replacement_policy: AUTO
181 network_id: { get_param: management_net_id }
183 - ip_address: { get_param: [sbg_management_ips ,0] }
184 allowed_address_pairs:
185 - ip_address: { get_param: sbg_management_floating_ip }
186 mac_address: { get_param: [sbg_management_mac_addresses ,0] }
188 sbg_pl_trunk_subport_avpn_group_0:
189 type: OS::Heat::ResourceGroup
191 count: {get_param: sbg_AVPN_count}
193 type: DPA3_New_VNF_TSBGv_nested_AVPN_subport.yaml
195 nested_sbg_AVPN_vlan_tag_list: {get_param: sbg_AVPN_vlan_tag_list}
196 nested_avpn_net_id: {get_param: avpn_net_id}
197 nested_avpn_subnet_id: {get_param: avpn_subnet_id}
198 nested_sbg_avpn_ip_0: {get_param: [sbg_avpn_ips, 0]}
199 nested_sbg_AVPN_counter: '%index%'
202 type: nested_DPA3_New_VNF_TSBGv.yaml
203 depends_on: [ sbg_pl_trunk_subport_avpn_group_0 ]
205 nested_sbg_AVPN_vlan_tag_list: {get_param: sbg_AVPN_vlan_tag_list}
206 nested_avpn_net_id: {get_param: avpn_net_id}
207 nested_avpn_subnet_id: {get_param: avpn_subnet_id}
208 nested_sbg_avpn_ip_0: {get_param: [sbg_avpn_ips, 0]}
209 nested_sbg_AVPN_counter: '%index%'
212 type: OS::Nova::Server
214 name: { get_param: [sbg_sc_names, 0]}
216 vnf_id: { get_param: vnf_id }
217 vf_module_id: { get_param: vf_module_id }
218 availability_zone: { get_param: availability_zone_0 }
219 block_device_mapping:
221 volume_id : { get_param : sbg_sc_volume_id_0 }
222 delete_on_termination : "false"
224 volume_id : { get_param : sbg_sc_volume_id_1 }
225 delete_on_termination : "false"
226 flavor: { get_param: sbg_sc_flavor_name }
228 - port: { get_resource: sbg_sc_internal_0_port_0 }
229 - port: { get_resource: sbg_sc_management_1_port_0 }
231 user_data_format: RAW