summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2
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/fulltest/singleSubstitution/computewithtwosameporttypes2')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml94
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml82
3 files changed, 112 insertions, 76 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 7ddb4b000a..f95dac28ed 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,24 +14,6 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_pd_1_port_0_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd_1_port_0_network_role:
- type: string
- required: true
- status: SUPPORTED
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- status: SUPPORTED
- constraints:
- - greater_or_equal: 0
port_pd_2_port_1_vlan_requirements:
type: list
required: true
@@ -50,6 +32,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pd_2_port_1_subinterface_indicator:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: boolean
port_pd_2_port_1_network:
type: list
required: true
@@ -60,10 +48,6 @@ node_types:
type: string
required: true
status: SUPPORTED
- port_pd_2_port_1_subnetpoolid:
- type: string
- required: true
- status: SUPPORTED
vm_flavor_name:
type: string
required: true
@@ -72,10 +56,12 @@ node_types:
type: integer
required: true
status: SUPPORTED
- port_pd_2_port_1_exCP_naming:
- type: org.openecomp.datatypes.Naming
+ port_pd_1_port_0_subinterface_indicator:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: boolean
vm_image_name:
type: string
required: true
@@ -88,28 +74,12 @@ node_types:
type: org.openecomp.datatypes.network.MacRequirements
required: true
status: SUPPORTED
- port_pd_1_port_0_order:
- type: integer
- required: true
- status: SUPPORTED
- port_pd_1_port_0_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
- status: SUPPORTED
port_pd_1_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd_1_port_0_network_role_tag:
- type: string
- required: true
- status: SUPPORTED
- port_pd_2_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
- status: SUPPORTED
port_pd_2_port_1_ip_requirements:
type: list
required: true
@@ -126,6 +96,48 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pd_1_port_0_vlan_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd_1_port_0_network_role:
+ type: string
+ required: true
+ status: SUPPORTED
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ port_pd_2_port_1_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_pd_2_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_pd_2_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
requirements:
- dependency_pd_server:
capability: tosca.capabilities.Node
@@ -276,6 +288,7 @@ node_types:
type: tosca.capabilities.network.Bindable
valid_source_types:
- org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
occurrences:
- 0
- UNBOUNDED
@@ -470,6 +483,7 @@ node_types:
type: tosca.capabilities.network.Bindable
valid_source_types:
- org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface
occurrences:
- 0
- UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml
index 195972522d..081c90647f 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml
@@ -840,10 +840,14 @@ topology_template:
- get_input:
- pd_server_names
- 0
+ port_pd_2_port_1_subinterface_indicator:
+ - true
port_pd_2_port_1_network:
- get_input: oam_net_name
vm_flavor_name:
get_input: pd_flavor_name
+ port_pd_1_port_0_subinterface_indicator:
+ - true
vm_image_name:
get_input: pd_image_name
port_pd_1_port_0_mac_requirements:
@@ -860,10 +864,6 @@ topology_template:
is_required: false
floating_ip_count_required:
is_required: false
- port_pd_1_port_0_network_role_tag: oam
- port_pd_2_port_1_mac_requirements:
- mac_count_required:
- is_required: false
port_pd_2_port_1_ip_requirements:
- ip_version: 4
ip_count_required:
@@ -878,6 +878,10 @@ topology_template:
port_pd_2_port_1_network_role_tag: oam
compute_pd_server_user_data_format:
- RAW
+ port_pd_1_port_0_network_role_tag: oam
+ port_pd_2_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
service_template_filter:
substitute_service_template: Nested_pd_serverServiceTemplate.yaml
count: 1
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml
index e8e3a93ee6..6e005d07a3 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml
@@ -16,21 +16,6 @@ topology_template:
required: true
entry_schema:
type: string
- port_pd_1_port_0_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd_1_port_0_network_role:
- type: string
- required: true
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- constraints:
- - greater_or_equal: 0
port_pd_2_port_1_vlan_requirements:
type: list
required: true
@@ -46,6 +31,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pd_2_port_1_subinterface_indicator:
+ type: list
+ required: true
+ entry_schema:
+ type: boolean
port_pd_2_port_1_network:
type: list
required: true
@@ -54,18 +44,17 @@ topology_template:
port_pd_2_port_1_network_role:
type: string
required: true
- port_pd_2_port_1_subnetpoolid:
- type: string
- required: true
vm_flavor_name:
type: string
required: true
port_pd_2_port_1_order:
type: integer
required: true
- port_pd_2_port_1_exCP_naming:
- type: org.openecomp.datatypes.Naming
+ port_pd_1_port_0_subinterface_indicator:
+ type: list
required: true
+ entry_schema:
+ type: boolean
vm_image_name:
type: string
required: true
@@ -75,23 +64,11 @@ topology_template:
port_pd_1_port_0_mac_requirements:
type: org.openecomp.datatypes.network.MacRequirements
required: true
- port_pd_1_port_0_order:
- type: integer
- required: true
- port_pd_1_port_0_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
port_pd_1_port_0_ip_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd_1_port_0_network_role_tag:
- type: string
- required: true
- port_pd_2_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
port_pd_2_port_1_ip_requirements:
type: list
required: true
@@ -105,6 +82,39 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pd_1_port_0_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd_1_port_0_network_role:
+ type: string
+ required: true
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_pd_2_port_1_subnetpoolid:
+ type: string
+ required: true
+ port_pd_2_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd_1_port_0_order:
+ type: integer
+ required: true
+ port_pd_1_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd_1_port_0_network_role_tag:
+ type: string
+ required: true
+ port_pd_2_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
node_templates:
pd_server:
type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server
@@ -132,6 +142,10 @@ topology_template:
get_input: port_pd_2_port_1_exCP_naming
vlan_requirements:
get_input: port_pd_2_port_1_vlan_requirements
+ subinterface_indicator:
+ get_input:
+ - port_pd_2_port_1_subinterface_indicator
+ - index_value
ip_requirements:
get_input: port_pd_2_port_1_ip_requirements
network_role_tag:
@@ -160,6 +174,10 @@ topology_template:
get_input: port_pd_1_port_0_exCP_naming
vlan_requirements:
get_input: port_pd_1_port_0_vlan_requirements
+ subinterface_indicator:
+ get_input:
+ - port_pd_1_port_0_subinterface_indicator
+ - index_value
ip_requirements:
get_input: port_pd_1_port_0_ip_requirements
network_role_tag: