c1dc9a62f5f0f351c8da7ad16977514f268b53be
[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_12:
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_external_network
92       requirements:
93       - link:
94           capability: tosca.capabilities.network.Linkable
95           node: packet_external_network
96           relationship: tosca.relationships.network.LinksTo
97     cmaui_port_11:
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_internal_network
121       requirements:
122       - link:
123           capability: tosca.capabilities.network.Linkable
124           node: packet_internal_network
125           relationship: tosca.relationships.network.LinksTo
126     packet_external_network:
127       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
128       properties:
129         network_name:
130           get_input: packet_external_network_name
131     packet_internal_network:
132       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
133       properties:
134         network_name:
135           get_input: packet_internal_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_12
144       - cmaui_port_11
145       - packet_external_network
146       - packet_internal_network
147   outputs:
148     no_compute_attr_1:
149       description: no_compute_attr_1
150       value: packet_external_network
151   substitution_mappings:
152     node_type: org.openecomp.resource.abstract.nodes.heat.nested-no-compute
153     capabilities:
154       network.outgoing.bytes.rate_cmaui_port_11:
155       - cmaui_port_11
156       - network.outgoing.bytes.rate
157       network.outgoing.bytes.rate_cmaui_port_12:
158       - cmaui_port_12
159       - network.outgoing.bytes.rate
160       network.outpoing.packets_cmaui_port_11:
161       - cmaui_port_11
162       - network.outpoing.packets
163       network.outpoing.packets_cmaui_port_12:
164       - cmaui_port_12
165       - network.outpoing.packets
166       forwarder_cmaui_port_11:
167       - cmaui_port_11
168       - forwarder
169       forwarder_cmaui_port_12:
170       - cmaui_port_12
171       - forwarder
172       end_point_packet_internal_network:
173       - packet_internal_network
174       - end_point
175       feature_cmaui_port_12:
176       - cmaui_port_12
177       - feature
178       feature_cmaui_port_11:
179       - cmaui_port_11
180       - feature
181       link_packet_internal_network:
182       - packet_internal_network
183       - link
184       feature_packet_internal_network:
185       - packet_internal_network
186       - feature
187       network.incoming.bytes.rate_cmaui_port_11:
188       - cmaui_port_11
189       - network.incoming.bytes.rate
190       network.incoming.bytes.rate_cmaui_port_12:
191       - cmaui_port_12
192       - network.incoming.bytes.rate
193       end_point_packet_external_network:
194       - packet_external_network
195       - end_point
196       network.outgoing.bytes_cmaui_port_11:
197       - cmaui_port_11
198       - network.outgoing.bytes
199       network.outgoing.bytes_cmaui_port_12:
200       - cmaui_port_12
201       - network.outgoing.bytes
202       attachment_packet_internal_network:
203       - packet_internal_network
204       - attachment
205       network.outgoing.packets.rate_cmaui_port_12:
206       - cmaui_port_12
207       - network.outgoing.packets.rate
208       binding_cmaui_port_12:
209       - cmaui_port_12
210       - binding
211       network.outgoing.packets.rate_cmaui_port_11:
212       - cmaui_port_11
213       - network.outgoing.packets.rate
214       binding_cmaui_port_11:
215       - cmaui_port_11
216       - binding
217       attachment_cmaui_port_12:
218       - cmaui_port_12
219       - attachment
220       attachment_cmaui_port_11:
221       - cmaui_port_11
222       - attachment
223       network.incoming.packets.rate_cmaui_port_12:
224       - cmaui_port_12
225       - network.incoming.packets.rate
226       network.incoming.packets.rate_cmaui_port_11:
227       - cmaui_port_11
228       - network.incoming.packets.rate
229       attachment_packet_external_network:
230       - packet_external_network
231       - attachment
232       network.incoming.bytes_cmaui_port_12:
233       - cmaui_port_12
234       - network.incoming.bytes
235       network.incoming.packets_cmaui_port_11:
236       - cmaui_port_11
237       - network.incoming.packets
238       network.incoming.packets_cmaui_port_12:
239       - cmaui_port_12
240       - network.incoming.packets
241       network.incoming.bytes_cmaui_port_11:
242       - cmaui_port_11
243       - network.incoming.bytes
244       link_packet_external_network:
245       - packet_external_network
246       - link
247       feature_packet_external_network:
248       - packet_external_network
249       - feature
250     requirements:
251       dependency_cmaui_port_11:
252       - cmaui_port_11
253       - dependency
254       dependency_cmaui_port_12:
255       - cmaui_port_12
256       - dependency
257       binding_cmaui_port_12:
258       - cmaui_port_12
259       - binding
260       dependency_packet_internal_network:
261       - packet_internal_network
262       - dependency
263       binding_cmaui_port_11:
264       - cmaui_port_11
265       - binding
266       dependency_packet_external_network:
267       - packet_external_network
268       - dependency