1 tosca_definitions_version: tosca_simple_yaml_1_0_0
\r
5 - openecomp_heat_index:
\r
6 file: openecomp-heat/_index.yml
\r
7 - GlobalSubstitutionTypes:
\r
8 file: GlobalSubstitutionTypesServiceTemplate.yaml
\r
10 org.openecomp.resource.vfc.nodes.heat.cmaui:
\r
11 derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
\r
19 type: org.openecomp.annotations.Source
\r
24 param_name: cmaui_names
\r
26 description: CMAUI1, CMAUI2 server names
\r
29 template_PortTuple_LB1:
\r
34 type: org.openecomp.annotations.Source
\r
39 param_name: template_PortTuple_LB1
\r
46 type: org.openecomp.annotations.Source
\r
51 param_name: oam_sec_group_name
\r
53 lb_st_interface_type_oam:
\r
58 type: org.openecomp.annotations.Source
\r
63 param_name: lb_st_interface_type_oam
\r
70 type: org.openecomp.annotations.Source
\r
75 param_name: virtual_ip_address
\r
77 security_group_name:
\r
82 type: org.openecomp.annotations.Source
\r
87 param_name: security_group_name
\r
89 description: CMAUI1, CMAUI2 server names
\r
97 type: org.openecomp.annotations.Source
\r
102 param_name: jsa_net_name
\r
104 description: network name of jsa log network
\r
110 type: org.openecomp.annotations.Source
\r
115 param_name: vlan_ids
\r
122 type: org.openecomp.annotations.Source
\r
127 param_name: cmaui_image
\r
129 description: Image for CMAUI server
\r
130 virtual_ipv6_address:
\r
135 type: org.openecomp.annotations.Source
\r
140 param_name: virtual_ipv6_address
\r
147 type: org.openecomp.annotations.Source
\r
152 param_name: cmaui_flavor
\r
154 description: Flavor for CMAUI server
\r
155 lb_st_vlan_type_oam:
\r
160 type: org.openecomp.annotations.Source
\r
165 param_name: lb_st_vlan_type_oam
\r
173 type: org.openecomp.annotations.Source
\r
178 param_name: mac_address
\r
180 availability_zone_0:
\r
181 label: availabilityzone name
\r
186 type: org.openecomp.annotations.Source
\r
191 param_name: availability_zone_0
\r
193 description: availabilityzone name
\r
199 type: org.openecomp.annotations.Source
\r
204 param_name: cmaui_oam_ips
\r
208 type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
\r
210 replacement_policy: AUTO
\r
215 floating_ip_count_required:
\r
220 floating_ip_count_required:
\r
223 - get_input: security_group_name
\r
230 mac_count_required:
\r
235 capability: tosca.capabilities.network.Linkable
\r
237 relationship: tosca.relationships.network.LinksTo
\r
239 capability: tosca.capabilities.network.Bindable
\r
240 node: server_cmaui_nova
\r
241 relationship: tosca.relationships.network.BindsTo
\r
242 test_nested_invalidConnection:
\r
243 type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
\r
248 service_template_filter:
\r
249 substitute_service_template: nestedServiceTemplate.yaml
\r
250 p2: server_cmaui_nova
\r
252 - binding_template_Vlan_1:
\r
253 capability: tosca.capabilities.network.Bindable
\r
255 relationship: tosca.relationships.network.BindsTo
\r
257 type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
\r
261 get_input: jsa_net_name
\r
262 template_VMInt_OAM_lb_1:
\r
263 type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
\r
265 security_group_refs:
\r
266 - get_input: oam_sec_group_name
\r
267 virtual_network_refs:
\r
269 virtual_machine_interface_properties:
\r
270 service_interface_type:
\r
271 get_input: lb_st_interface_type_oam
\r
273 - get_input: template_PortTuple_LB1
\r
276 capability: tosca.capabilities.network.Linkable
\r
278 relationship: tosca.relationships.network.LinksTo
\r
280 capability: tosca.capabilities.network.Bindable
\r
281 node: server_cmaui_nova
\r
282 relationship: tosca.relationships.network.BindsTo
\r
283 test_resourceGroup:
\r
284 type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
\r
288 p1: template_VMInt_OAM_lb_1
\r
289 service_template_filter:
\r
290 substitute_service_template: nestedServiceTemplate.yaml
\r
297 - subinterface_link_template_Vlan_2:
\r
298 capability: tosca.capabilities.network.Linkable
\r
300 relationship: tosca.relationships.network.LinksTo
\r
301 - subinterface_link_template_Vlan_1:
\r
302 capability: tosca.capabilities.network.Linkable
\r
304 relationship: tosca.relationships.network.LinksTo
\r
305 - binding_template_Vlan_2:
\r
306 capability: tosca.capabilities.network.Bindable
\r
308 relationship: tosca.relationships.network.BindsTo
\r
309 - binding_template_Vlan_1:
\r
310 capability: tosca.capabilities.network.Bindable
\r
311 node: template_VMInt_OAM_lb_1
\r
312 relationship: tosca.relationships.network.BindsTo
\r
314 type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
\r
318 get_input: jsa_net_name
\r
320 type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
\r
323 virtual_network_refs:
\r
325 virtual_machine_interface_allowed_address_pairs:
\r
326 allowed_address_pair:
\r
327 - address_mode: active-standby
\r
330 get_input: virtual_ip_address
\r
333 get_input: mac_address
\r
334 - address_mode: active-standby
\r
337 get_input: virtual_ipv6_address
\r
340 get_input: mac_address
\r
341 virtual_machine_interface_mac_addresses:
\r
342 - get_input: mac_address
\r
345 capability: tosca.capabilities.network.Linkable
\r
347 relationship: tosca.relationships.network.LinksTo
\r
349 type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
\r
352 virtual_network_refs:
\r
354 virtual_machine_interface_allowed_address_pairs:
\r
355 allowed_address_pair:
\r
356 - address_mode: active-standby
\r
359 get_input: virtual_ip_address
\r
362 get_input: mac_address
\r
363 - address_mode: active-standby
\r
366 get_input: virtual_ipv6_address
\r
369 get_input: mac_address
\r
370 virtual_machine_interface_mac_addresses:
\r
371 - get_input: mac_address
\r
374 capability: tosca.capabilities.network.Linkable
\r
376 relationship: tosca.relationships.network.LinksTo
\r
378 type: org.openecomp.resource.vfc.nodes.heat.cmaui
\r
381 get_input: cmaui_flavor
\r
383 get_input: availability_zone_0
\r
385 get_input: cmaui_image
\r
386 contrail_service_instance_ind: true
\r
392 type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
\r
396 p1: template_VMInt_OAM_lb_1
\r
397 service_template_filter:
\r
398 substitute_service_template: nestedServiceTemplate.yaml
\r
403 - subinterface_link_template_Vlan_2:
\r
404 capability: tosca.capabilities.network.Linkable
\r
406 relationship: tosca.relationships.network.LinksTo
\r
407 - subinterface_link_template_Vlan_1:
\r
408 capability: tosca.capabilities.network.Linkable
\r
410 relationship: tosca.relationships.network.LinksTo
\r
411 - binding_template_Vlan_2:
\r
412 capability: tosca.capabilities.network.Bindable
\r
414 relationship: tosca.relationships.network.BindsTo
\r
415 - binding_template_Vlan_1:
\r
416 capability: tosca.capabilities.network.Bindable
\r
417 node: template_VMInt_OAM_lb_1
\r
418 relationship: tosca.relationships.network.BindsTo
\r
421 type: org.openecomp.groups.heat.HeatStack
\r
423 heat_file: ../Artifacts/main.yml
\r
425 Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
\r
428 - test_nested_invalidConnection
\r
430 - template_VMInt_OAM_lb_1
\r
431 - test_resourceGroup
\r
435 - server_cmaui_nova
\r