aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute
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/nestedSingleCompute')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml258
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/MainServiceTemplate.yaml42
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/Nested_computeServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml90
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/MainServiceTemplate.yaml80
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/Nested_computeServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-oam_v0.1ServiceTemplate.yaml104
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-pcm_v0.1ServiceTemplate.yaml104
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml174
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/MainServiceTemplate.yaml60
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/Nested_computeServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml208
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml104
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml174
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/MainServiceTemplate.yaml60
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/Nested_computeServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml208
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml104
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/in/hot-nimbus-pcm_v0.4.yaml9
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/GlobalSubstitutionTypesServiceTemplate.yaml360
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/MainServiceTemplate.yaml84
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/Nested_computeServiceTemplate.yaml231
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/nested-pcm_v0.1ServiceTemplate.yaml198
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/GlobalSubstitutionTypesServiceTemplate.yaml110
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/MainServiceTemplate.yaml22
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/Nested_computeServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/nested-pcm_v0.1ServiceTemplate.yaml180
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml386
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/MainServiceTemplate.yaml62
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.3ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/GlobalSubstitutionTypesServiceTemplate.yaml258
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/MainServiceTemplate.yaml60
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.1ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.2ServiceTemplate.yaml200
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml130
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/MainServiceTemplate.yaml40
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/Nested_computeServiceTemplate.yaml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml200
42 files changed, 3263 insertions, 2249 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 1155109ae9..977b81a5e5 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,14 +14,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -29,33 +30,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -74,65 +54,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -561,14 +589,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -576,33 +605,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -621,65 +629,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -1393,4 +1449,4 @@ node_types:
type: tosca.capabilities.network.Bindable
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/MainServiceTemplate.yaml
index 2d60fd102c..f67e04bfc0 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/MainServiceTemplate.yaml
@@ -63,10 +63,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -80,10 +100,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.2ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -153,4 +193,4 @@ topology_template:
- compute_port_0
- abstract_compute
- abstract_pcm_server_0
- - abstract_pcm_server_1_0 \ No newline at end of file
+ - abstract_pcm_server_1_0
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/Nested_computeServiceTemplate.yaml
index ba0e3fc87b..caa50c11df 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/Nested_computeServiceTemplate.yaml
@@ -191,4 +191,4 @@ topology_template:
- local_storage
dependency_compute:
- compute
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
index 1a50030cb0..7203c34545 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml
index e75b827856..2cf7197844 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/diffNestedFilesWithSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
index a0430c354b..3e8521f381 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -24,6 +24,12 @@ node_types:
description: UID of OAM network
required: true
status: SUPPORTED
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
availabilityzone_name:
type: string
description: availabilityzone name
@@ -34,7 +40,7 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
@@ -58,6 +64,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
@@ -69,17 +81,13 @@ node_types:
required: true
status: SUPPORTED
port_pcm_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
port_pcm_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
oam_net_name:
type: string
description: OAM network name
@@ -91,6 +99,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
oam_net_gw:
type: string
description: CPS network gateway
@@ -106,12 +120,16 @@ node_types:
description: CPS network ip
required: true
status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
type: string
description: flavor name of PCRF CM instance
@@ -122,6 +140,16 @@ node_types:
description: CPS Cluman Cinder Volume
required: true
status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
cps_net_name:
type: string
description: CPS network name
@@ -587,6 +615,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_oam_port_1_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
oam_server_name:
type: string
description: oam server name
@@ -604,18 +638,34 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_oam_port_1_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_oam_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
port_oam_port_1_order:
type: list
required: true
status: SUPPORTED
entry_schema:
type: integer
+ port_oam_port_0_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
port_oam_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
oam_image_name:
type: string
description: oam image name
@@ -636,6 +686,10 @@ node_types:
description: CPS network gateway
required: true
status: SUPPORTED
+ port_oam_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
oam_flavor_name:
type: string
description: flavor name of PCRF CM instance
@@ -662,19 +716,15 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
port_oam_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
port_oam_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
pcm_vol:
type: string
description: CPS Cluman Cinder Volume
@@ -695,6 +745,12 @@ node_types:
description: CPS network mask
required: true
status: SUPPORTED
+ port_oam_port_0_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
shared_security_group_id1:
type: string
description: UID of OAM network
@@ -1419,4 +1475,4 @@ node_types:
type: tosca.capabilities.network.Bindable
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/MainServiceTemplate.yaml
index 4653c34dcd..e297848243 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/MainServiceTemplate.yaml
@@ -159,8 +159,15 @@ topology_template:
directives:
- substitutable
properties:
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_gw:
get_input: oam_net_gw
pcm_image_name:
@@ -171,6 +178,9 @@ topology_template:
get_input:
- cps_net_ips
- 0
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_flavor_name:
get_input: pcm_flavor_name
service_template_filter:
@@ -179,6 +189,16 @@ topology_template:
get_input:
- pcm_volumes
- 0
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -206,8 +226,28 @@ topology_template:
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
p2: jsa_security_group2
+ port_pcm_port_1_network_role_tag: oam
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -235,22 +275,36 @@ topology_template:
get_input: availabilityzone_name
oam_net_gw:
get_input: oam_net_gw
+ port_oam_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
oam_flavor_name:
get_input: oam_flavor_name
cps_net_ip:
get_input:
- cps_net_ips
- 0
+ port_oam_port_1_network_role_tag: oam
oam_server_name:
get_input:
- oam_server_names
- 0
service_template_filter:
substitute_service_template: nested-oam_v0.1ServiceTemplate.yaml
+ port_oam_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_oam_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_vol:
get_input:
- pcm_volumes
- 0
+ port_oam_port_0_network_role_tag: cps
oam_image_name:
get_input: oam_image_name
cps_net_name:
@@ -263,6 +317,12 @@ topology_template:
- 0
oam_net_mask:
get_input: oam_net_mask
+ port_oam_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_name:
get_input: oam_net_name
compute_port_0:
@@ -288,6 +348,26 @@ topology_template:
substitute_service_template: nested-oam_v0.1ServiceTemplate.yaml
p2:
get_input: shared_security_group_id2
+ port_oam_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_oam_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_oam_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_oam_port_0_network_role_tag: cps
+ port_oam_port_1_network_role_tag: oam
+ port_oam_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
shared_security_group_id1:
get_input: shared_security_group_id1
jsa_security_group1:
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/Nested_computeServiceTemplate.yaml
index 22bdef3d42..cd2a098c90 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/Nested_computeServiceTemplate.yaml
@@ -200,4 +200,4 @@ topology_template:
- local_storage
dependency_compute:
- compute
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-oam_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-oam_v0.1ServiceTemplate.yaml
index 2decadf3c7..ccd5ed5c66 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-oam_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-oam_v0.1ServiceTemplate.yaml
@@ -32,6 +32,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_oam_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
oam_server_name:
label: oam server name
hidden: false
@@ -48,16 +53,29 @@ topology_template:
required: true
entry_schema:
type: string
+ port_oam_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_oam_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_oam_port_1_order:
type: list
required: true
entry_schema:
type: integer
+ port_oam_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
port_oam_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
oam_image_name:
label: image name
hidden: false
@@ -82,6 +100,9 @@ topology_template:
immutable: false
type: string
description: CPS network gateway
+ port_oam_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
oam_flavor_name:
label: PCRF CM flavor name
hidden: false
@@ -109,17 +130,13 @@ topology_template:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
port_oam_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
port_oam_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
@@ -144,6 +161,11 @@ topology_template:
immutable: false
type: string
description: CPS network mask
+ port_oam_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
shared_security_group_id1:
hidden: false
immutable: false
@@ -154,42 +176,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_oam_port_0_ip_requirements
security_groups:
- get_input: shared_security_group_id1
network_role:
- get_input:
- - port_oam_port_0_network_role
- - index_value
+ get_input: port_oam_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_oam_port_0_subnetpoolid
- - index_value
+ get_input: port_oam_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_oam_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_oam_port_0_exCP_naming
- - index_value
+ get_input: port_oam_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_oam_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_oam_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_oam_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_oam_port_0_order
- - index_value
+ get_input: port_oam_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -211,43 +219,29 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_oam_port_1_ip_requirements
security_groups:
- get_input: shared_security_group_id1
- get_input: security_group_name
network_role:
- get_input:
- - port_oam_port_1_network_role
- - index_value
+ get_input: port_oam_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_oam_port_1_subnetpoolid
- - index_value
+ get_input: port_oam_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_oam_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_oam_port_1_exCP_naming
- - index_value
+ get_input: port_oam_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_oam_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_oam_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_oam_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_oam_port_1_order
- - index_value
+ get_input: port_oam_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -477,4 +471,4 @@ topology_template:
- link
dependency_server_oam:
- server_oam
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-pcm_v0.1ServiceTemplate.yaml
index b07c726b57..6309367294 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesConnectedIn/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -26,6 +26,11 @@ topology_template:
immutable: false
type: string
description: UID of OAM network
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
@@ -36,7 +41,7 @@ topology_template:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
@@ -58,6 +63,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
pcm_server_name:
label: PCRF CM server name
hidden: false
@@ -71,15 +81,11 @@ topology_template:
type: string
description: CPS network mask
port_pcm_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
port_pcm_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
oam_net_name:
label: OAM network name
hidden: false
@@ -91,6 +97,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
oam_net_gw:
label: CPS network gateway
hidden: false
@@ -109,11 +120,14 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
@@ -126,6 +140,14 @@ topology_template:
immutable: false
type: string
description: CPS Cluman Cinder Volume
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
@@ -154,42 +176,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: p1
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -212,43 +220,29 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: p1
- get_input: p2
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -478,4 +472,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 7fe923c53b..8bd338194e 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -19,6 +19,12 @@ node_types:
description: metadata
required: true
status: SUPPORTED
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
availabilityzone_name:
type: string
description: availabilityzone name
@@ -29,7 +35,7 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
@@ -53,6 +59,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
@@ -64,17 +76,13 @@ node_types:
required: true
status: SUPPORTED
port_pcm_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
port_pcm_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
oam_net_name:
type: string
description: OAM network name
@@ -86,6 +94,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
oam_net_gw:
type: string
description: CPS network gateway
@@ -101,12 +115,16 @@ node_types:
description: CPS network ip
required: true
status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
type: string
description: flavor name of PCRF CM instance
@@ -127,6 +145,16 @@ node_types:
description: CPS Cluman Cinder Volume
required: true
status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
cps_net_name:
type: string
description: CPS network name
@@ -576,14 +604,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -591,33 +620,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
+ type: org.openecomp.datatypes.network.VlanRequirements
oam_server_name:
type: string
description: oam server name
required: true
status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
port_pcm_port_0_order:
type: list
required: true
@@ -636,65 +644,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
oam_image_name:
type: string
description: oam image name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ oam_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_oam_id:
type: string
@@ -1420,4 +1476,4 @@ node_types:
type: tosca.capabilities.network.Bindable
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/MainServiceTemplate.yaml
index c588790442..e2ba8d9fd4 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/MainServiceTemplate.yaml
@@ -153,8 +153,15 @@ topology_template:
get_attribute:
- compute_port_0
- device_id
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_gw:
get_input: oam_net_gw
pcm_image_name:
@@ -165,6 +172,9 @@ topology_template:
get_input:
- cps_net_ips
- 0
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_flavor_name:
get_input: pcm_flavor_name
key_name:
@@ -181,6 +191,16 @@ topology_template:
get_input:
- pcm_volumes
- 0
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -206,8 +226,28 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -228,8 +268,15 @@ topology_template:
directives:
- substitutable
properties:
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_gw:
get_input: oam_net_gw
oam_flavor_name:
@@ -244,12 +291,25 @@ topology_template:
get_input:
- oam_server_names
- 0
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
service_template_filter:
substitute_service_template: nested-oam_v0.1ServiceTemplate.yaml
pcm_vol:
get_input:
- pcm_volumes
- 0
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
oam_image_name:
get_input: oam_image_name
cps_net_name:
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/Nested_computeServiceTemplate.yaml
index 7455533f3b..945ecc8013 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/Nested_computeServiceTemplate.yaml
@@ -209,4 +209,4 @@ topology_template:
- local_storage
dependency_compute:
- compute
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml
index 2c29cb26d5..96968c134e 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml
@@ -16,52 +16,28 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
- oam_flavor_name:
- label: PCRF CM flavor name
- hidden: false
- immutable: false
- type: string
- description: flavor name of PCRF CM instance
- security_group_name:
- label: security group name
- hidden: false
- immutable: false
- type: string
- description: the name of security group
- cps_net_ip:
- label: CPS network ip
- hidden: false
- immutable: false
- type: string
- description: CPS network ip
+ type: org.openecomp.datatypes.network.VlanRequirements
oam_server_name:
label: oam server name
hidden: false
immutable: false
type: string
description: oam server name
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: json
port_pcm_port_0_order:
type: list
required: true
@@ -77,68 +53,114 @@ topology_template:
required: true
entry_schema:
type: string
- pcm_vol:
- label: CPS Cluman Cinder Volume
- hidden: false
- immutable: false
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
oam_image_name:
label: image name
hidden: false
immutable: false
type: string
description: oam image name
- cps_net_name:
- label: CPS network name
- hidden: false
- immutable: false
- type: string
- description: CPS network name
cps_net_mask:
label: CPS network mask
hidden: false
immutable: false
type: string
description: CPS network mask
- oam_net_ip:
- label: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
hidden: false
immutable: false
type: string
- description: OAM network ip
- oam_net_mask:
- label: CPS network mask
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
hidden: false
immutable: false
type: string
- description: CPS network mask
- port_pcm_port_1_exCP_naming:
+ description: CPS network gateway
+ oam_flavor_name:
+ label: PCRF CM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF CM instance
+ security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_vol:
+ label: CPS Cluman Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS Cluman Cinder Volume
+ port_pcm_port_1_ip_requirements:
type: list
required: true
entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ cps_net_name:
+ label: CPS network name
hidden: false
immutable: false
type: string
- description: OAM network name
+ description: CPS network name
+ oam_net_ip:
+ label: OAM network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network ip
+ oam_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
server_oam:
type: org.openecomp.resource.vfc.nodes.heat.oam_server
@@ -156,42 +178,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -201,42 +209,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -466,4 +460,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml
index 26cd09769f..ff362fd06b 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedNodesGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -22,6 +22,11 @@ topology_template:
immutable: false
type: string
description: metadata
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
@@ -32,7 +37,7 @@ topology_template:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
@@ -54,6 +59,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
pcm_server_name:
label: PCRF CM server name
hidden: false
@@ -67,15 +77,11 @@ topology_template:
type: string
description: CPS network mask
port_pcm_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
port_pcm_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
oam_net_name:
label: OAM network name
hidden: false
@@ -87,6 +93,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
oam_net_gw:
label: CPS network gateway
hidden: false
@@ -105,11 +116,14 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
@@ -134,6 +148,14 @@ topology_template:
immutable: false
type: string
description: CPS Cluman Cinder Volume
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
@@ -162,42 +184,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -220,42 +228,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -485,4 +479,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 70506fc553..54adda6e5b 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -19,6 +19,12 @@ node_types:
description: metadata
required: true
status: SUPPORTED
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
availabilityzone_name:
type: string
description: availabilityzone name
@@ -29,7 +35,7 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
@@ -53,6 +59,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
@@ -64,17 +76,13 @@ node_types:
required: true
status: SUPPORTED
port_pcm_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
port_pcm_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- entry_schema:
- type: json
oam_net_name:
type: string
description: OAM network name
@@ -86,6 +94,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
oam_net_gw:
type: string
description: CPS network gateway
@@ -101,12 +115,16 @@ node_types:
description: CPS network ip
required: true
status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
type: string
description: flavor name of PCRF CM instance
@@ -122,6 +140,16 @@ node_types:
description: CPS Cluman Cinder Volume
required: true
status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
cps_net_name:
type: string
description: CPS network name
@@ -571,14 +599,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -586,33 +615,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
+ type: org.openecomp.datatypes.network.VlanRequirements
oam_server_name:
type: string
description: oam server name
required: true
status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
port_pcm_port_0_order:
type: list
required: true
@@ -631,65 +639,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
oam_image_name:
type: string
description: oam image name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ oam_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_oam_id:
type: string
@@ -1403,4 +1459,4 @@ node_types:
type: tosca.capabilities.network.Bindable
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/MainServiceTemplate.yaml
index f1c5ca1158..96eb3c5023 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/MainServiceTemplate.yaml
@@ -149,8 +149,15 @@ topology_template:
directives:
- substitutable
properties:
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_gw:
get_input: oam_net_gw
pcm_image_name:
@@ -161,6 +168,9 @@ topology_template:
get_input:
- cps_net_ips
- 0
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_flavor_name:
get_input: pcm_flavor_name
service_template_filter:
@@ -169,6 +179,16 @@ topology_template:
get_input:
- pcm_volumes
- 0
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -194,10 +214,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -218,8 +258,15 @@ topology_template:
directives:
- substitutable
properties:
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_gw:
get_input: oam_net_gw
oam_flavor_name:
@@ -234,12 +281,25 @@ topology_template:
get_input:
- oam_server_names
- 0
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
service_template_filter:
substitute_service_template: nested-oam_v0.1ServiceTemplate.yaml
pcm_vol:
get_input:
- pcm_volumes
- 0
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
oam_image_name:
get_input: oam_image_name
cps_net_name:
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/Nested_computeServiceTemplate.yaml
index ddac2173cc..a9f76ff596 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/Nested_computeServiceTemplate.yaml
@@ -191,4 +191,4 @@ topology_template:
- local_storage
dependency_compute:
- compute
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml
index 2c29cb26d5..96968c134e 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-oam_v0.1ServiceTemplate.yaml
@@ -16,52 +16,28 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
- oam_flavor_name:
- label: PCRF CM flavor name
- hidden: false
- immutable: false
- type: string
- description: flavor name of PCRF CM instance
- security_group_name:
- label: security group name
- hidden: false
- immutable: false
- type: string
- description: the name of security group
- cps_net_ip:
- label: CPS network ip
- hidden: false
- immutable: false
- type: string
- description: CPS network ip
+ type: org.openecomp.datatypes.network.VlanRequirements
oam_server_name:
label: oam server name
hidden: false
immutable: false
type: string
description: oam server name
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: json
port_pcm_port_0_order:
type: list
required: true
@@ -77,68 +53,114 @@ topology_template:
required: true
entry_schema:
type: string
- pcm_vol:
- label: CPS Cluman Cinder Volume
- hidden: false
- immutable: false
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
oam_image_name:
label: image name
hidden: false
immutable: false
type: string
description: oam image name
- cps_net_name:
- label: CPS network name
- hidden: false
- immutable: false
- type: string
- description: CPS network name
cps_net_mask:
label: CPS network mask
hidden: false
immutable: false
type: string
description: CPS network mask
- oam_net_ip:
- label: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
hidden: false
immutable: false
type: string
- description: OAM network ip
- oam_net_mask:
- label: CPS network mask
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
hidden: false
immutable: false
type: string
- description: CPS network mask
- port_pcm_port_1_exCP_naming:
+ description: CPS network gateway
+ oam_flavor_name:
+ label: PCRF CM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF CM instance
+ security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_vol:
+ label: CPS Cluman Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS Cluman Cinder Volume
+ port_pcm_port_1_ip_requirements:
type: list
required: true
entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ cps_net_name:
+ label: CPS network name
hidden: false
immutable: false
type: string
- description: OAM network name
+ description: CPS network name
+ oam_net_ip:
+ label: OAM network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network ip
+ oam_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
server_oam:
type: org.openecomp.resource.vfc.nodes.heat.oam_server
@@ -156,42 +178,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -201,42 +209,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -466,4 +460,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml
index ac4560a682..25e983fe2a 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedOutputParamGetAttrIn/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -22,6 +22,11 @@ topology_template:
immutable: false
type: string
description: metadata
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
@@ -32,7 +37,7 @@ topology_template:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
@@ -54,6 +59,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
pcm_server_name:
label: PCRF CM server name
hidden: false
@@ -67,15 +77,11 @@ topology_template:
type: string
description: CPS network mask
port_pcm_port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
port_pcm_port_0_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
oam_net_name:
label: OAM network name
hidden: false
@@ -87,6 +93,11 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
oam_net_gw:
label: CPS network gateway
hidden: false
@@ -105,11 +116,14 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
@@ -128,6 +142,14 @@ topology_template:
immutable: false
type: string
description: CPS Cluman Cinder Volume
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
@@ -156,42 +178,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -214,42 +222,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -479,4 +473,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/in/hot-nimbus-pcm_v0.4.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/in/hot-nimbus-pcm_v0.4.yaml
index dea5d4296c..2b0742207c 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/in/hot-nimbus-pcm_v0.4.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/in/hot-nimbus-pcm_v0.4.yaml
@@ -57,7 +57,7 @@ parameters:
description: the name of security group
compute_image_name:
type: string
- net_name:
+ port_net_name:
type: string
resources:
@@ -87,11 +87,14 @@ resources:
flavor: { compute_flavor_name }
user_data_format: { get_attr: [server_pcm_001 , oam_net_gw] }
metadata: { get_attr: [server_pcm_001]}
+ networks:
+ - port: { get_resource: compute_port_0}
+
compute_port_0:
type: OS::Neutron::Port
properties:
- network: { get_param: net_name }
+ network: { get_param: port_net_name }
packet_mirror_network:
type: OS::Neutron::Net
@@ -99,5 +102,5 @@ resources:
- server_pcm_001
properties:
name:
- get_param: net_name
+ get_param: port_net_name
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/GlobalSubstitutionTypesServiceTemplate.yaml
index fa86dbe5ce..83a37609e0 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,14 +14,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -29,33 +30,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -74,65 +54,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -561,10 +589,12 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- vm_image_name:
- type: string
+ port_compute_port_subnetpoolid:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
index_value:
type: integer
description: Index value of this substitution service template runtime instance
@@ -573,12 +603,12 @@ node_types:
status: SUPPORTED
constraints:
- greater_or_equal: 0
- compute_compute_metadata:
+ port_compute_port_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
compute_compute_name:
type: list
required: true
@@ -589,12 +619,54 @@ node_types:
type: string
required: true
status: SUPPORTED
- compute_compute_config_drive:
+ port_compute_port_network_role:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_compute_port_network:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: boolean
+ type: string
+ port_compute_port_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ compute_compute_metadata:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: json
+ port_compute_port_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
+ port_compute_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_compute_port_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_compute_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
requirements:
- dependency_compute:
capability: tosca.capabilities.Node
@@ -610,246 +682,324 @@ node_types:
occurrences:
- 0
- UNBOUNDED
+ - dependency_compute_compute_port:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_compute_compute_port:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
capabilities:
- disk.device.usage_compute:
+ disk.write.requests_compute:
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.write.requests_compute:
+ disk.latency_compute:
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
- instance_compute:
+ network.incoming.bytes_compute_compute_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
- disk.ephemeral.size_compute:
+ disk.root.size_compute:
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.read.bytes.rate_compute:
+ disk.write.requests.rate_compute:
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.latency_compute:
+ disk.read.requests_compute:
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.resident_compute:
+ os_compute:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_compute:
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_compute:
+ vcpus_compute:
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.iops_compute:
+ disk.device.iops_compute:
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.root.size_compute:
+ network.incoming.bytes.rate_compute_compute_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
- disk.write.requests.rate_compute:
+ disk.device.write.requests.rate_compute:
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.requests_compute:
+ attachment_compute_compute_port:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_compute:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_compute:
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.read.requests.rate_compute:
+ cpu_compute:
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_compute:
+ binding_compute_compute_port:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ disk.allocation_compute:
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.read.bytes_compute:
+ cpu.delta_compute:
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.write.bytes_compute:
+ binding_compute:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_compute_compute_port:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_compute:
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_compute:
+ network.incoming.packets_compute_compute_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
- os_compute:
- type: tosca.capabilities.OperatingSystem
+ instance_compute:
+ 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.write.bytes.rate_compute:
+ disk.ephemeral.size_compute:
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
- vcpus_compute:
+ disk.device.read.bytes.rate_compute:
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.capacity_compute:
+ memory.resident_compute:
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
- cpu_util_compute:
+ memory_compute:
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_compute:
+ disk.iops_compute:
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.latency_compute:
+ network.incoming.packets.rate_compute_compute_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
- disk.device.write.requests_compute:
+ disk.device.read.requests.rate_compute:
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.iops_compute:
+ disk.read.bytes_compute:
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.write.requests.rate_compute:
+ disk.device.read.bytes_compute:
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
- endpoint_compute:
- type: tosca.capabilities.Endpoint.Admin
+ disk.write.bytes_compute:
+ 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_compute:
+ disk.usage_compute:
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
- host_compute:
- type: tosca.capabilities.Container
- valid_source_types:
- - tosca.nodes.SoftwareComponent
+ network.outgoing.bytes.rate_compute_compute_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
- feature_compute:
- type: tosca.capabilities.Node
+ disk.capacity_compute:
+ 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.write.bytes_compute:
+ cpu_util_compute:
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
- cpu_compute:
+ disk.read.bytes.rate_compute:
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.write.bytes.rate_compute:
+ disk.device.latency_compute:
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
- scalable_compute:
- type: tosca.capabilities.Scalable
+ disk.device.write.requests_compute:
+ 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.read.requests_compute:
+ network.outgoing.packets.rate_compute_compute_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
- disk.allocation_compute:
+ network.outgoing.bytes_compute_compute_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
- disk.device.capacity_compute:
+ endpoint_compute:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.usage_compute:
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_compute:
+ feature_compute:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_compute:
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
- cpu.delta_compute:
+ scalable_compute:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_compute_compute_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
- binding_compute:
- type: tosca.capabilities.network.Bindable
+ disk.device.read.requests_compute:
+ 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.capacity_compute:
+ 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_compute:
+ 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 \ 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/fulltest/nestedSingleCompute/nestedWithOneCompute/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/MainServiceTemplate.yaml
index 03d069f43d..77a2573b21 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/MainServiceTemplate.yaml
@@ -87,10 +87,6 @@ topology_template:
type: string
description: flavor name of PCRF CM instance
default: cps
- net_name:
- hidden: false
- immutable: false
- type: string
cps_net_name:
label: CPS network name
hidden: false
@@ -119,14 +115,25 @@ topology_template:
type: string
description: OAM network name
default: oam_protected_net_0
+ port_net_name:
+ hidden: false
+ immutable: false
+ type: string
node_templates:
abstract_pcm_server_0:
type: org.openecomp.resource.abstract.nodes.heat.pcm_server
directives:
- substitutable
properties:
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
oam_net_gw:
get_input: oam_net_gw
pcm_image_name:
@@ -137,6 +144,9 @@ topology_template:
get_input:
- cps_net_ips
- 0
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_flavor_name:
get_input: pcm_flavor_name
service_template_filter:
@@ -145,6 +155,16 @@ topology_template:
get_input:
- pcm_volumes
- 0
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -165,26 +185,12 @@ topology_template:
type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
properties:
network_name:
- get_input: net_name
+ get_input: port_net_name
requirements:
- dependency:
capability: tosca.capabilities.Node
node: abstract_pcm_server_0
relationship: tosca.relationships.DependsOn
- compute_port_0:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net_name
abstract_compute:
type: org.openecomp.resource.abstract.nodes.compute
directives:
@@ -194,34 +200,29 @@ topology_template:
- get_attribute:
- abstract_pcm_server_0
- oam_net_gw
+ compute_compute_name:
+ - compute_name: null
+ vm_flavor_name:
+ compute_flavor_name: null
vm_image_name:
get_input: compute_image_name
+ port_compute_port_network:
+ - get_input: port_net_name
+ port_compute_port_network_role_tag:
+ - port
compute_compute_metadata:
- get_attribute:
- abstract_pcm_server_0
- server_pcm_id
- compute_compute_name:
- - compute_name: null
- vm_flavor_name:
- compute_flavor_name: null
- compute_compute_config_drive:
- - get_attribute:
- - compute_port_0
- - tenant_id
- - port_security_enabled
- - device_id
- - qos_policy
- - allowed_address_pairs
- - show
- - device_owner
- - network
- - security_groups
- - fixed_ips
- - mac_address
- - admin_state_up
- - name
- - subnets
- - status
+ port_compute_port_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_compute_port_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: false
+ floating_ip_count_required:
+ is_required: false
service_template_filter:
substitute_service_template: Nested_computeServiceTemplate.yaml
count: 1
@@ -238,6 +239,5 @@ topology_template:
description: heat template that creates PCRF Cluman stack
members:
- packet_mirror_network
- - compute_port_0
- abstract_compute
- abstract_pcm_server_0 \ 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/fulltest/nestedSingleCompute/nestedWithOneCompute/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/Nested_computeServiceTemplate.yaml
index 22bdef3d42..0695e7dc03 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/Nested_computeServiceTemplate.yaml
@@ -16,9 +16,11 @@ topology_template:
required: true
entry_schema:
type: string
- vm_image_name:
- type: string
+ port_compute_port_subnetpoolid:
+ type: list
required: true
+ entry_schema:
+ type: string
index_value:
type: integer
description: Index value of this substitution service template runtime instance
@@ -26,11 +28,11 @@ topology_template:
default: 0
constraints:
- greater_or_equal: 0
- compute_compute_metadata:
+ port_compute_port_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
compute_compute_name:
type: list
required: true
@@ -39,11 +41,45 @@ topology_template:
vm_flavor_name:
type: string
required: true
- compute_compute_config_drive:
+ port_compute_port_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ vm_image_name:
+ type: string
+ required: true
+ port_compute_port_network:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_compute_port_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ compute_compute_metadata:
type: list
required: true
entry_schema:
- type: boolean
+ type: json
+ port_compute_port_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_compute_port_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_compute_port_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_compute_port_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
node_templates:
compute:
type: org.openecomp.resource.vfc.nodes.heat.compute
@@ -55,9 +91,23 @@ topology_template:
- compute_compute_metadata
- index_value
config_drive:
- get_input:
- - compute_compute_config_drive
- - index_value
+ get_attribute:
+ - compute_compute_port
+ - tenant_id
+ - port_security_enabled
+ - device_id
+ - qos_policy
+ - allowed_address_pairs
+ - show
+ - device_owner
+ - network
+ - security_groups
+ - fixed_ips
+ - mac_address
+ - admin_state_up
+ - name
+ - subnets
+ - status
image:
get_input: vm_image_name
name:
@@ -68,15 +118,106 @@ topology_template:
get_input:
- compute_compute_user_data_format
- index_value
+ compute_compute_port:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ exCP_naming:
+ get_input: port_compute_port_exCP_naming
+ vlan_requirements:
+ get_input: port_compute_port_vlan_requirements
+ ip_requirements:
+ get_input: port_compute_port_ip_requirements
+ network_role_tag:
+ get_input: port_compute_port_network_role_tag
+ mac_requirements:
+ get_input: port_compute_port_mac_requirements
+ order:
+ get_input: port_compute_port_order
+ network_role:
+ get_input: port_compute_port_network_role
+ subnetpoolid:
+ get_input: port_compute_port_subnetpoolid
+ network:
+ get_input:
+ - port_compute_port_network
+ - index_value
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: compute
+ relationship: tosca.relationships.network.BindsTo
substitution_mappings:
node_type: org.openecomp.resource.abstract.nodes.compute
capabilities:
- disk.device.usage_compute:
- - compute
- - disk.device.usage
disk.write.requests_compute:
- compute
- disk.write.requests
+ disk.latency_compute:
+ - compute
+ - disk.latency
+ network.incoming.bytes_compute_compute_port:
+ - compute_compute_port
+ - network.incoming.bytes
+ disk.root.size_compute:
+ - compute
+ - disk.root.size
+ disk.write.requests.rate_compute:
+ - compute
+ - disk.write.requests.rate
+ disk.read.requests_compute:
+ - compute
+ - disk.read.requests
+ os_compute:
+ - compute
+ - os
+ disk.write.bytes.rate_compute:
+ - compute
+ - disk.write.bytes.rate
+ vcpus_compute:
+ - compute
+ - vcpus
+ disk.device.iops_compute:
+ - compute
+ - disk.device.iops
+ network.incoming.bytes.rate_compute_compute_port:
+ - compute_compute_port
+ - network.incoming.bytes.rate
+ disk.device.write.requests.rate_compute:
+ - compute
+ - disk.device.write.requests.rate
+ attachment_compute_compute_port:
+ - compute_compute_port
+ - attachment
+ host_compute:
+ - compute
+ - host
+ disk.device.write.bytes_compute:
+ - compute
+ - disk.device.write.bytes
+ cpu_compute:
+ - compute
+ - cpu
+ binding_compute_compute_port:
+ - compute_compute_port
+ - binding
+ disk.allocation_compute:
+ - compute
+ - disk.allocation
+ cpu.delta_compute:
+ - compute
+ - cpu.delta
+ binding_compute:
+ - compute
+ - binding
+ feature_compute_compute_port:
+ - compute_compute_port
+ - feature
+ disk.device.usage_compute:
+ - compute
+ - disk.device.usage
+ network.incoming.packets_compute_compute_port:
+ - compute_compute_port
+ - network.incoming.packets
instance_compute:
- compute
- instance
@@ -86,9 +227,6 @@ topology_template:
disk.device.read.bytes.rate_compute:
- compute
- disk.device.read.bytes.rate
- disk.latency_compute:
- - compute
- - disk.latency
memory.resident_compute:
- compute
- memory.resident
@@ -98,15 +236,9 @@ topology_template:
disk.iops_compute:
- compute
- disk.iops
- disk.root.size_compute:
- - compute
- - disk.root.size
- disk.write.requests.rate_compute:
- - compute
- - disk.write.requests.rate
- disk.read.requests_compute:
- - compute
- - disk.read.requests
+ network.incoming.packets.rate_compute_compute_port:
+ - compute_compute_port
+ - network.incoming.packets.rate
disk.device.read.requests.rate_compute:
- compute
- disk.device.read.requests.rate
@@ -122,15 +254,9 @@ topology_template:
disk.usage_compute:
- compute
- disk.usage
- os_compute:
- - compute
- - os
- disk.write.bytes.rate_compute:
- - compute
- - disk.write.bytes.rate
- vcpus_compute:
- - compute
- - vcpus
+ network.outgoing.bytes.rate_compute_compute_port:
+ - compute_compute_port
+ - network.outgoing.bytes.rate
disk.capacity_compute:
- compute
- disk.capacity
@@ -146,58 +272,49 @@ topology_template:
disk.device.write.requests_compute:
- compute
- disk.device.write.requests
- disk.device.iops_compute:
- - compute
- - disk.device.iops
- disk.device.write.requests.rate_compute:
- - compute
- - disk.device.write.requests.rate
+ network.outgoing.packets.rate_compute_compute_port:
+ - compute_compute_port
+ - network.outgoing.packets.rate
+ network.outgoing.bytes_compute_compute_port:
+ - compute_compute_port
+ - network.outgoing.bytes
endpoint_compute:
- compute
- endpoint
memory.usage_compute:
- compute
- memory.usage
- host_compute:
- - compute
- - host
feature_compute:
- compute
- feature
- disk.device.write.bytes_compute:
- - compute
- - disk.device.write.bytes
- cpu_compute:
- - compute
- - cpu
disk.device.write.bytes.rate_compute:
- compute
- disk.device.write.bytes.rate
scalable_compute:
- compute
- scalable
+ network.outpoing.packets_compute_compute_port:
+ - compute_compute_port
+ - network.outpoing.packets
disk.device.read.requests_compute:
- compute
- disk.device.read.requests
- disk.allocation_compute:
- - compute
- - disk.allocation
disk.device.capacity_compute:
- compute
- disk.device.capacity
disk.device.allocation_compute:
- compute
- disk.device.allocation
- cpu.delta_compute:
- - compute
- - cpu.delta
- binding_compute:
- - compute
- - binding
requirements:
local_storage_compute:
- compute
- local_storage
+ dependency_compute_compute_port:
+ - compute_compute_port
+ - dependency
+ link_compute_compute_port:
+ - compute_compute_port
+ - link
dependency_compute:
- compute
- dependency \ 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/fulltest/nestedSingleCompute/nestedWithOneCompute/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/nested-pcm_v0.1ServiceTemplate.yaml
index 51429041fe..7da1206ebe 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneCompute/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/GlobalSubstitutionTypesServiceTemplate.yaml
index 670f8d23ae..4214d0dd3f 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -8,102 +8,135 @@ node_types:
org.openecomp.resource.abstract.nodes.heat.pcm_server:
derived_from: org.openecomp.resource.abstract.nodes.VFC
properties:
+ port_pcm_1port_0_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
availabilityzone_name:
type: string
description: availabilityzone name
required: true
status: SUPPORTED
- port_pcm_2port_1_network_role:
+ port_pcm_1port_0_network_role_tag:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- oam_net_gw:
- type: string
- description: CPS network gateway
- required: true
- status: SUPPORTED
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- port_pcm_1port_0_network_role:
+ port_pcm_1port_0_subnetpoolid:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- port_pcm_1port_0_subnetpoolid:
+ port_pcm_1port_0_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
+ port_pcm_2port_1_subnetpoolid:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- security_group_name:
- type: string
- description: the name of security group
+ port_pcm_2port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
required: true
status: SUPPORTED
- port_pcm_1port_0_order:
+ port_pcm_1port_0_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- cps_net_ip:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pcm_1port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ pcm_server_name:
type: string
- description: CPS network ip
+ description: PCRF CM server name
required: true
status: SUPPORTED
- port_pcm_2port_1_subnetpoolid:
+ cps_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ oam_net_name:
+ type: string
+ description: OAM network name
+ required: true
+ status: SUPPORTED
+ port_pcm_1port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_2port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
type: string
- pcm_flavor_name:
+ oam_net_gw:
type: string
- description: flavor name of PCRF CM instance
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_2port_1_exCP_naming:
+ port_pcm_1port_0_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- pcm_vol:
+ type: string
+ port_pcm_2port_1_network_role_tag:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ security_group_name:
type: string
- description: CPS Cluman Cinder Volume
+ description: the name of security group
required: true
status: SUPPORTED
- port_pcm_1port_0_vlan_requirements:
- type: list
+ cps_net_ip:
+ type: string
+ description: CPS network ip
required: true
status: SUPPORTED
- entry_schema:
- type: json
- port_pcm_1port_0_exCP_naming:
+ port_pcm_2port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- pcm_server_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ pcm_flavor_name:
type: string
- description: PCRF CM server name
+ description: flavor name of PCRF CM instance
required: true
status: SUPPORTED
- cps_net_name:
+ port_pcm_2port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ pcm_vol:
type: string
- description: CPS network name
+ description: CPS Cluman Cinder Volume
required: true
status: SUPPORTED
- cps_net_mask:
+ cps_net_name:
type: string
- description: CPS network mask
+ description: CPS network name
required: true
status: SUPPORTED
oam_net_ip:
@@ -116,11 +149,6 @@ node_types:
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_name:
- type: string
- description: OAM network name
- required: true
- status: SUPPORTED
port_pcm_2port_1_order:
type: list
required: true
@@ -132,7 +160,7 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
attributes:
server_pcm_id:
type: string
@@ -852,4 +880,4 @@ node_types:
type: tosca.capabilities.network.Bindable
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/MainServiceTemplate.yaml
index 03d069f43d..0aea357dee 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/MainServiceTemplate.yaml
@@ -125,18 +125,38 @@ topology_template:
directives:
- substitutable
properties:
+ port_pcm_1port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_1port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_1port_0_network_role_tag: cps
oam_net_gw:
get_input: oam_net_gw
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_2port_1_network_role_tag: oam
security_group_name:
get_input: security_group_name
cps_net_ip:
get_input:
- cps_net_ips
- 0
+ port_pcm_2port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_2port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_flavor_name:
get_input: pcm_flavor_name
service_template_filter:
@@ -240,4 +260,4 @@ topology_template:
- packet_mirror_network
- compute_port_0
- abstract_compute
- - abstract_pcm_server_0 \ No newline at end of file
+ - abstract_pcm_server_0
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/Nested_computeServiceTemplate.yaml
index 22bdef3d42..cd2a098c90 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/Nested_computeServiceTemplate.yaml
@@ -200,4 +200,4 @@ topology_template:
- local_storage
dependency_compute:
- compute
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/nested-pcm_v0.1ServiceTemplate.yaml
index ad1fe6a24e..017b37cd78 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/nestedWithOneComputeDiffPortType/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -11,12 +11,75 @@ node_types:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
+ port_pcm_1port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
+ port_pcm_1port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_image_name:
+ label: image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM image name
+ port_pcm_1port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_1port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_2port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_2port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pcm_1port_0_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pcm_1port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_1port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_2port_1_network_role:
type: list
required: true
@@ -28,18 +91,12 @@ topology_template:
immutable: false
type: string
description: CPS network gateway
- pcm_image_name:
- label: image name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM image name
port_pcm_1port_0_network_role:
type: list
required: true
entry_schema:
type: string
- port_pcm_1port_0_subnetpoolid:
+ port_pcm_2port_1_network_role_tag:
type: list
required: true
entry_schema:
@@ -50,22 +107,17 @@ topology_template:
immutable: false
type: string
description: the name of security group
- port_pcm_1port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
cps_net_ip:
label: CPS network ip
hidden: false
immutable: false
type: string
description: CPS network ip
- port_pcm_2port_1_subnetpoolid:
+ port_pcm_2port_1_ip_requirements:
type: list
required: true
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
@@ -73,44 +125,20 @@ topology_template:
type: string
description: flavor name of PCRF CM instance
port_pcm_2port_1_exCP_naming:
- type: list
+ type: org.openecomp.datatypes.Naming
required: true
- entry_schema:
- type: json
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- port_pcm_1port_0_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_1port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -123,12 +151,6 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_2port_1_order:
type: list
required: true
@@ -138,7 +160,7 @@ topology_template:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
node_templates:
server_pcm:
type: org.openecomp.resource.vfc.nodes.heat.pcm_server
@@ -157,42 +179,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_1port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_1port_0_network_role
- - index_value
+ get_input: port_pcm_1port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_1port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_1port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_1port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_1port_0_exCP_naming
- - index_value
+ get_input: port_pcm_1port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_1port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_1port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_1port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_1port_0_order
- - index_value
+ get_input: port_pcm_1port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_2port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_2port_1_network_role
- - index_value
+ get_input: port_pcm_2port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_2port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_2port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_2port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_2port_1_exCP_naming
- - index_value
+ get_input: port_pcm_2port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_2port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_2port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_2port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_2port_1_order
- - index_value
+ get_input: port_pcm_2port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
link_pcm_2port_1:
- pcm_2port_1
- - link \ No newline at end of file
+ - link
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
index de3481367e..61a8efade2 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,14 +14,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -29,33 +30,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -74,65 +54,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -561,14 +589,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -576,33 +605,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -621,65 +629,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -1108,14 +1164,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -1123,33 +1180,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -1168,65 +1204,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -1645,4 +1729,4 @@ node_types:
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/MainServiceTemplate.yaml
index c19623e0b9..3513346ba9 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/MainServiceTemplate.yaml
@@ -63,10 +63,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -80,10 +100,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.2ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -97,10 +137,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.3ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -129,4 +189,4 @@ topology_template:
- compute_port_0
- abstract_pcm_server_0
- abstract_pcm_server_1_0
- - abstract_pcm_server_2_0 \ No newline at end of file
+ - abstract_pcm_server_2_0
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
index 1a50030cb0..7203c34545 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml
index e75b827856..2cf7197844 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.2ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.3ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.3ServiceTemplate.yaml
index 4803278efc..6d481423af 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.3ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedPointingToThreeDiffNestedFilesSameComputeType/out/nested-pcm_v0.3ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/GlobalSubstitutionTypesServiceTemplate.yaml
index fe6e819385..038d880cd0 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,14 +14,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -29,33 +30,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -74,65 +54,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -561,14 +589,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -576,33 +605,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -621,65 +629,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -1098,4 +1154,4 @@ node_types:
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/MainServiceTemplate.yaml
index bfd33fce29..85e96b69aa 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/MainServiceTemplate.yaml
@@ -63,10 +63,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -80,10 +100,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.2ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -97,10 +137,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.1ServiceTemplate.yaml
index 51429041fe..5d82785583 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.2ServiceTemplate.yaml
index bae5cf0d08..2742d5d605 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.2ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/threeNestedSameTypeTwoPointingOnSameNestedFile/out/nested-pcm_v0.2ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
index b9bd9b6cf8..508e2c0c5e 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,14 +14,15 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- availabilityzone_name:
- type: string
- description: availabilityzone name
+ port_pcm_port_1_network_role_tag:
+ type: list
required: true
status: SUPPORTED
- oam_net_gw:
+ entry_schema:
+ type: string
+ availabilityzone_name:
type: string
- description: CPS network gateway
+ description: availabilityzone name
required: true
status: SUPPORTED
port_pcm_port_0_vlan_requirements:
@@ -29,33 +30,12 @@ node_types:
required: true
status: SUPPORTED
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
type: string
description: PCRF CM image name
required: true
status: SUPPORTED
- security_group_name:
- type: string
- description: the name of security group
- required: true
- status: SUPPORTED
- cps_net_ip:
- type: string
- description: CPS network ip
- required: true
- status: SUPPORTED
- port_pcm_port_1_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: json
- pcm_flavor_name:
- type: string
- description: flavor name of PCRF CM instance
- required: true
- status: SUPPORTED
port_pcm_port_0_order:
type: list
required: true
@@ -74,65 +54,113 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- pcm_vol:
- type: string
- description: CPS Cluman Cinder Volume
+ port_pcm_port_0_network_role_tag:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: string
pcm_server_name:
type: string
description: PCRF CM server name
required: true
status: SUPPORTED
- cps_net_name:
- type: string
- description: CPS network name
- required: true
- status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
required: true
status: SUPPORTED
- oam_net_ip:
- type: string
- description: OAM network ip
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
- oam_net_mask:
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ oam_net_name:
type: string
- description: CPS network mask
+ description: OAM network name
required: true
status: SUPPORTED
- port_pcm_port_1_exCP_naming:
+ port_pcm_port_1_network_role:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
+ type: string
+ port_pcm_port_0_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: json
- oam_net_name:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
type: string
- description: OAM network name
+ description: CPS network gateway
required: true
status: SUPPORTED
- port_pcm_port_1_order:
+ security_group_name:
+ type: string
+ description: the name of security group
+ required: true
+ status: SUPPORTED
+ cps_net_ip:
+ type: string
+ description: CPS network ip
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: integer
- port_pcm_port_1_network_role:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
+ pcm_vol:
+ type: string
+ description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ cps_net_name:
+ type: string
+ description: CPS network name
+ required: true
+ status: SUPPORTED
+ oam_net_ip:
+ type: string
+ description: OAM network ip
+ required: true
+ status: SUPPORTED
+ oam_net_mask:
+ type: string
+ description: CPS network mask
+ required: true
+ status: SUPPORTED
+ port_pcm_port_1_order:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: integer
attributes:
server_pcm_id:
type: string
@@ -846,4 +874,4 @@ node_types:
type: tosca.capabilities.network.Bindable
occurrences:
- 1
- - UNBOUNDED \ No newline at end of file
+ - UNBOUNDED
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/MainServiceTemplate.yaml
index f81b5470ce..bb37b60eba 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/MainServiceTemplate.yaml
@@ -63,10 +63,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
@@ -80,10 +100,30 @@ topology_template:
get_input: pcm_flavor_name
service_template_filter:
substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
+ port_pcm_port_1_network_role_tag: oam
availabilityzone_name:
get_input: availabilityzone_name
+ port_pcm_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
pcm_image_name:
get_input: pcm_image_name
+ port_pcm_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
+ port_pcm_port_1_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
+ port_pcm_port_0_network_role_tag: cps
+ port_pcm_port_0_mac_requirements:
+ mac_count_required:
+ is_required: false
pcm_server_name:
get_input:
- pcm_server_names
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/Nested_computeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/Nested_computeServiceTemplate.yaml
index ba0e3fc87b..caa50c11df 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/Nested_computeServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/Nested_computeServiceTemplate.yaml
@@ -191,4 +191,4 @@ topology_template:
- local_storage
dependency_compute:
- compute
- - dependency \ No newline at end of file
+ - dependency
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
index 51429041fe..5d82785583 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedSingleCompute/twoNestedNodeTemplatesWithSameComputeType/out/nested-pcm_v0.1ServiceTemplate.yaml
@@ -16,29 +16,88 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pcm_port_1_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
availabilityzone_name:
label: availabilityzone name
hidden: false
immutable: false
type: string
description: availabilityzone name
- oam_net_gw:
- label: CPS network gateway
- hidden: false
- immutable: false
- type: string
- description: CPS network gateway
port_pcm_port_0_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_image_name:
label: image name
hidden: false
immutable: false
type: string
description: PCRF CM image name
+ port_pcm_port_0_order:
+ type: list
+ required: true
+ entry_schema:
+ type: integer
+ port_pcm_port_0_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_1_subnetpoolid:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_network_role_tag:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ port_pcm_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pcm_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ port_pcm_port_1_network_role:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ port_pcm_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
security_group_name:
label: security group name
hidden: false
@@ -51,56 +110,40 @@ topology_template:
immutable: false
type: string
description: CPS network ip
+ port_pcm_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
port_pcm_port_1_vlan_requirements:
type: list
required: true
entry_schema:
- type: json
+ type: org.openecomp.datatypes.network.VlanRequirements
pcm_flavor_name:
label: PCRF CM flavor name
hidden: false
immutable: false
type: string
description: flavor name of PCRF CM instance
- port_pcm_port_0_order:
- type: list
- required: true
- entry_schema:
- type: integer
- port_pcm_port_0_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
- port_pcm_port_1_subnetpoolid:
- type: list
- required: true
- entry_schema:
- type: string
pcm_vol:
label: CPS Cluman Cinder Volume
hidden: false
immutable: false
type: string
description: CPS Cluman Cinder Volume
- pcm_server_name:
- label: PCRF CM server name
- hidden: false
- immutable: false
- type: string
- description: PCRF CM server name
+ port_pcm_port_1_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pcm_port_0_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
cps_net_name:
label: CPS network name
hidden: false
immutable: false
type: string
description: CPS network name
- cps_net_mask:
- label: CPS network mask
- hidden: false
- immutable: false
- type: string
- description: CPS network mask
oam_net_ip:
label: OAM network ip
hidden: false
@@ -113,73 +156,38 @@ topology_template:
immutable: false
type: string
description: CPS network mask
- port_pcm_port_1_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- port_pcm_port_0_exCP_naming:
- type: list
- required: true
- entry_schema:
- type: json
- oam_net_name:
- label: OAM network name
- hidden: false
- immutable: false
- type: string
- description: OAM network name
port_pcm_port_1_order:
type: list
required: true
entry_schema:
type: integer
- port_pcm_port_1_network_role:
- type: list
- required: true
- entry_schema:
- type: string
node_templates:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_1_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_1_network_role
- - index_value
+ get_input: port_pcm_port_1_network_role
fixed_ips:
- ip_address:
get_input: oam_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_1_subnetpoolid
- - index_value
+ get_input: port_pcm_port_1_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_1_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_1_exCP_naming
- - index_value
+ get_input: port_pcm_port_1_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_1_vlan_requirements
- - index_value
- network_role_tag: oam
+ get_input: port_pcm_port_1_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_1_network_role_tag
network:
get_input: oam_net_name
order:
- get_input:
- - port_pcm_port_1_order
- - index_value
+ get_input: port_pcm_port_1_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -202,42 +210,28 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
+ get_input: port_pcm_port_0_ip_requirements
security_groups:
- get_input: security_group_name
network_role:
- get_input:
- - port_pcm_port_0_network_role
- - index_value
+ get_input: port_pcm_port_0_network_role
fixed_ips:
- ip_address:
get_input: cps_net_ip
subnetpoolid:
- get_input:
- - port_pcm_port_0_subnetpoolid
- - index_value
+ get_input: port_pcm_port_0_subnetpoolid
mac_requirements:
- mac_count_required:
- is_required: false
+ get_input: port_pcm_port_0_mac_requirements
exCP_naming:
- get_input:
- - port_pcm_port_0_exCP_naming
- - index_value
+ get_input: port_pcm_port_0_exCP_naming
vlan_requirements:
- get_input:
- - port_pcm_port_0_vlan_requirements
- - index_value
- network_role_tag: cps
+ get_input: port_pcm_port_0_vlan_requirements
+ network_role_tag:
+ get_input: port_pcm_port_0_network_role_tag
network:
get_input: cps_net_name
order:
- get_input:
- - port_pcm_port_0_order
- - index_value
+ get_input: port_pcm_port_0_order
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -467,4 +461,4 @@ topology_template:
- dependency
dependency_pcm_port_1:
- pcm_port_1
- - dependency \ No newline at end of file
+ - dependency