summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml
diff options
context:
space:
mode:
authorojasdubey <ojas.dubey@amdocs.com>2018-11-29 20:46:49 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-12-02 09:47:45 +0000
commit6ce1094d509195fe484761467a67a6b3757593b0 (patch)
tree4c3b0df6711f80c0f20c20ccf013727ff90428d5 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml
parentc2a1b7c2eea934f309838f0082b2b851012be9a1 (diff)
Fix - Port type and vmtype underscore issue
1. Fix for consolidation of VMs for cases when: a. VM type contains an underscore b. Multiple ports per network role 2. Updated the unit test cases and test data Change-Id: I875f3c8384f8ef2c2aa6add9e30a5f8899ae1a71 Issue-ID: SDC-1966 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml222
1 files changed, 111 insertions, 111 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 43ce925d02..b63bc3034c 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/oneSubInterfaceNetworkRole/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -8,10 +8,6 @@ node_types:
org.openecomp.resource.abstract.nodes.vdbe:
derived_from: org.openecomp.resource.abstract.nodes.VFC
properties:
- port_vdbe_untr_port_network_role_tag:
- type: string
- required: true
- status: SUPPORTED
subinterface_vdbe_untr_1_subports_ip_address:
type: list
required: true
@@ -52,10 +48,6 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_vdbe_untr_port_order:
- type: integer
- required: true
- status: SUPPORTED
subinterface_vdbe_untr_1_subports_mac_address:
type: list
required: true
@@ -72,10 +64,6 @@ node_types:
type: string
required: true
status: SUPPORTED
- port_vdbe_untr_port_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
- status: SUPPORTED
subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix_len:
type: list
required: true
@@ -100,6 +88,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_vdbe_untr_port_1_related_networks:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.RelatedNetworksAssignments
subinterface_vdbe_untr_1_subports_aap_address_mode:
type: list
required: true
@@ -112,22 +106,20 @@ node_types:
status: SUPPORTED
entry_schema:
type: json
- subinterface_vdbe_untr_1_subports_vn_network_list:
- type: list
+ port_vdbe_untr_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
required: true
status: SUPPORTED
- entry_schema:
- type: string
- port_vdbe_untr_port_name:
+ port_vdbe_untr_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ subinterface_vdbe_untr_1_subports_vn_network_list:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- port_vdbe_untr_port_network_role:
- type: string
- required: true
- status: SUPPORTED
subinterface_vdbe_untr_2_subports_vn_network_list:
type: list
required: true
@@ -170,24 +162,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_vdbe_untr_port_related_networks:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.RelatedNetworksAssignments
subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix_len:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- port_vdbe_untr_port_ip_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
subinterface_vdbe_untr_1_subports_vlan_tag_list:
type: list
required: true
@@ -206,18 +186,38 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_vdbe_untr_port_subnetpoolid:
+ port_vdbe_untr_port_1_name:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_vdbe_untr_port_1_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_vdbe_untr_port_1_network_role_tag:
type: string
required: true
status: SUPPORTED
+ port_vdbe_untr_port_1_order:
+ type: integer
+ required: true
+ status: SUPPORTED
subinterface_vdbe_untr_1_subports_ip_v6_address:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- port_vdbe_untr_port_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
+ port_vdbe_untr_port_1_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_vdbe_untr_port_1_subnetpoolid:
+ type: string
required: true
status: SUPPORTED
index_value:
@@ -246,7 +246,7 @@ node_types:
status: SUPPORTED
entry_schema:
type: float
- port_vdbe_untr_port_vlan_requirements:
+ port_vdbe_untr_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
@@ -289,101 +289,89 @@ node_types:
entry_schema:
type: string
requirements:
- - dependency_vdbe_vdbe_untr_port_vdbe_untr_1_subports:
+ - dependency_vdbe:
capability: tosca.capabilities.Node
node: tosca.nodes.Root
relationship: tosca.relationships.DependsOn
occurrences:
- 0
- UNBOUNDED
- - dependency_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_vdbe_untr_1_subports:
+ - local_storage_vdbe:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency_vdbe_vdbe_untr_port_1:
capability: tosca.capabilities.Node
node: tosca.nodes.Root
relationship: tosca.relationships.DependsOn
occurrences:
- 0
- UNBOUNDED
- - subinterface_link_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_vdbe_untr_1_subports:
+ - link_vdbe_vdbe_untr_port_1:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
- - dependency_vdbe_vdbe_untr_port_vdbe_untr_2_subports:
+ - dependency_vdbe_vdbe_untr_port_1_vdbe_untr_1_subports:
capability: tosca.capabilities.Node
node: tosca.nodes.Root
relationship: tosca.relationships.DependsOn
occurrences:
- 0
- UNBOUNDED
- - dependency_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_vdbe_untr_2_subports:
+ - dependency_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_1_vdbe_untr_1_subports:
capability: tosca.capabilities.Node
node: tosca.nodes.Root
relationship: tosca.relationships.DependsOn
occurrences:
- 0
- UNBOUNDED
- - subinterface_link_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_vdbe_untr_2_subports:
+ - subinterface_link_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_1_vdbe_untr_1_subports:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
- - dependency_vdbe:
+ - dependency_vdbe_vdbe_untr_port_1_vdbe_untr_2_subports:
capability: tosca.capabilities.Node
node: tosca.nodes.Root
relationship: tosca.relationships.DependsOn
occurrences:
- 0
- UNBOUNDED
- - local_storage_vdbe:
- capability: tosca.capabilities.Attachment
- node: tosca.nodes.BlockStorage
- relationship: tosca.relationships.AttachesTo
- occurrences:
- - 0
- - UNBOUNDED
- - dependency_vdbe_vdbe_untr_port:
+ - dependency_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_1_vdbe_untr_2_subports:
capability: tosca.capabilities.Node
node: tosca.nodes.Root
relationship: tosca.relationships.DependsOn
occurrences:
- 0
- UNBOUNDED
- - link_vdbe_vdbe_untr_port:
+ - subinterface_link_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_1_vdbe_untr_2_subports:
capability: tosca.capabilities.network.Linkable
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
capabilities:
- network.outgoing.packets.rate_vdbe_vdbe_untr_port:
- type: org.openecomp.capabilities.metric.Ceilometer
- description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
- occurrences:
- - 1
- - UNBOUNDED
- network.outgoing.bytes_vdbe_vdbe_untr_port:
- type: org.openecomp.capabilities.metric.Ceilometer
- description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ forwarder_vdbe_vdbe_untr_port_1:
+ type: org.openecomp.capabilities.Forwarder
occurrences:
- 1
- UNBOUNDED
- feature_vdbe:
+ feature_vdbe_vdbe_untr_port_1_vdbe_untr_1_subports:
type: tosca.capabilities.Node
occurrences:
- 1
- UNBOUNDED
- feature_vdbe_vdbe_untr_port:
+ feature_vdbe:
type: tosca.capabilities.Node
occurrences:
- 1
- UNBOUNDED
- attachment_vdbe_vdbe_untr_port:
- type: tosca.capabilities.Attachment
- occurrences:
- - 1
- - UNBOUNDED
disk.device.iops_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
@@ -431,13 +419,24 @@ node_types:
occurrences:
- 1
- UNBOUNDED
+ feature_vdbe_vdbe_untr_port_1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
disk.write.bytes.rate_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- network.incoming.packets_vdbe_vdbe_untr_port:
+ network.incoming.bytes.rate_vdbe_vdbe_untr_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_vdbe_vdbe_untr_port_1:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
@@ -460,64 +459,49 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- disk.device.capacity_vdbe:
+ network.outgoing.packets.rate_vdbe_vdbe_untr_port_1:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- disk.device.allocation_vdbe:
+ disk.device.capacity_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- disk.usage_vdbe:
+ network.outgoing.bytes_vdbe_vdbe_untr_port_1:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- memory.usage_vdbe:
+ disk.device.allocation_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- network.outpoing.packets_vdbe_vdbe_untr_port:
+ disk.usage_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- network.outgoing.bytes.rate_vdbe_vdbe_untr_port:
+ memory.usage_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- feature_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_vdbe_untr_1_subports:
- type: tosca.capabilities.Node
- occurrences:
- - 1
- - UNBOUNDED
disk.read.requests_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- forwarder_vdbe_vdbe_untr_port:
- type: org.openecomp.capabilities.Forwarder
- occurrences:
- - 1
- - UNBOUNDED
- feature_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_vdbe_untr_2_subports:
- type: tosca.capabilities.Node
- occurrences:
- - 1
- - UNBOUNDED
- binding_vdbe_vdbe_untr_port:
+ binding_vdbe_vdbe_untr_port_1:
type: tosca.capabilities.network.Bindable
valid_source_types:
- org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
@@ -525,13 +509,24 @@ node_types:
occurrences:
- 0
- UNBOUNDED
+ network.incoming.bytes_vdbe_vdbe_untr_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_1_vdbe_untr_1_subports:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
instance_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- network.incoming.bytes.rate_vdbe_vdbe_untr_port:
+ network.outgoing.bytes.rate_vdbe_vdbe_untr_port_1:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
@@ -597,14 +592,8 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- feature_vdbe_vdbe_untr_port_vdbe_untr_1_subports:
- type: tosca.capabilities.Node
- occurrences:
- - 1
- - UNBOUNDED
- network.incoming.bytes_vdbe_vdbe_untr_port:
- type: org.openecomp.capabilities.metric.Ceilometer
- description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ attachment_vdbe_vdbe_untr_port_1:
+ type: tosca.capabilities.Attachment
occurrences:
- 1
- UNBOUNDED
@@ -627,28 +616,45 @@ node_types:
occurrences:
- 1
- UNBOUNDED
+ network.outpoing.packets_vdbe_vdbe_untr_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
disk.read.bytes.rate_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- os_vdbe:
- type: tosca.capabilities.OperatingSystem
+ network.incoming.packets_vdbe_vdbe_untr_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- feature_vdbe_vdbe_untr_port_vdbe_untr_2_subports:
+ feature_vdbe_vdbe_untr_port_1_vdbe_untr_2_subports:
type: tosca.capabilities.Node
occurrences:
- 1
- UNBOUNDED
+ os_vdbe:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
disk.device.read.requests_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
+ feature_vdbe_0_subint_untr_vmi_0_vdbe_vdbe_untr_port_1_vdbe_untr_2_subports:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
disk.root.size_vdbe:
type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
@@ -684,12 +690,6 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- network.incoming.packets.rate_vdbe_vdbe_untr_port:
- type: org.openecomp.capabilities.metric.Ceilometer
- description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
- occurrences:
- - 1
- - UNBOUNDED
org.openecomp.resource.abstract.nodes.heat.subinterface.nested:
derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
properties:
@@ -801,4 +801,4 @@ node_types:
type: tosca.capabilities.Node
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED