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