1993eeaf1a017ab9cf6313cbe203c0ee4d8bf374
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     ssc_a_name_0:
12       hidden: false
13       immutable: false
14       type: string
15       description: Name of VM A of SSC
16       constraints:
17       - pattern: '[a-zA-Z0-9][a-zA-Z0-9-]{0,29}$'
18     mgmt_net_plen:
19       hidden: false
20       immutable: false
21       type: float
22       description: Management network prefix length
23       constraints:
24       - in_range:
25         - 0
26         - 32
27     ssc_b_name_0:
28       hidden: false
29       immutable: false
30       type: string
31       description: Name of VM B of SSC
32       constraints:
33       - pattern: '[a-zA-Z0-9][a-zA-Z0-9-]{0,29}$'
34     ssc_b_untrusted_ip_0:
35       hidden: false
36       immutable: false
37       type: string
38       description: Fixed IPv4 address on Untrusted/access network for SSC B.
39     ssc_b_untrusted_parent_ip_0:
40       hidden: false
41       immutable: false
42       type: string
43       description: Fixed IPv4 address on Untrusted/access parent network for SSC B.
44     perimeta_untrusted_vlan_ids:
45       hidden: false
46       immutable: false
47       type: list
48       description: List of VLAN IDs to use on the untrusted/access network
49       entry_schema:
50         type: string
51     ssc_json_radius_servername:
52       hidden: false
53       immutable: false
54       type: string
55       description: IP Address or hostname of RADIUS server
56     ssc_mgmt_vip_0:
57       hidden: false
58       immutable: false
59       type: string
60       description: Management virtual IP address to use for SSC.
61     rtp_msc_json_use_radius_authentication:
62       hidden: false
63       immutable: false
64       type: string
65       description: Json prefix, used to indicate if user account authentication is done externally through Radius
66       constraints:
67       - valid_values:
68         - ' '
69         - '// not using Radius '
70     ssc_trusted_vip_0:
71       hidden: false
72       immutable: false
73       type: string
74       description: Virtual IPv4 address on Trusted/core network for SSC.
75     ssc_untrusted_vip_0:
76       hidden: false
77       immutable: false
78       type: string
79       description: Virtual IPv4 address on Untrusted/access network for SSC.
80     perimeta_untrusted_num_vlans:
81       hidden: false
82       immutable: false
83       type: float
84       description: number of VLANs to connect to the untrusted/access interface
85       constraints:
86       - in_range:
87         - 1
88         - 1001
89     rtp_msc_mgmt_vips:
90       hidden: false
91       immutable: false
92       type: list
93       description: List of management virtual IP addresses to use for RTP MSC.
94       entry_schema:
95         type: string
96     ssc_a_json_prefix:
97       hidden: false
98       immutable: false
99       type: string
100       description: Json prefix, used to create the correct json file depending on the operation being performed
101       default: ' '
102       constraints:
103       - valid_values:
104         - ' '
105         - '// healing, not required '
106     rtp_msc_a_untrusted_parent_ips:
107       hidden: false
108       immutable: false
109       type: list
110       description: List of fixed IPv4 addresses on Untrusted/access parent network for RTP MSC A.
111       entry_schema:
112         type: string
113     ssc_b_trusted_ip_0:
114       hidden: false
115       immutable: false
116       type: string
117       description: Fixed IPv4 address on Trusted/core network for SSC B.
118     shared_perimeta_ssc_server_group:
119       hidden: false
120       immutable: false
121       type: string
122       description: Server group to use for these VMs
123     ssc_json_radius_timeout:
124       hidden: false
125       immutable: false
126       type: float
127       description: Timeout for connect requests to RADIUS server
128       constraints:
129       - in_range:
130         - 1
131         - 60
132     rtp_msc_untrusted_vips:
133       hidden: false
134       immutable: false
135       type: list
136       description: List of virtual IPv4 addresses on Untrusted/access network for RTP MSC.
137       entry_schema:
138         type: string
139     rtp_msc_json_radius_servername:
140       hidden: false
141       immutable: false
142       type: string
143       description: IP Address or hostname of RADIUS server
144     rtp_msc_vnfcnames:
145       hidden: false
146       immutable: false
147       type: list
148       description: List of vnfc names of the RTP MSC. This is the name associated with the perimeta pair and corresponds to the VIP
149       entry_schema:
150         type: string
151     ssc_image_name:
152       hidden: false
153       immutable: false
154       type: string
155       description: Glance image to use for launching SSC Perimeta instances.
156       default: ISBC_SBC_v4.0.40_SU12.qcow2
157       constraints: [
158         ]
159     perimeta_max_rtp_msc_count:
160       hidden: false
161       immutable: false
162       type: float
163       description: Max number of RTP MSCs in a site.
164       default: 8
165       constraints:
166       - in_range:
167         - 0
168         - 20
169     trusted_net_id:
170       hidden: false
171       immutable: false
172       type: string
173       description: Network ID of Trusted/core network.
174       constraints: [
175         ]
176     ntp_server_ip_addrs:
177       hidden: false
178       immutable: false
179       type: string
180       description: NTP server IPv4 addresses, separated by commas.  These must be accessible from the management network
181       constraints:
182       - pattern: ((?:\d{1,3}\.){3}\d{1,3},)*((?:\d{1,3}\.){3}\d{1,3})
183     rtp_msc_json_radius_default:
184       hidden: false
185       immutable: false
186       type: string
187       description: Default authentication level for RADIUS users
188       constraints:
189       - valid_values:
190         - no-access
191         - read-only
192         - support
193         - restricted-admin
194         - admin
195     rtp_msc_a_vnfcnames:
196       hidden: false
197       immutable: false
198       type: list
199       description: List of vnfc names of the A of RTP MSC
200       entry_schema:
201         type: string
202     ssc_b_untrusted_v6_ip_0:
203       hidden: false
204       immutable: false
205       type: string
206       description: Fixed IPv6 address on Untrusted/access network for SSC B.
207     rtp_msc_b_index:
208       hidden: false
209       immutable: false
210       type: float
211       description: Index of RTP MSC to instantiate / heal.
212       constraints:
213       - in_range:
214         - 0
215         - 19
216     rtp_msc_untrusted_v6_vips:
217       hidden: false
218       immutable: false
219       type: list
220       description: List of virtual IPv6 addresses on Untrusted/access network for RTP MSC.
221       entry_schema:
222         type: string
223     shared_ssc_unused_net_id:
224       hidden: false
225       immutable: false
226       type: string
227       description: Unused network ID
228     ssc_b_rf_ip_0:
229       hidden: false
230       immutable: false
231       type: string
232       description: RF fixed IP address to use for SSC B.
233     rtp_msc_b_untrusted_parent_ips:
234       hidden: false
235       immutable: false
236       type: list
237       description: List of fixed IPv4 addresses on Untrusted/access parent network for RTP MSC B.
238       entry_schema:
239         type: string
240     ssc_flavor_name:
241       hidden: false
242       immutable: false
243       type: string
244       description: Flavor to use for creating SSC VM instance
245       default: gv.c8r16d160
246       constraints: [
247         ]
248     mgmt_net_id:
249       hidden: false
250       immutable: false
251       type: string
252       description: Management network ID
253       constraints: [
254         ]
255     ssc_json_radius_secret:
256       hidden: false
257       immutable: false
258       type: string
259       description: Shared secret to use for the RADIUS Server
260     rtp_msc_a_names:
261       hidden: false
262       immutable: false
263       type: list
264       description: List of names of VM A of RTP MSC
265       entry_schema:
266         type: string
267     shared_int_ha_net_id:
268       hidden: false
269       immutable: false
270       type: string
271       description: HA network id
272       constraints: [
273         ]
274     ssc_vnfcname_0:
275       hidden: false
276       immutable: false
277       type: string
278       description: Name of vnfc of SSC. This is the name associated with the perimeta pair and corresponds to the VIP
279       constraints:
280       - pattern: '[a-zA-Z0-9][a-zA-Z0-9-]{0,31}$'
281     rtp_msc_trusted_vips:
282       hidden: false
283       immutable: false
284       type: list
285       description: List of virtual IPv4 addresses on Trusted/core network for RTP MSC.
286       entry_schema:
287         type: string
288     rtp_msc_json_radius_port:
289       hidden: false
290       immutable: false
291       type: float
292       description: Port to use to connect to RADIUS server
293       constraints:
294       - in_range:
295         - 0
296         - 65535
297     vf_module_id:
298       hidden: false
299       immutable: false
300       type: string
301       description: Unique ID for this VF Module instance
302     ssc_json_radius_port:
303       hidden: false
304       immutable: false
305       type: float
306       description: Port to use to connect to RADIUS server
307       constraints:
308       - in_range:
309         - 0
310         - 65535
311     rtp_msc_b_untrusted_v6_ips:
312       hidden: false
313       immutable: false
314       type: list
315       description: List of fixed IPv6 addresses on Untrusted/access network for RTP MSC B.
316       entry_schema:
317         type: string
318     rtp_msc_b_mgmt_ips:
319       hidden: false
320       immutable: false
321       type: list
322       description: List of management fixed IP addresses to use for RTP MSC B.
323       entry_schema:
324         type: string
325     ssc_a_int_ha_ip_0:
326       hidden: false
327       immutable: false
328       type: string
329       description: HA fixed IP address to use for SSC A.
330     ssc_b_mgmt_ip_0:
331       hidden: false
332       immutable: false
333       type: string
334       description: Management fixed IP address to use for SSC B.
335     vnf_name:
336       hidden: false
337       immutable: false
338       type: string
339       description: Unique name for this VNF instance
340     rtp_msc_flavor_name:
341       hidden: false
342       immutable: false
343       type: string
344       description: Flavor to use for creating RTP MSC VM instance
345       default: gv.c8r16d160
346       constraints: [
347         ]
348     perimeta_int_ha_net_prefix_v4:
349       hidden: false
350       immutable: false
351       type: string
352       description: IPv4 subnet prefix for internal HA network
353       default: 172.26.1.4
354     rtp_msc_b_names:
355       hidden: false
356       immutable: false
357       type: list
358       description: List of names of VM B of RTP MSC
359       entry_schema:
360         type: string
361     rtp_msc_b_untrusted_ips:
362       hidden: false
363       immutable: false
364       type: list
365       description: List of fixed IPv4 addresses on Untrusted/access network for RTP MSC B.
366       entry_schema:
367         type: string
368     perimeta_ssh_key:
369       hidden: false
370       immutable: false
371       type: string
372       description: SSH public key
373       default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXvSadEWp+nsz3gEAAAAAAAAAAbggQ3t06mqFIauHfUYMiKZ3EUX3jDFf/uGQoNsIZU6SNE/gl3tY4fFvO8Yzj8OY/vstHHvEadbY5aXNE6kd39ik20uRNbeZLT+pRllBwVKBSVnFqG3kBDvNWmBIenlPZzu3Ay0LYT/aDq6fZaz8Mqy8hzhpAAAAAAAAAAEmS/ESYY4UMs/aF2fVGmCLqudSjLpSsyD8lXag2dmeiT7cTdwRkgtDNTULXCPVucolVZwZF9BxXPNK++B+fL/ZY4MrXHXgZYGEElrMCFYkQFb3jQv3XQtxZ6gVByrzgGc9eiU7tkCgY2cVfb22iIs9n Generated-by-Nova
374     rtp_msc_a_index:
375       hidden: false
376       immutable: false
377       type: float
378       description: Index of RTP MSC to instantiate / heal.
379       constraints:
380       - in_range:
381         - 0
382         - 19
383     rtp_msc_json_v41:
384       hidden: false
385       immutable: false
386       type: string
387       description: Json prefix, used to ensure that the json tags will be recognised by the server loading them
388       default: ' '
389       constraints:
390       - valid_values:
391         - ' '
392         - '// older perimeta, parameter not required '
393     shared_perimeta_rtp_msc_server_groups:
394       hidden: false
395       immutable: false
396       type: list
397       description: Server group to use for these VMs
398       entry_schema:
399         type: string
400     rtp_msc_a_json_prefix:
401       hidden: false
402       immutable: false
403       type: string
404       description: Json prefix, used to create the correct json file depending on the operation being performed
405       default: ' '
406       constraints:
407       - valid_values:
408         - ' '
409         - '// healing, not required '
410     ssc_b_int_ha_ip_0:
411       hidden: false
412       immutable: false
413       type: string
414       description: HA fixed IP address to use for SSC B.
415     rtp_msc_b_vnfcnames:
416       hidden: false
417       immutable: false
418       type: list
419       description: List of vnfc names of VM B of RTP MSC
420       entry_schema:
421         type: string
422     ssc_a_trusted_ip_0:
423       hidden: false
424       immutable: false
425       type: string
426       description: Fixed IPv4 address on Trusted/core network for SSC A.
427     vnf_id:
428       hidden: false
429       immutable: false
430       type: string
431       description: ID of VNF
432     availability_zone_0:
433       hidden: false
434       immutable: false
435       type: string
436       description: Availability zone for A instances.
437     availability_zone_1:
438       hidden: false
439       immutable: false
440       type: string
441       description: Availability zone for B instances.
442     perimeta_int_ha_net_prefix_len_v4:
443       hidden: false
444       immutable: false
445       type: float
446       description: Prefix length of subnet associated with internal HA network
447       default: 26
448       constraints:
449       - in_range:
450         - 0
451         - 31
452     ssc_a_untrusted_v6_ip_0:
453       hidden: false
454       immutable: false
455       type: string
456       description: Fixed IPv6 address on Untrusted/access network for SSC A.
457     rtp_msc_untrusted_parent_vips:
458       hidden: false
459       immutable: false
460       type: list
461       description: List of virtual IPv4 addresses on Untrusted/access parent network for RTP MSC.
462       entry_schema:
463         type: string
464     shared_int_ha_net_prefix_len_v4:
465       hidden: false
466       immutable: false
467       type: float
468       description: Prefix length of subnet associated with internal HA network
469       constraints:
470       - in_range:
471         - 0
472         - 31
473     ssc_rf_vip_0:
474       hidden: false
475       immutable: false
476       type: string
477       description: RF virtual IP address to use for SSC.
478     rtp_msc_a_int_ha_ips:
479       hidden: false
480       immutable: false
481       type: list
482       description: List of HA fixed IP addresses to use for RTP MSC A.
483       entry_schema:
484         type: string
485     shared_perimeta_keypair:
486       hidden: false
487       immutable: false
488       type: string
489       description: Keypair to use for accessing this Perimeta instance
490     shared_int_untrusted_parent_net_id:
491       hidden: false
492       immutable: false
493       type: string
494       description: untrusted parent network id
495     ssc_a_vnfcname_0:
496       hidden: false
497       immutable: false
498       type: string
499       description: vnfc name of VM A of SSC
500       constraints:
501       - pattern: '[a-zA-Z0-9][a-zA-Z0-9-]{0,31}$'
502     rtp_msc_json_radius_secret:
503       hidden: false
504       immutable: false
505       type: string
506       description: Shared secret to use for the RADIUS Server
507     rtp_msc_b_trusted_ips:
508       hidden: false
509       immutable: false
510       type: list
511       description: List of fixed IPv4 addresses on Trusted/core network for RTP MSC B.
512       entry_schema:
513         type: string
514     rtp_msc_a_trusted_ips:
515       hidden: false
516       immutable: false
517       type: list
518       description: List of fixed IPv4 addresses on Trusted/core network for RTP MSC A.
519       entry_schema:
520         type: string
521     rtp_msc_image_name:
522       hidden: false
523       immutable: false
524       type: string
525       description: Glance image to use for launching RTP MSC Perimeta instances.
526       default: ISBC_SBC_v4.0.40_SU12.qcow2
527       constraints: [
528         ]
529     ssc_a_mgmt_ip_0:
530       hidden: false
531       immutable: false
532       type: string
533       description: Management fixed IP address to use for SSC A.
534     ssc_untrusted_parent_vip_0:
535       hidden: false
536       immutable: false
537       type: string
538       description: Virtual IPv4 address on Untrusted/access parent network for SSC.
539     rtp_msc_b_int_ha_ips:
540       hidden: false
541       immutable: false
542       type: list
543       description: List of HA fixed IP addresses to use for RTP MSC B.
544       entry_schema:
545         type: string
546     ssc_untrusted_v6_vip_0:
547       hidden: false
548       immutable: false
549       type: string
550       description: Virtual IPv6 address on Untrusted/access network for SSC.
551     rtp_msc_a_mgmt_ips:
552       hidden: false
553       immutable: false
554       type: list
555       description: List of management fixed IP addresses to use for RTP MSC A.
556       entry_schema:
557         type: string
558     rtp_msc_a_untrusted_ips:
559       hidden: false
560       immutable: false
561       type: list
562       description: List of fixed IPv4 addresses on Untrusted/access network for RTP MSC A.
563       entry_schema:
564         type: string
565     ssc_a_rf_ip_0:
566       hidden: false
567       immutable: false
568       type: string
569       description: RF fixed IP address to use for SSC A.
570     ssc_json_use_radius_authentication:
571       hidden: false
572       immutable: false
573       type: string
574       description: Json prefix, used to indicate if user account authentication is done externally through Radius
575       constraints:
576       - valid_values:
577         - ' '
578         - '// not using Radius '
579     ssc_a_untrusted_parent_ip_0:
580       hidden: false
581       immutable: false
582       type: string
583       description: Fixed IPv4 address on Untrusted/access parent network for SSC A.
584     perimeta_untrusted_vlan_networks:
585       hidden: false
586       immutable: false
587       type: list
588       description: List of Contrail VLAN networks to use on the untrusted/access network.   The order and number of these must match the VLAN ID list.
589       entry_schema:
590         type: string
591     ssc_a_untrusted_ip_0:
592       hidden: false
593       immutable: false
594       type: string
595       description: Fixed IPv4 address on Untrusted/access network for SSC A.
596     rtp_msc_a_untrusted_v6_ips:
597       hidden: false
598       immutable: false
599       type: list
600       description: List of fixed IPv6 addresses on Untrusted/access network for RTP MSC A.
601       entry_schema:
602         type: string
603     mgmt_net_default_gateway:
604       hidden: false
605       immutable: false
606       type: string
607       description: Default gateway for management network
608     rtp_msc_json_radius_timeout:
609       hidden: false
610       immutable: false
611       type: float
612       description: Timeout for connect requests to RADIUS server
613       constraints:
614       - in_range:
615         - 1
616         - 60
617     ssc_b_vnfcname_0:
618       hidden: false
619       immutable: false
620       type: string
621       description: vnfc name of VM B of SSC
622       constraints:
623       - pattern: '[a-zA-Z0-9][a-zA-Z0-9-]{0,31}$'
624     ssc_json_v41:
625       hidden: false
626       immutable: false
627       type: string
628       description: Json prefix, used to ensure that the json tags will be recognised by the server loading them
629       default: ' '
630       constraints:
631       - valid_values:
632         - ' '
633         - '// older perimeta, parameter not required '
634     ssc_json_radius_default:
635       hidden: false
636       immutable: false
637       type: string
638       description: Default authentication level for RADIUS users
639       constraints:
640       - valid_values:
641         - no-access
642         - read-only
643         - support
644         - restricted-admin
645         - admin
646     shared_perimeta_sec_groups:
647       hidden: false
648       immutable: false
649       type: list
650       description: List of security groups to add on all interfaces.
651       entry_schema:
652         type: string
653   node_templates:
654     perimeta_rtp_msc_a:
655       type: org.openecomp.resource.abstract.nodes.heat.module_2_perimeta_sw_a_child
656       directives:
657       - substitutable
658       properties:
659         vf_module_id:
660           get_input: vf_module_id
661         int_ha_network_plen:
662           get_input: shared_int_ha_net_prefix_len_v4
663         perimeta_config:
664           str_replace:
665             template:
666               get_artifact:
667               - SELF
668               - rtp_msc_a_template
669             params:
670               $RADIUS_SERVERNAME:
671                 get_input: rtp_msc_json_radius_servername
672               $REMOTE_MGMT_IP_ADDR:
673                 get_input:
674                 - rtp_msc_b_mgmt_ips
675                 - get_input: rtp_msc_a_index
676               $VIRT_MGMT_IP_ADDR:
677                 get_input:
678                 - rtp_msc_mgmt_vips
679                 - get_input: rtp_msc_a_index
680               $LOCAL_MGMT_IP_ADDR:
681                 get_input:
682                 - rtp_msc_a_mgmt_ips
683                 - get_input: rtp_msc_a_index
684               $MGMT_NETWORK_DEFAULT_GATEWAY:
685                 get_input: mgmt_net_default_gateway
686               $RADIUS_DEFAULT:
687                 get_input: rtp_msc_json_radius_default
688               $COMPLETION_PARAMS: ''
689               $RADIUS_PORT:
690                 get_input: rtp_msc_json_radius_port
691               $NTP_SERVER_IP_ADDRS:
692                 get_input: ntp_server_ip_addrs
693               $HEALING_OR_INSTANTIATION:
694                 get_input: rtp_msc_a_json_prefix
695               $RADIUS_SECRET:
696                 get_input: rtp_msc_json_radius_secret
697               $RADIUS_TIMEOUT:
698                 get_input: rtp_msc_json_radius_timeout
699               $41ORABOVE:
700                 get_input: rtp_msc_json_v41
701               $SYSTEM_NAME:
702                 get_input:
703                 - rtp_msc_vnfcnames
704                 - get_input: rtp_msc_a_index
705               $USERADIUSAUTH:
706                 get_input: rtp_msc_json_use_radius_authentication
707               $MGMT_NETWORK_PLEN:
708                 get_input: mgmt_net_plen
709               $VM_NAME_A:
710                 get_input:
711                 - rtp_msc_a_vnfcnames
712                 - get_input: rtp_msc_a_index
713               $VM_NAME_B:
714                 get_input:
715                 - rtp_msc_b_vnfcnames
716                 - get_input: rtp_msc_a_index
717         vnf_name:
718           get_input: vnf_name
719         perimeta_untrusted_vlan_ids:
720           get_input: perimeta_untrusted_vlan_ids
721         int_ha_net_id:
722           get_input: shared_int_ha_net_id
723         perimeta_instance_index:
724           get_input: rtp_msc_a_index
725         service_template_filter:
726           substitute_service_template: module_2_perimeta_sw_a_childServiceTemplate.yaml
727         perimeta_keypair:
728           get_input: shared_perimeta_keypair
729         perimeta_server_groups:
730           get_input: shared_perimeta_rtp_msc_server_groups
731         vnf_id:
732           get_input: vnf_id
733         availability_zone_0:
734           get_input: availability_zone_0
735         rtp_msc_mgmt_vips:
736           get_input: rtp_msc_mgmt_vips
737         perimeta_sec_groups:
738           get_input: shared_perimeta_sec_groups
739         rtp_msc_untrusted_parent_vips:
740           get_input: rtp_msc_untrusted_parent_vips
741         perimeta_untrusted_num_vlans:
742           get_input: perimeta_untrusted_num_vlans
743         rtp_msc_a_int_ha_ips:
744           get_input: rtp_msc_a_int_ha_ips
745         rtp_msc_a_untrusted_parent_ips:
746           get_input: rtp_msc_a_untrusted_parent_ips
747         rtp_msc_a_trusted_ips:
748           get_input: rtp_msc_a_trusted_ips
749         rtp_msc_untrusted_vips:
750           get_input: rtp_msc_untrusted_vips
751         trusted_net_id:
752           get_input: trusted_net_id
753         rtp_msc_b_int_ha_ips:
754           get_input: rtp_msc_b_int_ha_ips
755         rtp_msc_a_mgmt_ips:
756           get_input: rtp_msc_a_mgmt_ips
757         rtp_msc_a_untrusted_ips:
758           get_input: rtp_msc_a_untrusted_ips
759         vm_role: msc
760         rtp_msc_untrusted_v6_vips:
761           get_input: rtp_msc_untrusted_v6_vips
762         perimeta_untrusted_vlan_networks:
763           get_input: perimeta_untrusted_vlan_networks
764         rtp_msc_a_untrusted_v6_ips:
765           get_input: rtp_msc_a_untrusted_v6_ips
766         perimeta_image_name:
767           get_input: rtp_msc_image_name
768         mgmt_net_id:
769           get_input: mgmt_net_id
770         int_untrusted_parent_net_id:
771           get_input: shared_int_untrusted_parent_net_id
772         rtp_msc_a_names:
773           get_input: rtp_msc_a_names
774         perimeta_flavor_name:
775           get_input: rtp_msc_flavor_name
776         rtp_msc_trusted_vips:
777           get_input: rtp_msc_trusted_vips
778       requirements:
779       - link_perimeta_rtp_msc_a_ha_0_port:
780           capability: tosca.capabilities.network.Linkable
781           node: shared_perimeta_internal_ha_net_0
782           relationship: tosca.relationships.network.LinksTo
783       - link_perimeta_rtp_msc_a_untrusted_parent_0_port:
784           capability: tosca.capabilities.network.Linkable
785           node: shared_perimeta_int_untrusted_parent_net_0
786           relationship: tosca.relationships.network.LinksTo
787       artifacts:
788         rtp_msc_a_template:
789           type: tosca.artifacts.Deployment
790           file: ../Artifacts/rtp_msc_a_template.json
791     shared_perimeta_internal_ha_net_0:
792       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
793       properties:
794         network_ipam_refs_data:
795         - network_ipam_refs_data_ipam_subnets:
796           - network_ipam_refs_data_ipam_subnets_enable_dhcp: false
797             network_ipam_refs_data_ipam_subnets_subnet:
798               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
799                 get_input: perimeta_int_ha_net_prefix_len_v4
800               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
801                 get_input: perimeta_int_ha_net_prefix_v4
802         network_name:
803           str_replace:
804             template: $VF_NAME_int_ha_net_0
805             params:
806               $VF_NAME:
807                 get_input: vnf_name
808         network_ipam_refs:
809         - UNSUPPORTED_RESOURCE_perimeta_internal_ha_ipam_net_0
810     perimeta_rtp_msc_b:
811       type: org.openecomp.resource.abstract.nodes.heat.module_2_perimeta_sw_b_child
812       directives:
813       - substitutable
814       properties:
815         vf_module_id:
816           get_input: vf_module_id
817         int_ha_network_plen:
818           get_input: shared_int_ha_net_prefix_len_v4
819         rtp_msc_b_untrusted_v6_ips:
820           get_input: rtp_msc_b_untrusted_v6_ips
821         rtp_msc_b_mgmt_ips:
822           get_input: rtp_msc_b_mgmt_ips
823         vnf_name:
824           get_input: vnf_name
825         perimeta_untrusted_vlan_ids:
826           get_input: perimeta_untrusted_vlan_ids
827         rtp_msc_b_names:
828           get_input: rtp_msc_b_names
829         rtp_msc_b_untrusted_ips:
830           get_input: rtp_msc_b_untrusted_ips
831         int_ha_net_id:
832           get_input: shared_int_ha_net_id
833         perimeta_instance_index:
834           get_input: rtp_msc_b_index
835         service_template_filter:
836           substitute_service_template: module_2_perimeta_sw_b_childServiceTemplate.yaml
837         perimeta_keypair:
838           get_input: shared_perimeta_keypair
839         perimeta_server_groups:
840           get_input: shared_perimeta_rtp_msc_server_groups
841         vnf_id:
842           get_input: vnf_id
843         availability_zone_1:
844           get_input: availability_zone_1
845         rtp_msc_mgmt_vips:
846           get_input: rtp_msc_mgmt_vips
847         perimeta_sec_groups:
848           get_input: shared_perimeta_sec_groups
849         rtp_msc_untrusted_parent_vips:
850           get_input: rtp_msc_untrusted_parent_vips
851         perimeta_untrusted_num_vlans:
852           get_input: perimeta_untrusted_num_vlans
853         rtp_msc_a_int_ha_ips:
854           get_input: rtp_msc_a_int_ha_ips
855         rtp_msc_b_trusted_ips:
856           get_input: rtp_msc_b_trusted_ips
857         rtp_msc_untrusted_vips:
858           get_input: rtp_msc_untrusted_vips
859         trusted_net_id:
860           get_input: trusted_net_id
861         rtp_msc_b_int_ha_ips:
862           get_input: rtp_msc_b_int_ha_ips
863         vm_role: msc
864         rtp_msc_untrusted_v6_vips:
865           get_input: rtp_msc_untrusted_v6_vips
866         perimeta_untrusted_vlan_networks:
867           get_input: perimeta_untrusted_vlan_networks
868         perimeta_image_name:
869           get_input: rtp_msc_image_name
870         rtp_msc_b_untrusted_parent_ips:
871           get_input: rtp_msc_b_untrusted_parent_ips
872         mgmt_net_id:
873           get_input: mgmt_net_id
874         int_untrusted_parent_net_id:
875           get_input: shared_int_untrusted_parent_net_id
876         perimeta_flavor_name:
877           get_input: rtp_msc_flavor_name
878         rtp_msc_trusted_vips:
879           get_input: rtp_msc_trusted_vips
880       requirements:
881       - link_perimeta_rtp_msc_b_ha_0_port:
882           capability: tosca.capabilities.network.Linkable
883           node: shared_perimeta_internal_ha_net_0
884           relationship: tosca.relationships.network.LinksTo
885       - link_perimeta_rtp_msc_b_untrusted_parent_0_port:
886           capability: tosca.capabilities.network.Linkable
887           node: shared_perimeta_int_untrusted_parent_net_0
888           relationship: tosca.relationships.network.LinksTo
889     perimeta_ssc_a:
890       type: org.openecomp.resource.abstract.nodes.heat.module_1_perimeta_swmu_a_child
891       directives:
892       - substitutable
893       properties:
894         vf_module_id:
895           get_input: vf_module_id
896         ssc_a_name_0:
897           get_input: ssc_a_name_0
898         int_ha_network_plen:
899           get_input: shared_int_ha_net_prefix_len_v4
900         perimeta_server_group:
901           get_input: shared_perimeta_ssc_server_group
902         unused_port_net_id:
903           get_input: shared_ssc_unused_net_id
904         perimeta_config:
905           str_replace:
906             template:
907               get_artifact:
908               - SELF
909               - ssc_a_template
910             params:
911               $RADIUS_SERVERNAME:
912                 get_input: ssc_json_radius_servername
913               $REMOTE_MGMT_IP_ADDR:
914                 get_input: ssc_b_mgmt_ip_0
915               $VIRT_MGMT_IP_ADDR:
916                 get_input: ssc_mgmt_vip_0
917               $LOCAL_MGMT_IP_ADDR:
918                 get_input: ssc_a_mgmt_ip_0
919               $MGMT_NETWORK_DEFAULT_GATEWAY:
920                 get_input: mgmt_net_default_gateway
921               $RADIUS_DEFAULT:
922                 get_input: ssc_json_radius_default
923               $COMPLETION_PARAMS: ''
924               $RADIUS_PORT:
925                 get_input: ssc_json_radius_port
926               $NTP_SERVER_IP_ADDRS:
927                 get_input: ntp_server_ip_addrs
928               $HEALING_OR_INSTANTIATION:
929                 get_input: ssc_a_json_prefix
930               $RADIUS_SECRET:
931                 get_input: ssc_json_radius_secret
932               $RADIUS_TIMEOUT:
933                 get_input: ssc_json_radius_timeout
934               $41ORABOVE:
935                 get_input: ssc_json_v41
936               $SYSTEM_NAME:
937                 get_input: ssc_vnfcname_0
938               $USERADIUSAUTH:
939                 get_input: ssc_json_use_radius_authentication
940               $MGMT_NETWORK_PLEN:
941                 get_input: mgmt_net_plen
942               $VM_NAME_A:
943                 get_input: ssc_a_vnfcname_0
944               $VM_NAME_B:
945                 get_input: ssc_b_vnfcname_0
946         ssc_a_int_ha_ip_0:
947           get_input: ssc_a_int_ha_ip_0
948         vnf_name:
949           get_input: vnf_name
950         perimeta_untrusted_vlan_ids:
951           get_input: perimeta_untrusted_vlan_ids
952         int_ha_net_id:
953           get_input: shared_int_ha_net_id
954         ssc_b_int_ha_ip_0:
955           get_input: ssc_b_int_ha_ip_0
956         ssc_mgmt_vip_0:
957           get_input: ssc_mgmt_vip_0
958         service_template_filter:
959           substitute_service_template: module_1_perimeta_swmu_a_childServiceTemplate.yaml
960         ssc_a_trusted_ip_0:
961           get_input: ssc_a_trusted_ip_0
962         perimeta_keypair:
963           get_input: shared_perimeta_keypair
964         vnf_id:
965           get_input: vnf_id
966         availability_zone_0:
967           get_input: availability_zone_0
968         ssc_trusted_vip_0:
969           get_input: ssc_trusted_vip_0
970         ssc_untrusted_vip_0:
971           get_input: ssc_untrusted_vip_0
972         perimeta_sec_groups:
973           get_input: shared_perimeta_sec_groups
974         ssc_a_untrusted_v6_ip_0:
975           get_input: ssc_a_untrusted_v6_ip_0
976         perimeta_untrusted_num_vlans:
977           get_input: perimeta_untrusted_num_vlans
978         ssc_rf_vip_0:
979           get_input: ssc_rf_vip_0
980         ssc_a_mgmt_ip_0:
981           get_input: ssc_a_mgmt_ip_0
982         trusted_net_id:
983           get_input: trusted_net_id
984         ssc_untrusted_parent_vip_0:
985           get_input: ssc_untrusted_parent_vip_0
986         ssc_untrusted_v6_vip_0:
987           get_input: ssc_untrusted_v6_vip_0
988         ssc_a_rf_ip_0:
989           get_input: ssc_a_rf_ip_0
990         vm_role: ssc
991         ssc_a_untrusted_parent_ip_0:
992           get_input: ssc_a_untrusted_parent_ip_0
993         perimeta_untrusted_vlan_networks:
994           get_input: perimeta_untrusted_vlan_networks
995         ssc_a_untrusted_ip_0:
996           get_input: ssc_a_untrusted_ip_0
997         perimeta_image_name:
998           get_input: ssc_image_name
999         mgmt_net_id:
1000           get_input: mgmt_net_id
1001         int_untrusted_parent_net_id:
1002           get_input: shared_int_untrusted_parent_net_id
1003         perimeta_flavor_name:
1004           get_input: ssc_flavor_name
1005       requirements:
1006       - link_perimeta_ssc_a_ha_0_port:
1007           capability: tosca.capabilities.network.Linkable
1008           node: shared_perimeta_internal_ha_net_0
1009           relationship: tosca.relationships.network.LinksTo
1010       - link_perimeta_ssc_a_untrusted_parent_0_port:
1011           capability: tosca.capabilities.network.Linkable
1012           node: shared_perimeta_int_untrusted_parent_net_0
1013           relationship: tosca.relationships.network.LinksTo
1014       - link_perimeta_ssc_a_unused_0_port:
1015           capability: tosca.capabilities.network.Linkable
1016           node: shared_perimeta_unused_net_0
1017           relationship: tosca.relationships.network.LinksTo
1018       artifacts:
1019         ssc_a_template:
1020           type: tosca.artifacts.Deployment
1021           file: ../Artifacts/ssc_a_template.json
1022     shared_perimeta_rsg:
1023       type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
1024       properties:
1025         name:
1026           str_replace:
1027             template: $VNF_NAME_shared_perimeta_RSG
1028             params:
1029               $VNF_NAME:
1030                 get_input: vnf_name
1031         description: Security Group for Perimeta networks
1032         rules:
1033         - protocol: tcp
1034           ethertype: IPv4
1035           remote_ip_prefix: 0.0.0.0/0
1036           port_range_max: 65535
1037           direction: egress
1038           port_range_min: 1
1039         - protocol: udp
1040           ethertype: IPv4
1041           remote_ip_prefix: 0.0.0.0/0
1042           port_range_max: 65535
1043           direction: egress
1044           port_range_min: 1
1045         - protocol: icmp
1046           ethertype: IPv4
1047           remote_ip_prefix: 0.0.0.0/0
1048           direction: egress
1049         - protocol: icmp
1050           ethertype: IPv6
1051           remote_ip_prefix: ::/0
1052           direction: egress
1053         - protocol: tcp
1054           ethertype: IPv6
1055           remote_ip_prefix: ::/0
1056           port_range_max: 65535
1057           direction: egress
1058           port_range_min: 1
1059         - protocol: udp
1060           ethertype: IPv6
1061           remote_ip_prefix: ::/0
1062           port_range_max: 65535
1063           direction: egress
1064           port_range_min: 1
1065         - protocol: tcp
1066           ethertype: IPv4
1067           remote_ip_prefix: 0.0.0.0/0
1068           port_range_max: 65535
1069           direction: ingress
1070           port_range_min: 1
1071         - protocol: udp
1072           ethertype: IPv4
1073           remote_ip_prefix: 0.0.0.0/0
1074           port_range_max: 65535
1075           direction: ingress
1076           port_range_min: 1
1077         - protocol: icmp
1078           ethertype: IPv4
1079           remote_ip_prefix: 0.0.0.0/0
1080           direction: ingress
1081         - protocol: icmp
1082           ethertype: IPv6
1083           remote_ip_prefix: ::/0
1084           direction: ingress
1085         - protocol: tcp
1086           ethertype: IPv6
1087           remote_ip_prefix: ::/0
1088           port_range_max: 65535
1089           direction: ingress
1090           port_range_min: 1
1091         - protocol: udp
1092           ethertype: IPv6
1093           remote_ip_prefix: ::/0
1094           port_range_max: 65535
1095           direction: ingress
1096           port_range_min: 1
1097     shared_perimeta_unused_net_0:
1098       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1099       properties:
1100         dhcp_enabled: false
1101         ip_version: 4
1102         network_name:
1103           str_replace:
1104             template: $VF_NAME_int_unused_net
1105             params:
1106               $VF_NAME:
1107                 get_input: vnf_name
1108         subnets:
1109           shared_perimeta_unused_net_0_subnet:
1110             enable_dhcp: false
1111             ip_version: 4
1112             cidr: 10.0.0.0/29
1113             gateway_ip: ''
1114       requirements:
1115       - dependency:
1116           capability: tosca.capabilities.Node
1117           node: shared_perimeta_unused_net_0
1118           relationship: tosca.relationships.DependsOn
1119     perimeta_ssc_b:
1120       type: org.openecomp.resource.abstract.nodes.heat.module_1_perimeta_swmu_b_child
1121       directives:
1122       - substitutable
1123       properties:
1124         vf_module_id:
1125           get_input: vf_module_id
1126         int_ha_network_plen:
1127           get_input: shared_int_ha_net_prefix_len_v4
1128         perimeta_server_group:
1129           get_input: shared_perimeta_ssc_server_group
1130         unused_port_net_id:
1131           get_input: shared_ssc_unused_net_id
1132         ssc_b_name_0:
1133           get_input: ssc_b_name_0
1134         ssc_a_int_ha_ip_0:
1135           get_input: ssc_a_int_ha_ip_0
1136         ssc_b_untrusted_ip_0:
1137           get_input: ssc_b_untrusted_ip_0
1138         ssc_b_mgmt_ip_0:
1139           get_input: ssc_b_mgmt_ip_0
1140         ssc_b_untrusted_parent_ip_0:
1141           get_input: ssc_b_untrusted_parent_ip_0
1142         vnf_name:
1143           get_input: vnf_name
1144         perimeta_untrusted_vlan_ids:
1145           get_input: perimeta_untrusted_vlan_ids
1146         int_ha_net_id:
1147           get_input: shared_int_ha_net_id
1148         ssc_b_int_ha_ip_0:
1149           get_input: ssc_b_int_ha_ip_0
1150         ssc_mgmt_vip_0:
1151           get_input: ssc_mgmt_vip_0
1152         service_template_filter:
1153           substitute_service_template: module_1_perimeta_swmu_b_childServiceTemplate.yaml
1154         perimeta_keypair:
1155           get_input: shared_perimeta_keypair
1156         vnf_id:
1157           get_input: vnf_id
1158         availability_zone_1:
1159           get_input: availability_zone_1
1160         ssc_trusted_vip_0:
1161           get_input: ssc_trusted_vip_0
1162         ssc_untrusted_vip_0:
1163           get_input: ssc_untrusted_vip_0
1164         perimeta_sec_groups:
1165           get_input: shared_perimeta_sec_groups
1166         perimeta_untrusted_num_vlans:
1167           get_input: perimeta_untrusted_num_vlans
1168         ssc_rf_vip_0:
1169           get_input: ssc_rf_vip_0
1170         ssc_b_trusted_ip_0:
1171           get_input: ssc_b_trusted_ip_0
1172         trusted_net_id:
1173           get_input: trusted_net_id
1174         ssc_untrusted_parent_vip_0:
1175           get_input: ssc_untrusted_parent_vip_0
1176         ssc_untrusted_v6_vip_0:
1177           get_input: ssc_untrusted_v6_vip_0
1178         ssc_b_untrusted_v6_ip_0:
1179           get_input: ssc_b_untrusted_v6_ip_0
1180         vm_role: ssc
1181         perimeta_untrusted_vlan_networks:
1182           get_input: perimeta_untrusted_vlan_networks
1183         perimeta_image_name:
1184           get_input: ssc_image_name
1185         ssc_b_rf_ip_0:
1186           get_input: ssc_b_rf_ip_0
1187         mgmt_net_id:
1188           get_input: mgmt_net_id
1189         int_untrusted_parent_net_id:
1190           get_input: shared_int_untrusted_parent_net_id
1191         perimeta_flavor_name:
1192           get_input: ssc_flavor_name
1193       requirements:
1194       - link_perimeta_ssc_b_untrusted_parent_0_port:
1195           capability: tosca.capabilities.network.Linkable
1196           node: shared_perimeta_int_untrusted_parent_net_0
1197           relationship: tosca.relationships.network.LinksTo
1198       - link_perimeta_ssc_b_unused_0_port:
1199           capability: tosca.capabilities.network.Linkable
1200           node: shared_perimeta_unused_net_0
1201           relationship: tosca.relationships.network.LinksTo
1202       - link_perimeta_ssc_b_ha_0_port:
1203           capability: tosca.capabilities.network.Linkable
1204           node: shared_perimeta_internal_ha_net_0
1205           relationship: tosca.relationships.network.LinksTo
1206     shared_perimeta_int_untrusted_parent_net_0:
1207       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1208       properties:
1209         dhcp_enabled: false
1210         ip_version: 4
1211         network_name:
1212           str_replace:
1213             template: $VF_NAME_int_untrusted_parent_net
1214             params:
1215               $VF_NAME:
1216                 get_input: vnf_name
1217         subnets:
1218           shared_perimeta_int_untrusted_parent_net_0_subnet:
1219             enable_dhcp: false
1220             ip_version: 4
1221             cidr: 11.0.0.0/24
1222             gateway_ip: ''
1223       requirements:
1224       - dependency:
1225           capability: tosca.capabilities.Node
1226           node: shared_perimeta_int_untrusted_parent_net_0
1227           relationship: tosca.relationships.DependsOn
1228   groups:
1229     base_perimeta_deployment_create_group:
1230       type: org.openecomp.groups.heat.HeatStack
1231       properties:
1232         heat_file: ../Artifacts/base_perimeta_deployment_create.yaml
1233         description: |
1234           HOT template to instantiate base shared resources for a Perimeta deployment
1235       members:
1236       - shared_perimeta_internal_ha_net_0
1237       - shared_perimeta_rsg
1238       - shared_perimeta_unused_net_0
1239       - shared_perimeta_int_untrusted_parent_net_0
1240     module_2_perimeta_rtp_msc_a_group:
1241       type: org.openecomp.groups.heat.HeatStack
1242       properties:
1243         heat_file: ../Artifacts/module_2_perimeta_rtp_msc_a.yaml
1244         description: |
1245           HOT template to instantiate an A side Perimeta RTP MSC and optionally partner it with the corresponding B side
1246       members:
1247       - perimeta_rtp_msc_a
1248     module_1_perimeta_ssc_b_group:
1249       type: org.openecomp.groups.heat.HeatStack
1250       properties:
1251         heat_file: ../Artifacts/module_1_perimeta_ssc_b.yaml
1252         description: "HOT template to instantiate an B side Perimeta SSC \n"
1253       members:
1254       - perimeta_ssc_b
1255     shared_perimeta_ssc_server_gp_group:
1256       type: tosca.groups.Root
1257       members: [
1258         ]
1259     module_2_perimeta_rtp_msc_b_group:
1260       type: org.openecomp.groups.heat.HeatStack
1261       properties:
1262         heat_file: ../Artifacts/module_2_perimeta_rtp_msc_b.yaml
1263         description: "HOT template to instantiate an B side Perimeta RTP MSC \n"
1264       members:
1265       - perimeta_rtp_msc_b
1266     module_1_perimeta_ssc_a_group:
1267       type: org.openecomp.groups.heat.HeatStack
1268       properties:
1269         heat_file: ../Artifacts/module_1_perimeta_ssc_a.yaml
1270         description: |
1271           HOT template to instantiate an A side Perimeta SSC and optionally partner it with the corresponding B side
1272       members:
1273       - perimeta_ssc_a
1274   outputs:
1275     shared_int_ha_net_prefix_len_v4:
1276       description: HA internal network IPv4 prefix length
1277       value:
1278         get_input: perimeta_int_ha_net_prefix_len_v4
1279     shared_perimeta_keypair:
1280       description: SSH keypair for deployment
1281       value: UNSUPPORTED_RESOURCE_shared_perimeta_keypair
1282     shared_perimeta_rtp_msc_server_groups:
1283       description: Perimeta RTP MSC Server groups
1284       value:
1285         list_join:
1286         - ','
1287         - get_attr:
1288           - shared_perimeta_rtp_msc_server_gps
1289           - refs
1290   policies:
1291     shared_perimeta_ssc_server_gp_policy:
1292       type: org.openecomp.policies.placement.Antilocate
1293       properties:
1294         name:
1295           str_replace:
1296             template: $VNF_NAME_shared_ssc_RSG_name_0
1297             params:
1298               $VNF_NAME:
1299                 get_input: vnf_name
1300         container_type: host
1301       targets:
1302       - shared_perimeta_ssc_server_gp_group