summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml152
1 files changed, 23 insertions, 129 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
index ba3c164e3c..a26eaede77 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
@@ -2,43 +2,10 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: nested4
imports:
-- CommonGlobalTypes:
- file: CommonGlobalTypesServiceTemplate.yaml
-- NovaServerGlobalTypes:
- file: NovaServerGlobalTypesServiceTemplate.yaml
-- NeutronPortGlobalTypes:
- file: NeutronPortGlobalTypesServiceTemplate.yaml
-- NeutronSecurityRulesGlobalTypes:
- file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
-- NeutronNetGlobalTypes:
- file: NeutronNetGlobalTypesServiceTemplate.yaml
-- CinderVolumeGlobalTypes:
- file: CinderVolumeGlobalTypesServiceTemplate.yaml
-- ContrailVirtualNetworkGlobalType:
- file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
-- ContrailNetworkRuleGlobalType:
- file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
-- AbstractSubstituteGlobalTypes:
- file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
-- ContrailV2VirtualMachineInterfaceGlobalType:
- file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
-- ContrailComputeGlobalTypes:
- file: ContrailComputeGlobalTypesServiceTemplate.yaml
-- ContrailPortGlobalTypes:
- file: ContrailPortGlobalTypesServiceTemplate.yaml
-- ContrailAbstractSubstituteGlobalTypes:
- file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
-- ContrailV2VirtualNetworkGlobalType:
- file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
-- ContrailV2NetworkRuleGlobalType:
- file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
-- ContrailV2VLANSubInterfaceGlobalType:
- file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.cmaui:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
cmaui_names:
@@ -57,6 +24,10 @@ topology_template:
hidden: false
immutable: false
type: string
+ p3:
+ hidden: false
+ immutable: false
+ type: string
template_PortTuple_LB1:
hidden: false
immutable: false
@@ -126,59 +97,11 @@ topology_template:
immutable: false
type: string
node_templates:
- template_VMInt_OAM_lb_7:
- type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
- properties:
- security_group_refs:
- - get_input: oam_sec_group_name
- virtual_network_refs:
- - get_input: p2
- virtual_machine_interface_properties:
- virtual_machine_interface_properties_service_interface_type:
- get_input: lb_st_interface_type_oam
- port_tuple_refs:
- - get_input: template_PortTuple_LB1
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: server_cmaui
- relationship: tosca.relationships.network.BindsTo
- template_VMInt_OAM_lb_8:
- type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
- properties:
- security_group_refs:
- - get_input: oam_sec_group_name
- virtual_network_refs:
- - get_input: p1
- virtual_machine_interface_properties:
- virtual_machine_interface_properties_service_interface_type:
- get_input: lb_st_interface_type_oam
- port_tuple_refs:
- - get_input: template_PortTuple_LB1
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: server_cmaui
- relationship: tosca.relationships.network.BindsTo
- server_cmaui:
- type: org.openecomp.resource.vfc.nodes.heat.cmaui
- properties:
- flavor:
- get_input: cmaui_flavor
- availability_zone:
- get_input: availability_zone_0
- image:
- get_input: cmaui_image
- contrail_service_instance_ind: true
- name:
- get_input:
- - cmaui_names
- - 0
- template_Vlan_4:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ template_subint_oam_vmi_4:
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- - template_VMInt_OAM_lb_8
+ - get_input: p3
name:
str_replace:
template: $NAME$VLAN
@@ -213,11 +136,6 @@ topology_template:
virtual_machine_interface_mac_addresses:
mac_address:
- get_input: mac_address
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: template_VMInt_OAM_lb_8
- relationship: tosca.relationships.network.BindsTo
groups:
nested4_group:
type: org.openecomp.groups.heat.HeatStack
@@ -225,44 +143,20 @@ topology_template:
heat_file: ../Artifacts/nested4.yml
description: nested4
members:
- - template_VMInt_OAM_lb_7
- - template_VMInt_OAM_lb_8
- - server_cmaui
- - template_Vlan_4
+ - template_subint_oam_vmi_4
substitution_mappings:
- node_type: org.openecomp.resource.abstract.nodes.heat.nested4
+ node_type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested4
capabilities:
- host_server_cmaui:
- - server_cmaui
- - host
- os_server_cmaui:
- - server_cmaui
- - os
- endpoint_server_cmaui:
- - server_cmaui
- - endpoint
- binding_server_cmaui:
- - server_cmaui
- - binding
- scalable_server_cmaui:
- - server_cmaui
- - scalable
- binding_template_VMInt_OAM_lb_8:
- - template_VMInt_OAM_lb_8
- - binding
- binding_template_VMInt_OAM_lb_7:
- - template_VMInt_OAM_lb_7
- - binding
+ feature_template_subint_oam_vmi_4:
+ - template_subint_oam_vmi_4
+ - feature
requirements:
- local_storage_server_cmaui:
- - server_cmaui
- - local_storage
- link_template_VMInt_OAM_lb_7:
- - template_VMInt_OAM_lb_7
- - link
- link_template_Vlan_4:
- - template_Vlan_4
- - link
- link_template_VMInt_OAM_lb_8:
- - template_VMInt_OAM_lb_8
- - link \ No newline at end of file
+ dependency_template_subint_oam_vmi_4:
+ - template_subint_oam_vmi_4
+ - dependency
+ subinterface_link_template_subint_oam_vmi_4:
+ - template_subint_oam_vmi_4
+ - subinterface_link
+ binding_template_subint_oam_vmi_4:
+ - template_subint_oam_vmi_4
+ - binding \ No newline at end of file