55f11b0c862c4f9fc6eb6b87e856a8abf8846cf0
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0\r
2 metadata:\r
3   template_name: nested3\r
4 imports:\r
5 - openecomp_heat_index:\r
6     file: openecomp-heat/_index.yml\r
7 - GlobalSubstitutionTypes:\r
8     file: GlobalSubstitutionTypesServiceTemplate.yaml\r
9 topology_template:\r
10   inputs:\r
11     aap_untrusted_ip_prefix:\r
12       hidden: false\r
13       immutable: false\r
14       type: string\r
15       description: ip prefix for primary vDBE VM on the VAN untrusted network\r
16     aap_sec_untrusted_ip_prefix:\r
17       hidden: false\r
18       immutable: false\r
19       type: string\r
20       description: ip prefix for secondary vDBE VM aap on the VAN untrusted network\r
21     ip_v6_address:\r
22       hidden: false\r
23       immutable: false\r
24       type: string\r
25       description: IPv6 address associated with subinterfaces\r
26     counter:\r
27       hidden: false\r
28       immutable: false\r
29       type: float\r
30       description: Index of instance among multiple instances.  Use to retrieve correct parameter for this instance when passed all parameters for all instances.\r
31     subinterfaces_name_prefix:\r
32       hidden: false\r
33       immutable: false\r
34       type: string\r
35       description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource\r
36     ip_address:\r
37       hidden: false\r
38       immutable: false\r
39       type: string\r
40       description: IPv4 address associated with subinterfaces\r
41     aap_address_mode:\r
42       hidden: false\r
43       immutable: false\r
44       type: string\r
45       description: Address mode for the vDBE cluster IP\r
46     aap_untrusted_v6_ip_prefix:\r
47       hidden: false\r
48       immutable: false\r
49       type: string\r
50       description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network\r
51     parent_interface:\r
52       hidden: false\r
53       immutable: false\r
54       type: string\r
55       description: Parent Contrail interface\r
56     vn_network_list:\r
57       hidden: false\r
58       immutable: false\r
59       type: string\r
60       description: List of Contrail VLAN networks to use for the subinterfaces.   The order and number of these must match the VLAN ID list\r
61     mac_address:\r
62       hidden: false\r
63       immutable: false\r
64       type: string\r
65       description: HW MAC address to use for subinterface\r
66     vlan_tag_list:\r
67       hidden: false\r
68       immutable: false\r
69       type: list\r
70       description: List of VLAN IDs to use for subinterfaces\r
71       entry_schema:\r
72         type: string\r
73     aap_sec_untrusted_ip_prefix_len:\r
74       hidden: false\r
75       immutable: false\r
76       type: string\r
77       description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network\r
78     vmac_address:\r
79       hidden: false\r
80       immutable: false\r
81       type: string\r
82       description: virtual MAC address to use for subinterface\r
83     aap_untrusted_v6_ip_prefix_len:\r
84       hidden: false\r
85       immutable: false\r
86       type: string\r
87       description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network\r
88     aap_untrusted_ip_prefix_len:\r
89       hidden: false\r
90       immutable: false\r
91       type: string\r
92       description: ip prefix length for the primary vDBE VM on the VAN untrusted network\r
93   node_templates:\r
94     vdbe_untr_x_subport_missing_vlan_tag:\r
95       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface\r
96       properties:\r
97         name:\r
98           str_replace:\r
99             template: $NAME_$INDEX\r
100             params:\r
101               $NAME:\r
102                 get_input: subinterfaces_name_prefix\r
103               $INDEX:\r
104                 get_input:\r
105                 - vlan_tag_list\r
106                 - get_input: counter\r
107         virtual_network_refs:\r
108         - get_input: vn_network_list\r
109         virtual_machine_interface_properties:\r
110           virtual_machine_interface_properties_sub_interface_vlan_tag_INVALID:\r
111             get_input:\r
112             - vlan_tag_list\r
113             - get_input: counter\r
114         virtual_machine_interface_allowed_address_pairs:\r
115           allowed_address_pair:\r
116           - address_mode:\r
117               get_input: aap_address_mode\r
118             ip:\r
119               ip_prefix:\r
120                 get_input: aap_untrusted_ip_prefix\r
121               ip_prefix_len:\r
122                 get_input: aap_untrusted_ip_prefix_len\r
123             mac:\r
124               get_input: vmac_address\r
125           - address_mode:\r
126               get_input: aap_address_mode\r
127             ip:\r
128               ip_prefix:\r
129                 get_input: aap_sec_untrusted_ip_prefix\r
130               ip_prefix_len:\r
131                 get_input: aap_sec_untrusted_ip_prefix_len\r
132             mac:\r
133               get_input: mac_address\r
134           - address_mode:\r
135               get_input: aap_address_mode\r
136             ip:\r
137               ip_prefix:\r
138                 get_input: aap_untrusted_v6_ip_prefix\r
139               ip_prefix_len:\r
140                 get_input: aap_untrusted_v6_ip_prefix_len\r
141             mac:\r
142               get_input: vmac_address\r
143         virtual_machine_interface_mac_addresses:\r
144         - get_input: mac_address\r
145   groups:\r
146     nested3_group:\r
147       type: org.openecomp.groups.heat.HeatStack\r
148       properties:\r
149         heat_file: ../Artifacts/nested3.yml\r
150         description: cmaui server template for vMMSC\r
151       members:\r
152       - vdbe_untr_x_subport_missing_vlan_tag\r
153   substitution_mappings:\r
154     node_type: org.openecomp.resource.abstract.nodes.heat.nested3\r
155     capabilities:\r
156       forwarder_vdbe_untr_x_subport_missing_vlan_tag:\r
157       - vdbe_untr_x_subport_missing_vlan_tag\r
158       - forwarder\r
159       network.outgoing.bytes.rate_vdbe_untr_x_subport_missing_vlan_tag:\r
160       - vdbe_untr_x_subport_missing_vlan_tag\r
161       - network.outgoing.bytes.rate\r
162       network.incoming.packets.rate_vdbe_untr_x_subport_missing_vlan_tag:\r
163       - vdbe_untr_x_subport_missing_vlan_tag\r
164       - network.incoming.packets.rate\r
165       feature_vdbe_untr_x_subport_missing_vlan_tag:\r
166       - vdbe_untr_x_subport_missing_vlan_tag\r
167       - feature\r
168       network.outpoing.packets_vdbe_untr_x_subport_missing_vlan_tag:\r
169       - vdbe_untr_x_subport_missing_vlan_tag\r
170       - network.outpoing.packets\r
171       network.outgoing.packets.rate_vdbe_untr_x_subport_missing_vlan_tag:\r
172       - vdbe_untr_x_subport_missing_vlan_tag\r
173       - network.outgoing.packets.rate\r
174       binding_vdbe_untr_x_subport_missing_vlan_tag:\r
175       - vdbe_untr_x_subport_missing_vlan_tag\r
176       - binding\r
177       network.outgoing.bytes_vdbe_untr_x_subport_missing_vlan_tag:\r
178       - vdbe_untr_x_subport_missing_vlan_tag\r
179       - network.outgoing.bytes\r
180       network.incoming.bytes.rate_vdbe_untr_x_subport_missing_vlan_tag:\r
181       - vdbe_untr_x_subport_missing_vlan_tag\r
182       - network.incoming.bytes.rate\r
183       network.incoming.packets_vdbe_untr_x_subport_missing_vlan_tag:\r
184       - vdbe_untr_x_subport_missing_vlan_tag\r
185       - network.incoming.packets\r
186       network.incoming.bytes_vdbe_untr_x_subport_missing_vlan_tag:\r
187       - vdbe_untr_x_subport_missing_vlan_tag\r
188       - network.incoming.bytes\r
189     requirements:\r
190       dependency_vdbe_untr_x_subport_missing_vlan_tag:\r
191       - vdbe_untr_x_subport_missing_vlan_tag\r
192       - dependency\r
193       binding_vdbe_untr_x_subport_missing_vlan_tag:\r
194       - vdbe_untr_x_subport_missing_vlan_tag\r
195       - binding\r
196       link_vdbe_untr_x_subport_missing_vlan_tag:\r
197       - vdbe_untr_x_subport_missing_vlan_tag\r
198       - link\r