aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out
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/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out
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/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml100
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/MainServiceTemplate.yaml34
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/Nested_pd_serverServiceTemplate.yaml90
3 files changed, 130 insertions, 94 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 7c21a09074..6d9b66fe62 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -24,28 +24,10 @@ node_types:
status: SUPPORTED
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd01_port_0_network_role_tag:
- type: string
- required: true
- status: SUPPORTED
port_pd01_port_0_network_role:
type: string
required: true
status: SUPPORTED
- port_pd01_port_1_ip_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
- 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
@@ -58,18 +40,16 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_pd01_port_1_order:
- type: integer
+ port_pd01_port_0_subinterface_indicator:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: boolean
vm_flavor_name:
type: string
required: true
status: SUPPORTED
- port_pd01_port_0_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
- status: SUPPORTED
port_pd01_port_1_network_role:
type: string
required: true
@@ -78,54 +58,86 @@ node_types:
type: integer
required: true
status: SUPPORTED
- port_pd01_port_1_vlan_requirements:
- type: list
+ port_pd01_port_1_subnetpoolid:
+ type: string
required: true
status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd01_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
+ vm_image_name:
+ type: string
required: true
status: SUPPORTED
- port_pd01_port_1_subnetpoolid:
+ port_pd01_port_1_network_role_tag:
type: string
required: true
status: SUPPORTED
- vm_image_name:
+ port_pd01_port_0_subnetpoolid:
type: string
required: true
status: SUPPORTED
- port_pd01_port_1_exCP_naming:
- type: org.openecomp.datatypes.Naming
+ port_pd01_port_1_network:
+ type: list
required: true
status: SUPPORTED
- port_pd01_port_1_network_role_tag:
+ entry_schema:
+ type: string
+ compute_pd_server_user_data_format:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ port_pd01_port_0_network_role_tag:
type: string
required: true
status: SUPPORTED
- port_pd01_port_0_vlan_requirements:
+ port_pd01_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd01_port_0_subnetpoolid:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ 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_pd01_port_1_subinterface_indicator:
+ type: list
required: true
status: SUPPORTED
- port_pd01_port_1_network:
+ entry_schema:
+ type: boolean
+ port_pd01_port_1_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ port_pd01_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd01_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
- compute_pd_server_user_data_format:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd01_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pd01_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd01_port_0_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.VlanRequirements
attributes:
pd_server_pd01_port_0_device_id:
type: string
@@ -182,6 +194,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
@@ -200,6 +213,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/samePortTypeAndOutParamGetAttrIn/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/MainServiceTemplate.yaml
index a636a190ca..5f7c815eec 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/out/MainServiceTemplate.yaml
@@ -848,29 +848,16 @@ topology_template:
is_required: false
floating_ip_count_required:
is_required: false
- port_pd01_port_0_network_role_tag: oam
- port_pd01_port_1_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
compute_pd_server_availability_zone:
- get_input: availabilityzone_name
compute_pd_server_name:
- get_input:
- pd_server_names
- 0
+ port_pd01_port_0_subinterface_indicator:
+ - true
vm_flavor_name:
get_input: pd_flavor_name
- port_pd01_port_1_mac_requirements:
- mac_count_required:
- is_required: false
vm_image_name:
get_input: pd_image_name
port_pd01_port_1_network_role_tag: oam
@@ -878,6 +865,23 @@ topology_template:
- get_input: oam_net_name
compute_pd_server_user_data_format:
- RAW
+ port_pd01_port_0_network_role_tag: oam
+ port_pd01_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: false
+ floating_ip_count_required:
+ is_required: false
+ - ip_version: 6
+ ip_count_required:
+ is_required: false
+ floating_ip_count_required:
+ is_required: false
+ port_pd01_port_1_subinterface_indicator:
+ - true
+ port_pd01_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/samePortTypeAndOutParamGetAttrIn/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/samePortTypeAndOutParamGetAttrIn/out/Nested_pd_serverServiceTemplate.yaml
index 54aaaadf4b..f934f60a74 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/samePortTypeAndOutParamGetAttrIn/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/samePortTypeAndOutParamGetAttrIn/out/Nested_pd_serverServiceTemplate.yaml
@@ -24,24 +24,9 @@ topology_template:
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd01_port_0_network_role_tag:
- type: string
- required: true
port_pd01_port_0_network_role:
type: string
required: true
- port_pd01_port_1_ip_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
- 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
@@ -52,46 +37,29 @@ topology_template:
required: true
entry_schema:
type: string
- port_pd01_port_1_order:
- type: integer
+ port_pd01_port_0_subinterface_indicator:
+ type: list
required: true
+ entry_schema:
+ type: boolean
vm_flavor_name:
type: string
required: true
- port_pd01_port_0_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
port_pd01_port_1_network_role:
type: string
required: true
port_pd01_port_0_order:
type: integer
required: true
- port_pd01_port_1_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd01_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
port_pd01_port_1_subnetpoolid:
type: string
required: true
vm_image_name:
type: string
required: true
- port_pd01_port_1_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
port_pd01_port_1_network_role_tag:
type: string
required: true
- port_pd01_port_0_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
port_pd01_port_0_subnetpoolid:
type: string
required: true
@@ -105,6 +73,48 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pd01_port_0_network_role_tag:
+ type: string
+ required: true
+ port_pd01_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_pd01_port_1_subinterface_indicator:
+ type: list
+ required: true
+ entry_schema:
+ type: boolean
+ port_pd01_port_1_order:
+ type: integer
+ required: true
+ port_pd01_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd01_port_1_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd01_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pd01_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd01_port_0_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
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_1_exCP_naming
vlan_requirements:
get_input: port_pd01_port_1_vlan_requirements
+ subinterface_indicator:
+ get_input:
+ - port_pd01_port_1_subinterface_indicator
+ - index_value
ip_requirements:
get_input: port_pd01_port_1_ip_requirements
network_role_tag:
@@ -160,6 +174,10 @@ topology_template:
get_input: port_pd01_port_0_exCP_naming
vlan_requirements:
get_input: port_pd01_port_0_vlan_requirements
+ subinterface_indicator:
+ get_input:
+ - port_pd01_port_0_subinterface_indicator
+ - index_value
ip_requirements:
get_input: port_pd01_port_0_ip_requirements
network_role_tag: