aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection
diff options
context:
space:
mode:
authorsiddharth0905 <siddharth.singh4@amdocs.com>2018-04-03 20:24:59 +0530
committersiddharth0905 <siddharth.singh4@amdocs.com>2018-04-04 13:54:59 +0530
commitd6982006c27288936d8b0d9eee18068854036f45 (patch)
tree7b71be074b5303d442971d0bd59b2accd7940604 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection
parent4b6709601c47050c853e6eaa5525259f066d5277 (diff)
Added new nodes type
Added new nodes type and new property in Port. All test data need to be updated, so file count is much more. Change-Id: Ic21befe8d7feee912fbed1d3eb676488db1fb68c Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/MainServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/nestedServiceTemplate.yaml10
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml6
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/MainServiceTemplate.yaml10
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml24
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml40
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/MainServiceTemplate.yaml22
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested1ServiceTemplate.yaml50
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested2ServiceTemplate.yaml36
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested3ServiceTemplate.yaml26
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml16
12 files changed, 122 insertions, 122 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
index 4cf19dbc60..4920397c09 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -98,7 +98,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_vdbe_0_subint_untr_vmi_0:
+ - subinterface_link_vdbe_0_subint_untr_vmi_0:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/MainServiceTemplate.yaml
index 1b925e3e8e..64646166d8 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/MainServiceTemplate.yaml
@@ -502,7 +502,7 @@ topology_template:
aap_untrusted_ip_prefix_len:
get_input: vdbe_aap_untrusted_ip_prefix_len
requirements:
- - link_vdbe_0_subint_untr_vmi_0:
+ - subinterface_link_vdbe_0_subint_untr_vmi_0:
capability: tosca.capabilities.network.Linkable
node: control_int_net
relationship: tosca.relationships.network.LinksTo
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/nestedServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/nestedServiceTemplate.yaml
index 01fd719787..d833cb6e65 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/nestedServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/inoutattr/expectedoutputfiles/nestedServiceTemplate.yaml
@@ -92,7 +92,7 @@ topology_template:
description: ip prefix length for the primary vDBE VM on the VAN untrusted network
node_templates:
vdbe_0_subint_untr_vmi_0:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: parent_interface
@@ -163,9 +163,9 @@ topology_template:
dependency_vdbe_0_subint_untr_vmi_0:
- vdbe_0_subint_untr_vmi_0
- dependency
- binding_vdbe_0_subint_untr_vmi_0:
+ subinterface_link_vdbe_0_subint_untr_vmi_0:
- vdbe_0_subint_untr_vmi_0
- - binding
- link_vdbe_0_subint_untr_vmi_0:
+ - subinterface_link
+ binding_vdbe_0_subint_untr_vmi_0:
- vdbe_0_subint_untr_vmi_0
- - link \ No newline at end of file
+ - binding \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
index cd3f9701c5..b821e47358 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -61,7 +61,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_3_arrayParameter:
+ - subinterface_link_template_Vlan_3_arrayParameter:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -81,7 +81,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_2:
+ - subinterface_link_template_Vlan_2:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -101,7 +101,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_1:
+ - subinterface_link_template_Vlan_1:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/MainServiceTemplate.yaml
index 8a91a43dca..c27d7a8829 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/MainServiceTemplate.yaml
@@ -294,11 +294,11 @@ topology_template:
net2: test_net2
net1: test_net1
requirements:
- - link_template_Vlan_2:
+ - subinterface_link_template_Vlan_2:
capability: tosca.capabilities.network.Linkable
node: test_net2
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_1:
+ - subinterface_link_template_Vlan_1:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
@@ -400,11 +400,11 @@ topology_template:
net2: test_net2
net1: test_net1
requirements:
- - link_template_Vlan_2:
+ - subinterface_link_template_Vlan_2:
capability: tosca.capabilities.network.Linkable
node: test_net2
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_1:
+ - subinterface_link_template_Vlan_1:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
@@ -433,4 +433,4 @@ topology_template:
- test_Vlan2
- test_Vlan1
- server_cmaui_nova
- - test_nested
+ - test_nested \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml
index 949d55d270..ed9c4c5acd 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml
@@ -55,7 +55,7 @@ topology_template:
type: float
node_templates:
template_Vlan_3_arrayParameter:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input:
@@ -98,7 +98,7 @@ topology_template:
mac_address:
- get_input: mac_address
template_Vlan_2:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: p2
@@ -139,7 +139,7 @@ topology_template:
mac_address:
- get_input: mac_address
template_Vlan_1:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: p1
@@ -200,24 +200,24 @@ topology_template:
- template_Vlan_3_arrayParameter
- feature
requirements:
+ subinterface_link_template_Vlan_3_arrayParameter:
+ - template_Vlan_3_arrayParameter
+ - subinterface_link
+ subinterface_link_template_Vlan_2:
+ - template_Vlan_2
+ - subinterface_link
dependency_template_Vlan_2:
- template_Vlan_2
- dependency
dependency_template_Vlan_1:
- template_Vlan_1
- dependency
- link_template_Vlan_1:
- - template_Vlan_1
- - link
dependency_template_Vlan_3_arrayParameter:
- template_Vlan_3_arrayParameter
- dependency
- link_template_Vlan_3_arrayParameter:
- - template_Vlan_3_arrayParameter
- - link
- link_template_Vlan_2:
- - template_Vlan_2
- - link
+ subinterface_link_template_Vlan_1:
+ - template_Vlan_1
+ - subinterface_link
binding_template_Vlan_2:
- template_Vlan_2
- binding
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
index d0270968e9..8b05a3876a 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -65,7 +65,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_2:
+ - subinterface_link_template_Vlan_2:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -85,7 +85,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_1:
+ - subinterface_link_template_Vlan_1:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -126,7 +126,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -146,7 +146,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -166,7 +166,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_6_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_6_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -186,7 +186,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_5_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_5_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -206,7 +206,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_4_test_nested2Level:
+ - subinterface_link_template_Vlan_4_test_nested2Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -226,7 +226,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_3_test_nested2Level:
+ - subinterface_link_template_Vlan_3_test_nested2Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -414,7 +414,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_8_test_nested4Level_test_nested3Level:
+ - subinterface_link_template_Vlan_8_test_nested4Level_test_nested3Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -434,7 +434,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_7_test_nested4Level_test_nested3Level:
+ - subinterface_link_template_Vlan_7_test_nested4Level_test_nested3Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -454,7 +454,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_6_test_nested3Level:
+ - subinterface_link_template_Vlan_6_test_nested3Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -474,7 +474,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_5_test_nested3Level:
+ - subinterface_link_template_Vlan_5_test_nested3Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -494,7 +494,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_4:
+ - subinterface_link_template_Vlan_4:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -514,7 +514,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_3:
+ - subinterface_link_template_Vlan_3:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -680,7 +680,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_8_test_nested4Level:
+ - subinterface_link_template_Vlan_8_test_nested4Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -700,7 +700,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_7_test_nested4Level:
+ - subinterface_link_template_Vlan_7_test_nested4Level:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -720,7 +720,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_6:
+ - subinterface_link_template_Vlan_6:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -740,7 +740,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_5:
+ - subinterface_link_template_Vlan_5:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -884,7 +884,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_8:
+ - subinterface_link_template_Vlan_8:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
@@ -904,7 +904,7 @@ node_types:
occurrences:
- 0
- UNBOUNDED
- - link_template_Vlan_7:
+ - subinterface_link_template_Vlan_7:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/MainServiceTemplate.yaml
index 652a5464a7..e8f7c17fbb 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/MainServiceTemplate.yaml
@@ -218,35 +218,35 @@ topology_template:
port1: template_VMInt_OAM_lb_1
port2: cmaui_port_2
requirements:
- - link_template_Vlan_2:
+ - subinterface_link_template_Vlan_2:
capability: tosca.capabilities.network.Linkable
node: test_contrailV2_net2
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_1:
+ - subinterface_link_template_Vlan_1:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_6_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_6_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_5_test_nested3Level_test_nested2Level:
+ - subinterface_link_template_Vlan_5_test_nested3Level_test_nested2Level:
capability: tosca.capabilities.network.Linkable
node: test_net1
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_4_test_nested2Level:
+ - subinterface_link_template_Vlan_4_test_nested2Level:
capability: tosca.capabilities.network.Linkable
node: test_contrailV2_net2
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_3_test_nested2Level:
+ - subinterface_link_template_Vlan_3_test_nested2Level:
capability: tosca.capabilities.network.Linkable
node: test_contrailV2_net2
relationship: tosca.relationships.network.LinksTo
@@ -330,11 +330,11 @@ topology_template:
- index_value
port1: cmaui_port_2
requirements:
- - link_template_Vlan_7_test_nested4Level:
+ - subinterface_link_template_Vlan_7_test_nested4Level:
capability: tosca.capabilities.network.Linkable
node: test_contrailV2_net2
relationship: tosca.relationships.network.LinksTo
- - link_template_Vlan_6:
+ - subinterface_link_template_Vlan_6:
capability: tosca.capabilities.network.Linkable
node: test_contrailV2_net2
relationship: tosca.relationships.network.LinksTo
@@ -390,4 +390,4 @@ topology_template:
- test_resourceGroup
- test_net1
- test_nestedInvalidConnection
- - server_cmaui_nova
+ - server_cmaui_nova \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested1ServiceTemplate.yaml
index 92647bb2f8..1dd275150e 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested1ServiceTemplate.yaml
@@ -59,7 +59,7 @@ topology_template:
type: string
node_templates:
template_Vlan_2:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port2
@@ -98,7 +98,7 @@ topology_template:
mac_address:
- get_input: mac_address
template_Vlan_1:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port1
@@ -198,6 +198,12 @@ topology_template:
- test_nested2Level
- feature_template_Vlan_6_test_nested3Level
requirements:
+ subinterface_link_template_Vlan_2:
+ - template_Vlan_2
+ - subinterface_link
+ subinterface_link_template_Vlan_4_test_nested2Level:
+ - test_nested2Level
+ - subinterface_link_template_Vlan_4
dependency_template_Vlan_5_test_nested3Level_test_nested2Level:
- test_nested2Level
- dependency_template_Vlan_5_test_nested3Level
@@ -207,24 +213,27 @@ topology_template:
dependency_template_Vlan_4_test_nested2Level:
- test_nested2Level
- dependency_template_Vlan_4
+ subinterface_link_template_Vlan_1:
+ - template_Vlan_1
+ - subinterface_link
dependency_test_nested2Level:
- test_nested2Level
- dependency
- link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
+ subinterface_link_template_Vlan_6_test_nested3Level_test_nested2Level:
- test_nested2Level
- - link_template_Vlan_7_test_nested4Level_test_nested3Level
+ - subinterface_link_template_Vlan_6_test_nested3Level
dependency_template_Vlan_2:
- template_Vlan_2
- dependency
binding_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
- test_nested2Level
- binding_template_Vlan_7_test_nested4Level_test_nested3Level
- link_template_Vlan_4_test_nested2Level:
- - test_nested2Level
- - link_template_Vlan_4
dependency_template_Vlan_1:
- template_Vlan_1
- dependency
+ subinterface_link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
+ - test_nested2Level
+ - subinterface_link_template_Vlan_7_test_nested4Level_test_nested3Level
binding_template_Vlan_2:
- template_Vlan_2
- binding
@@ -234,9 +243,6 @@ topology_template:
dependency_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
- test_nested2Level
- dependency_template_Vlan_8_test_nested4Level_test_nested3Level
- link_template_Vlan_6_test_nested3Level_test_nested2Level:
- - test_nested2Level
- - link_template_Vlan_6_test_nested3Level
dependency_template_Vlan_6_test_nested3Level_test_nested2Level:
- test_nested2Level
- dependency_template_Vlan_6_test_nested3Level
@@ -249,33 +255,27 @@ topology_template:
binding_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
- test_nested2Level
- binding_template_Vlan_8_test_nested4Level_test_nested3Level
+ subinterface_link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
+ - test_nested2Level
+ - subinterface_link_template_Vlan_8_test_nested4Level_test_nested3Level
binding_template_Vlan_6_test_nested3Level_test_nested2Level:
- test_nested2Level
- binding_template_Vlan_6_test_nested3Level
dependency_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
- test_nested2Level
- dependency_template_Vlan_7_test_nested4Level_test_nested3Level
- link_template_Vlan_1:
- - template_Vlan_1
- - link
- link_template_Vlan_2:
- - template_Vlan_2
- - link
+ subinterface_link_template_Vlan_3_test_nested2Level:
+ - test_nested2Level
+ - subinterface_link_template_Vlan_3
dependency_test_nested4Level_test_nested3Level_test_nested2Level:
- test_nested2Level
- dependency_test_nested4Level_test_nested3Level
- link_template_Vlan_5_test_nested3Level_test_nested2Level:
+ subinterface_link_template_Vlan_5_test_nested3Level_test_nested2Level:
- test_nested2Level
- - link_template_Vlan_5_test_nested3Level
+ - subinterface_link_template_Vlan_5_test_nested3Level
dependency_test_nested3Level_test_nested2Level:
- test_nested2Level
- dependency_test_nested3Level
- link_template_Vlan_3_test_nested2Level:
- - test_nested2Level
- - link_template_Vlan_3
binding_template_Vlan_4_test_nested2Level:
- test_nested2Level
- - binding_template_Vlan_4
- link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
- - test_nested2Level
- - link_template_Vlan_8_test_nested4Level_test_nested3Level \ No newline at end of file
+ - binding_template_Vlan_4 \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested2ServiceTemplate.yaml
index e42ee48133..a18c661c7b 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested2ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested2ServiceTemplate.yaml
@@ -127,7 +127,7 @@ topology_template:
port2:
get_input: port1
template_Vlan_4:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port1
@@ -166,7 +166,7 @@ topology_template:
mac_address:
- get_input: mac_address
template_Vlan_3:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port1
@@ -244,15 +244,18 @@ topology_template:
- test_nested3Level
- feature_template_Vlan_5
requirements:
- link_template_Vlan_7_test_nested4Level_test_nested3Level:
- - test_nested3Level
- - link_template_Vlan_7_test_nested4Level
+ subinterface_link_template_Vlan_3:
+ - template_Vlan_3
+ - subinterface_link
+ subinterface_link_template_Vlan_4:
+ - template_Vlan_4
+ - subinterface_link
dependency_template_Vlan_5_test_nested3Level:
- test_nested3Level
- dependency_template_Vlan_5
- link_template_Vlan_8_test_nested4Level_test_nested3Level:
+ subinterface_link_template_Vlan_5_test_nested3Level:
- test_nested3Level
- - link_template_Vlan_8_test_nested4Level
+ - subinterface_link_template_Vlan_5
binding_template_Vlan_6_test_nested3Level:
- test_nested3Level
- binding_template_Vlan_6
@@ -262,6 +265,12 @@ topology_template:
dependency_test_nested4Level_test_nested3Level:
- test_nested3Level
- dependency_test_nested4Level
+ subinterface_link_template_Vlan_6_test_nested3Level:
+ - test_nested3Level
+ - subinterface_link_template_Vlan_6
+ subinterface_link_template_Vlan_8_test_nested4Level_test_nested3Level:
+ - test_nested3Level
+ - subinterface_link_template_Vlan_8_test_nested4Level
dependency_template_Vlan_7_test_nested4Level_test_nested3Level:
- test_nested3Level
- dependency_template_Vlan_7_test_nested4Level
@@ -271,21 +280,12 @@ topology_template:
binding_template_Vlan_8_test_nested4Level_test_nested3Level:
- test_nested3Level
- binding_template_Vlan_8_test_nested4Level
- link_template_Vlan_5_test_nested3Level:
- - test_nested3Level
- - link_template_Vlan_5
- link_template_Vlan_6_test_nested3Level:
+ subinterface_link_template_Vlan_7_test_nested4Level_test_nested3Level:
- test_nested3Level
- - link_template_Vlan_6
- link_template_Vlan_3:
- - template_Vlan_3
- - link
+ - subinterface_link_template_Vlan_7_test_nested4Level
dependency_template_Vlan_8_test_nested4Level_test_nested3Level:
- test_nested3Level
- dependency_template_Vlan_8_test_nested4Level
- link_template_Vlan_4:
- - template_Vlan_4
- - link
binding_template_Vlan_4:
- template_Vlan_4
- binding
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested3ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested3ServiceTemplate.yaml
index 00a2260614..7b582584e7 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested3ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested3ServiceTemplate.yaml
@@ -120,7 +120,7 @@ topology_template:
port2:
get_input: port2
template_Vlan_6:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port1
@@ -159,7 +159,7 @@ topology_template:
mac_address:
- get_input: mac_address
template_Vlan_5:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port2
@@ -226,36 +226,36 @@ topology_template:
- test_nested4Level
- feature_template_Vlan_7
requirements:
- link_template_Vlan_8_test_nested4Level:
- - test_nested4Level
- - link_template_Vlan_8
+ subinterface_link_template_Vlan_5:
+ - template_Vlan_5
+ - subinterface_link
binding_template_Vlan_8_test_nested4Level:
- test_nested4Level
- binding_template_Vlan_8
binding_template_Vlan_7_test_nested4Level:
- test_nested4Level
- binding_template_Vlan_7
+ subinterface_link_template_Vlan_7_test_nested4Level:
+ - test_nested4Level
+ - subinterface_link_template_Vlan_7
dependency_template_Vlan_7_test_nested4Level:
- test_nested4Level
- dependency_template_Vlan_7
dependency_test_nested4Level:
- test_nested4Level
- dependency
- link_template_Vlan_7_test_nested4Level:
+ subinterface_link_template_Vlan_8_test_nested4Level:
- test_nested4Level
- - link_template_Vlan_7
- link_template_Vlan_5:
- - template_Vlan_5
- - link
+ - subinterface_link_template_Vlan_8
dependency_template_Vlan_8_test_nested4Level:
- test_nested4Level
- dependency_template_Vlan_8
- link_template_Vlan_6:
- - template_Vlan_6
- - link
binding_template_Vlan_6:
- template_Vlan_6
- binding
+ subinterface_link_template_Vlan_6:
+ - template_Vlan_6
+ - subinterface_link
binding_template_Vlan_5:
- template_Vlan_5
- binding
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
index bd6e1a1f24..6ec72d7302 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/subInterfaceToInterfaceConnection/nestedMultiLevels/expectedoutputfiles/nested4ServiceTemplate.yaml
@@ -105,7 +105,7 @@ topology_template:
type: string
node_templates:
template_Vlan_8:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port2
@@ -144,7 +144,7 @@ topology_template:
mac_address:
- get_input: mac_address
template_Vlan_7:
- type: org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ type: org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
properties:
virtual_machine_interface_refs:
- get_input: port1
@@ -207,15 +207,15 @@ topology_template:
dependency_template_Vlan_7:
- template_Vlan_7
- dependency
- link_template_Vlan_7:
+ subinterface_link_template_Vlan_7:
- template_Vlan_7
- - link
- link_template_Vlan_8:
- - template_Vlan_8
- - link
+ - subinterface_link
binding_template_Vlan_8:
- template_Vlan_8
- binding
+ subinterface_link_template_Vlan_8:
+ - template_Vlan_8
+ - subinterface_link
binding_template_Vlan_7:
- template_Vlan_7
- - binding
+ - binding \ No newline at end of file