30db51fc7d0d723f246a906a27e4c41abb0dd613
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested-no-compute
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     cmaui_names:
12       hidden: false
13       immutable: false
14       type: list
15       description: CMAUI1, CMAUI2 server names
16       entry_schema:
17         type: string
18     p1:
19       hidden: false
20       immutable: false
21       type: string
22       description: UID of OAM network
23     p2:
24       hidden: false
25       immutable: false
26       type: string
27       description: UID of OAM network
28     cmaui_image:
29       hidden: false
30       immutable: false
31       type: string
32       description: Image for CMAUI server
33     cmaui_flavor:
34       hidden: false
35       immutable: false
36       type: string
37       description: Flavor for CMAUI server
38     packet_internal_network_name:
39       hidden: false
40       immutable: false
41       type: string
42     packet_external_network_name:
43       hidden: false
44       immutable: false
45       type: string
46     security_group_name:
47       hidden: false
48       immutable: false
49       type: list
50       description: CMAUI1, CMAUI2 server names
51       entry_schema:
52         type: string
53     availability_zone_0:
54       label: availabilityzone name
55       hidden: false
56       immutable: false
57       type: string
58       description: availabilityzone name
59     cmaui_oam_ips:
60       hidden: false
61       immutable: false
62       type: string
63     net:
64       hidden: false
65       immutable: false
66       type: string
67   node_templates:
68     cmaui_port_01:
69       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
70       properties:
71         replacement_policy: AUTO
72         ip_requirements:
73         - ip_version: 4
74           ip_count_required:
75             is_required: true
76           floating_ip_count_required:
77             is_required: false
78         - ip_version: 6
79           ip_count_required:
80             is_required: false
81           floating_ip_count_required:
82             is_required: false
83         fixed_ips:
84         - ip_address:
85             get_input:
86             - cmaui_oam_ips
87             - 0
88         mac_requirements:
89           mac_count_required:
90             is_required: false
91         network: packet_internal_network_0
92       requirements:
93       - link:
94           capability: tosca.capabilities.network.Linkable
95           node: packet_internal_network_0
96           relationship: tosca.relationships.network.LinksTo
97     cmaui_port_02:
98       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
99       properties:
100         replacement_policy: AUTO
101         ip_requirements:
102         - ip_version: 4
103           ip_count_required:
104             is_required: true
105           floating_ip_count_required:
106             is_required: false
107         - ip_version: 6
108           ip_count_required:
109             is_required: false
110           floating_ip_count_required:
111             is_required: false
112         fixed_ips:
113         - ip_address:
114             get_input:
115             - cmaui_oam_ips
116             - 0
117         mac_requirements:
118           mac_count_required:
119             is_required: false
120         network: packet_external_network_0
121       requirements:
122       - link:
123           capability: tosca.capabilities.network.Linkable
124           node: packet_external_network_0
125           relationship: tosca.relationships.network.LinksTo
126     packet_internal_network_0:
127       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
128       properties:
129         network_name:
130           get_input: packet_internal_network_name
131     packet_external_network_0:
132       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
133       properties:
134         network_name:
135           get_input: packet_external_network_name
136   groups:
137     nested-no-compute_group:
138       type: org.openecomp.groups.heat.HeatStack
139       properties:
140         heat_file: ../Artifacts/nested-no-compute.yml
141         description: nested1
142       members:
143       - cmaui_port_01
144       - cmaui_port_02
145       - packet_internal_network_0
146       - packet_external_network_0
147   outputs:
148     no_compute_attr_1:
149       description: no_compute_attr_1
150       value: packet_external_network_0
151   substitution_mappings:
152     node_type: org.openecomp.resource.abstract.nodes.heat.nested-no-compute
153     capabilities:
154       feature_packet_internal_network_0:
155       - packet_internal_network_0
156       - feature
157       network.incoming.packets_cmaui_port_02:
158       - cmaui_port_02
159       - network.incoming.packets
160       network.incoming.bytes_cmaui_port_02:
161       - cmaui_port_02
162       - network.incoming.bytes
163       attachment_packet_external_network_0:
164       - packet_external_network_0
165       - attachment
166       network.outgoing.packets.rate_cmaui_port_01:
167       - cmaui_port_01
168       - network.outgoing.packets.rate
169       binding_cmaui_port_01:
170       - cmaui_port_01
171       - binding
172       network.outgoing.packets.rate_cmaui_port_02:
173       - cmaui_port_02
174       - network.outgoing.packets.rate
175       binding_cmaui_port_02:
176       - cmaui_port_02
177       - binding
178       attachment_cmaui_port_02:
179       - cmaui_port_02
180       - attachment
181       end_point_packet_external_network_0:
182       - packet_external_network_0
183       - end_point
184       attachment_cmaui_port_01:
185       - cmaui_port_01
186       - attachment
187       network.incoming.packets.rate_cmaui_port_01:
188       - cmaui_port_01
189       - network.incoming.packets.rate
190       link_packet_internal_network_0:
191       - packet_internal_network_0
192       - link
193       network.incoming.bytes_cmaui_port_01:
194       - cmaui_port_01
195       - network.incoming.bytes
196       network.incoming.packets_cmaui_port_01:
197       - cmaui_port_01
198       - network.incoming.packets
199       network.incoming.packets.rate_cmaui_port_02:
200       - cmaui_port_02
201       - network.incoming.packets.rate
202       attachment_packet_internal_network_0:
203       - packet_internal_network_0
204       - attachment
205       network.outgoing.bytes.rate_cmaui_port_02:
206       - cmaui_port_02
207       - network.outgoing.bytes.rate
208       network.outgoing.bytes.rate_cmaui_port_01:
209       - cmaui_port_01
210       - network.outgoing.bytes.rate
211       end_point_packet_internal_network_0:
212       - packet_internal_network_0
213       - end_point
214       network.outpoing.packets_cmaui_port_02:
215       - cmaui_port_02
216       - network.outpoing.packets
217       network.outpoing.packets_cmaui_port_01:
218       - cmaui_port_01
219       - network.outpoing.packets
220       forwarder_cmaui_port_01:
221       - cmaui_port_01
222       - forwarder
223       forwarder_cmaui_port_02:
224       - cmaui_port_02
225       - forwarder
226       link_packet_external_network_0:
227       - packet_external_network_0
228       - link
229       feature_cmaui_port_02:
230       - cmaui_port_02
231       - feature
232       feature_cmaui_port_01:
233       - cmaui_port_01
234       - feature
235       network.outgoing.bytes_cmaui_port_02:
236       - cmaui_port_02
237       - network.outgoing.bytes
238       network.incoming.bytes.rate_cmaui_port_01:
239       - cmaui_port_01
240       - network.incoming.bytes.rate
241       network.outgoing.bytes_cmaui_port_01:
242       - cmaui_port_01
243       - network.outgoing.bytes
244       network.incoming.bytes.rate_cmaui_port_02:
245       - cmaui_port_02
246       - network.incoming.bytes.rate
247       feature_packet_external_network_0:
248       - packet_external_network_0
249       - feature
250     requirements:
251       dependency_packet_external_network_0:
252       - packet_external_network_0
253       - dependency
254       dependency_packet_internal_network_0:
255       - packet_internal_network_0
256       - dependency
257       dependency_cmaui_port_01:
258       - cmaui_port_01
259       - dependency
260       binding_cmaui_port_01:
261       - cmaui_port_01
262       - binding
263       dependency_cmaui_port_02:
264       - cmaui_port_02
265       - dependency
266       binding_cmaui_port_02:
267       - cmaui_port_02
268       - binding