summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out
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/computewithtwodiffporttypesandnested/out')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/GlobalSubstitutionTypesServiceTemplate.yaml96
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/MainServiceTemplate.yaml14
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/Nested_pd_serverServiceTemplate.yaml90
3 files changed, 119 insertions, 81 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/GlobalSubstitutionTypesServiceTemplate.yaml
index fd377108d4..76ab87a8b8 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -8,14 +8,6 @@ node_types:
org.openecomp.resource.abstract.nodes.pd_server:
derived_from: org.openecomp.resource.abstract.nodes.VFC
properties:
- 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
compute_pd_server_availability_zone:
type: list
required: true
@@ -28,60 +20,92 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_pd02_port_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
+ vm_flavor_name:
+ type: string
required: true
status: SUPPORTED
- port_pd01_port_exCP_naming:
- type: org.openecomp.datatypes.Naming
+ port_pd02_port_network_role_tag:
+ type: string
required: true
status: SUPPORTED
- vm_flavor_name:
- type: string
+ port_pd02_port_subinterface_indicator:
+ type: list
required: true
status: SUPPORTED
- port_pd02_port_order:
- type: integer
+ entry_schema:
+ type: boolean
+ port_pd01_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
required: true
status: SUPPORTED
- port_pd02_port_subnetpoolid:
+ vm_image_name:
type: string
required: true
status: SUPPORTED
- port_pd02_port_network_role_tag:
+ port_pd01_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pd02_port_network_role:
type: string
required: true
status: SUPPORTED
- port_pd01_port_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
+ port_pd01_port_subinterface_indicator:
+ type: list
required: true
status: SUPPORTED
- port_pd02_port_vlan_requirements:
+ entry_schema:
+ type: boolean
+ port_pd01_port_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
type: org.openecomp.datatypes.network.VlanRequirements
- vm_image_name:
+ compute_pd_server_user_data_format:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ 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_pd02_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pd01_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd02_port_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ port_pd02_port_subnetpoolid:
type: string
required: true
status: SUPPORTED
- port_pd01_port_ip_requirements:
+ port_pd02_port_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
+ type: org.openecomp.datatypes.network.VlanRequirements
port_pd01_port_network:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- port_pd02_port_network_role:
- type: string
- required: true
- status: SUPPORTED
port_pd01_port_order:
type: integer
required: true
@@ -108,24 +132,12 @@ node_types:
type: string
required: true
status: SUPPORTED
- port_pd01_port_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
port_pd02_port_network:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- compute_pd_server_user_data_format:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: string
requirements:
- dependency_pd_server:
capability: tosca.capabilities.Node
@@ -254,6 +266,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
@@ -405,6 +418,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
@@ -872,6 +886,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
@@ -879,6 +894,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/computewithtwodiffporttypesandnested/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/MainServiceTemplate.yaml
index 0feb3e397d..026e8c7ae7 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/out/MainServiceTemplate.yaml
@@ -879,12 +879,11 @@ topology_template:
- get_input:
- pd_server_names
- 0
- port_pd02_port_mac_requirements:
- mac_count_required:
- is_required: false
vm_flavor_name:
get_input: pd_flavor_name
port_pd02_port_network_role_tag: oam
+ port_pd02_port_subinterface_indicator:
+ - true
port_pd01_port_mac_requirements:
mac_count_required:
is_required: false
@@ -901,6 +900,13 @@ topology_template:
is_required: false
floating_ip_count_required:
is_required: false
+ port_pd01_port_subinterface_indicator:
+ - true
+ compute_pd_server_user_data_format:
+ - RAW
+ port_pd02_port_mac_requirements:
+ mac_count_required:
+ is_required: false
port_pd01_port_network:
- get_input: oam_net_name
port_pd02_port_ip_requirements:
@@ -917,8 +923,6 @@ topology_template:
port_pd01_port_network_role_tag: oam
port_pd02_port_network:
- get_input: oam_net_name
- compute_pd_server_user_data_format:
- - RAW
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/computewithtwodiffporttypesandnested/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/computewithtwodiffporttypesandnested/out/Nested_pd_serverServiceTemplate.yaml
index 00419c0525..f84903c708 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwodiffporttypesandnested/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/computewithtwodiffporttypesandnested/out/Nested_pd_serverServiceTemplate.yaml
@@ -11,13 +11,6 @@ node_types:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- constraints:
- - greater_or_equal: 0
compute_pd_server_availability_zone:
type: list
required: true
@@ -28,32 +21,20 @@ topology_template:
required: true
entry_schema:
type: string
- port_pd02_port_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
- port_pd01_port_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
vm_flavor_name:
type: string
required: true
- port_pd02_port_order:
- type: integer
- required: true
- port_pd02_port_subnetpoolid:
- type: string
- required: true
port_pd02_port_network_role_tag:
type: string
required: true
- port_pd01_port_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
- port_pd02_port_vlan_requirements:
+ port_pd02_port_subinterface_indicator:
type: list
required: true
entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
+ type: boolean
+ port_pd01_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
vm_image_name:
type: string
required: true
@@ -62,14 +43,53 @@ topology_template:
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd01_port_network:
+ port_pd02_port_network_role:
+ type: string
+ required: true
+ port_pd01_port_subinterface_indicator:
+ type: list
+ required: true
+ entry_schema:
+ type: boolean
+ port_pd01_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ compute_pd_server_user_data_format:
type: list
required: true
entry_schema:
type: string
- port_pd02_port_network_role:
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_pd02_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pd01_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd02_port_order:
+ type: integer
+ required: true
+ port_pd02_port_subnetpoolid:
type: string
required: true
+ port_pd02_port_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd01_port_network:
+ type: list
+ required: true
+ entry_schema:
+ type: string
port_pd01_port_order:
type: integer
required: true
@@ -90,21 +110,11 @@ topology_template:
port_pd01_port_network_role_tag:
type: string
required: true
- port_pd01_port_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
port_pd02_port_network:
type: list
required: true
entry_schema:
type: string
- compute_pd_server_user_data_format:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pd_server:
type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server
@@ -132,6 +142,10 @@ topology_template:
get_input: port_pd01_port_exCP_naming
vlan_requirements:
get_input: port_pd01_port_vlan_requirements
+ subinterface_indicator:
+ get_input:
+ - port_pd01_port_subinterface_indicator
+ - index_value
ip_requirements:
get_input: port_pd01_port_ip_requirements
network_role_tag:
@@ -160,6 +174,10 @@ topology_template:
get_input: port_pd02_port_exCP_naming
vlan_requirements:
get_input: port_pd02_port_vlan_requirements
+ subinterface_indicator:
+ get_input:
+ - port_pd02_port_subinterface_indicator
+ - index_value
ip_requirements:
get_input: port_pd02_port_ip_requirements
network_role_tag: