3d08eb04fb19ef3938a9678ef0358174da1f9a27
[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       end_point_packet_internal_network:
157       - packet_internal_network
158       - end_point
159       feature_cmaui_port_12:
160       - cmaui_port_12
161       - feature
162       feature_cmaui_port_11:
163       - cmaui_port_11
164       - feature
165       link_packet_internal_network:
166       - packet_internal_network
167       - link
168       feature_packet_internal_network:
169       - packet_internal_network
170       - feature
171       network.incoming.bytes.rate_cmaui_port_11:
172       - cmaui_port_11
173       - network.incoming.bytes.rate
174       network.incoming.bytes.rate_cmaui_port_12:
175       - cmaui_port_12
176       - network.incoming.bytes.rate
177       end_point_packet_external_network:
178       - packet_external_network
179       - end_point
180       network.outgoing.bytes_cmaui_port_11:
181       - cmaui_port_11
182       - network.outgoing.bytes
183       network.outgoing.bytes_cmaui_port_12:
184       - cmaui_port_12
185       - network.outgoing.bytes
186       attachment_packet_internal_network:
187       - packet_internal_network
188       - attachment
189       network.outgoing.packets.rate_cmaui_port_12:
190       - cmaui_port_12
191       - network.outgoing.packets.rate
192       binding_cmaui_port_12:
193       - cmaui_port_12
194       - binding
195       network.outgoing.packets.rate_cmaui_port_11:
196       - cmaui_port_11
197       - network.outgoing.packets.rate
198       binding_cmaui_port_11:
199       - cmaui_port_11
200       - binding
201       attachment_cmaui_port_12:
202       - cmaui_port_12
203       - attachment
204       attachment_cmaui_port_11:
205       - cmaui_port_11
206       - attachment
207       network.incoming.packets.rate_cmaui_port_12:
208       - cmaui_port_12
209       - network.incoming.packets.rate
210       network.incoming.packets.rate_cmaui_port_11:
211       - cmaui_port_11
212       - network.incoming.packets.rate
213       attachment_packet_external_network:
214       - packet_external_network
215       - attachment
216       network.incoming.bytes_cmaui_port_12:
217       - cmaui_port_12
218       - network.incoming.bytes
219       network.incoming.packets_cmaui_port_11:
220       - cmaui_port_11
221       - network.incoming.packets
222       network.incoming.packets_cmaui_port_12:
223       - cmaui_port_12
224       - network.incoming.packets
225       network.incoming.bytes_cmaui_port_11:
226       - cmaui_port_11
227       - network.incoming.bytes
228       link_packet_external_network:
229       - packet_external_network
230       - link
231       feature_packet_external_network:
232       - packet_external_network
233       - feature
234     requirements:
235       dependency_cmaui_port_11:
236       - cmaui_port_11
237       - dependency
238       dependency_cmaui_port_12:
239       - cmaui_port_12
240       - dependency
241       binding_cmaui_port_12:
242       - cmaui_port_12
243       - binding
244       dependency_packet_internal_network:
245       - packet_internal_network
246       - dependency
247       binding_cmaui_port_11:
248       - cmaui_port_11
249       - binding
250       dependency_packet_external_network:
251       - packet_external_network
252       - dependency