be3fbadb31fdf942ffdd938c6a7c33aae52e83b3
[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         fixed_ips:
79         - ip_address:
80             get_input:
81             - cmaui_oam_ips
82             - 0
83         mac_requirements:
84           mac_count_required:
85             is_required: false
86         network: packet_internal_network_0
87       requirements:
88       - link:
89           capability: tosca.capabilities.network.Linkable
90           node: packet_internal_network_0
91           relationship: tosca.relationships.network.LinksTo
92     cmaui_port_02:
93       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
94       properties:
95         replacement_policy: AUTO
96         ip_requirements:
97         - ip_version: 4
98           ip_count_required:
99             is_required: true
100           floating_ip_count_required:
101             is_required: false
102         fixed_ips:
103         - ip_address:
104             get_input:
105             - cmaui_oam_ips
106             - 0
107         mac_requirements:
108           mac_count_required:
109             is_required: false
110         network: packet_external_network_0
111       requirements:
112       - link:
113           capability: tosca.capabilities.network.Linkable
114           node: packet_external_network_0
115           relationship: tosca.relationships.network.LinksTo
116     packet_internal_network_0:
117       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
118       properties:
119         network_name:
120           get_input: packet_internal_network_name
121     packet_external_network_0:
122       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
123       properties:
124         network_name:
125           get_input: packet_external_network_name
126   groups:
127     nested-no-compute_group:
128       type: org.openecomp.groups.heat.HeatStack
129       properties:
130         heat_file: ../Artifacts/nested-no-compute.yml
131         description: nested1
132       members:
133       - cmaui_port_01
134       - cmaui_port_02
135       - packet_internal_network_0
136       - packet_external_network_0
137   outputs:
138     no_compute_attr_1:
139       description: no_compute_attr_1
140       value: packet_external_network_0
141   substitution_mappings:
142     node_type: org.openecomp.resource.abstract.nodes.heat.nested-no-compute
143     capabilities:
144       feature_packet_internal_network_0:
145       - packet_internal_network_0
146       - feature
147       network.incoming.packets_cmaui_port_02:
148       - cmaui_port_02
149       - network.incoming.packets
150       network.incoming.bytes_cmaui_port_02:
151       - cmaui_port_02
152       - network.incoming.bytes
153       attachment_packet_external_network_0:
154       - packet_external_network_0
155       - attachment
156       network.outgoing.packets.rate_cmaui_port_01:
157       - cmaui_port_01
158       - network.outgoing.packets.rate
159       binding_cmaui_port_01:
160       - cmaui_port_01
161       - binding
162       network.outgoing.packets.rate_cmaui_port_02:
163       - cmaui_port_02
164       - network.outgoing.packets.rate
165       binding_cmaui_port_02:
166       - cmaui_port_02
167       - binding
168       attachment_cmaui_port_02:
169       - cmaui_port_02
170       - attachment
171       end_point_packet_external_network_0:
172       - packet_external_network_0
173       - end_point
174       attachment_cmaui_port_01:
175       - cmaui_port_01
176       - attachment
177       network.incoming.packets.rate_cmaui_port_01:
178       - cmaui_port_01
179       - network.incoming.packets.rate
180       link_packet_internal_network_0:
181       - packet_internal_network_0
182       - link
183       network.incoming.bytes_cmaui_port_01:
184       - cmaui_port_01
185       - network.incoming.bytes
186       network.incoming.packets_cmaui_port_01:
187       - cmaui_port_01
188       - network.incoming.packets
189       network.incoming.packets.rate_cmaui_port_02:
190       - cmaui_port_02
191       - network.incoming.packets.rate
192       attachment_packet_internal_network_0:
193       - packet_internal_network_0
194       - attachment
195       network.outgoing.bytes.rate_cmaui_port_02:
196       - cmaui_port_02
197       - network.outgoing.bytes.rate
198       network.outgoing.bytes.rate_cmaui_port_01:
199       - cmaui_port_01
200       - network.outgoing.bytes.rate
201       end_point_packet_internal_network_0:
202       - packet_internal_network_0
203       - end_point
204       network.outpoing.packets_cmaui_port_02:
205       - cmaui_port_02
206       - network.outpoing.packets
207       network.outpoing.packets_cmaui_port_01:
208       - cmaui_port_01
209       - network.outpoing.packets
210       link_packet_external_network_0:
211       - packet_external_network_0
212       - link
213       feature_cmaui_port_02:
214       - cmaui_port_02
215       - feature
216       feature_cmaui_port_01:
217       - cmaui_port_01
218       - feature
219       network.outgoing.bytes_cmaui_port_02:
220       - cmaui_port_02
221       - network.outgoing.bytes
222       network.incoming.bytes.rate_cmaui_port_01:
223       - cmaui_port_01
224       - network.incoming.bytes.rate
225       network.outgoing.bytes_cmaui_port_01:
226       - cmaui_port_01
227       - network.outgoing.bytes
228       network.incoming.bytes.rate_cmaui_port_02:
229       - cmaui_port_02
230       - network.incoming.bytes.rate
231       feature_packet_external_network_0:
232       - packet_external_network_0
233       - feature
234     requirements:
235       dependency_packet_external_network_0:
236       - packet_external_network_0
237       - dependency
238       dependency_packet_internal_network_0:
239       - packet_internal_network_0
240       - dependency
241       dependency_cmaui_port_01:
242       - cmaui_port_01
243       - dependency
244       binding_cmaui_port_01:
245       - cmaui_port_01
246       - binding
247       dependency_cmaui_port_02:
248       - cmaui_port_02
249       - dependency
250       binding_cmaui_port_02:
251       - cmaui_port_02
252       - binding