aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml82
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml30
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml78
3 files changed, 79 insertions, 111 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml
index d5acb4ca67..2c72b0aa07 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -22,6 +22,20 @@ node_types:
status: SUPPORTED
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ port_pd_oam1_port_0_ip_requirements:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
compute_pd_server_availability_zone:
type: list
required: true
@@ -42,48 +56,6 @@ node_types:
type: integer
required: true
status: SUPPORTED
- port_pd_oam1_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
- status: SUPPORTED
- port_pd_oam1_port_1_network_role:
- type: string
- required: true
- status: SUPPORTED
- vm_image_name:
- type: string
- required: true
- status: SUPPORTED
- port_pd_oam1_port_1_subinterface_indicator:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: boolean
- port_pd_oam1_port_1_network_role_tag:
- type: string
- required: true
- status: SUPPORTED
- compute_pd_server_user_data_format:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: string
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- status: SUPPORTED
- constraints:
- - greater_or_equal: 0
- port_pd_oam1_port_0_ip_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
port_pd_oam1_port_0_vlan_requirements:
type: list
required: true
@@ -96,16 +68,18 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_pd_oam1_port_1_subnetpoolid:
+ port_pd_oam1_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
+ port_pd_oam1_port_1_network_role:
type: string
required: true
status: SUPPORTED
- port_pd_oam1_port_0_subinterface_indicator:
- type: list
+ port_pd_oam1_port_1_subnetpoolid:
+ type: string
required: true
status: SUPPORTED
- entry_schema:
- type: boolean
port_pd_oam1_port_0_order:
type: integer
required: true
@@ -120,6 +94,10 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
+ vm_image_name:
+ type: string
+ required: true
+ status: SUPPORTED
port_pd_oam1_port_0_subnetpoolid:
type: string
required: true
@@ -128,6 +106,10 @@ node_types:
type: org.openecomp.datatypes.Naming
required: true
status: SUPPORTED
+ port_pd_oam1_port_1_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
port_pd_oam1_port_1_vlan_requirements:
type: list
required: true
@@ -138,6 +120,12 @@ node_types:
type: org.openecomp.datatypes.network.MacRequirements
required: true
status: SUPPORTED
+ compute_pd_server_user_data_format:
+ type: list
+ required: true
+ status: SUPPORTED
+ entry_schema:
+ type: string
requirements:
- dependency_pd_server:
capability: tosca.capabilities.Node
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml
index 33bdfa22df..4f4840d9ba 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml
@@ -839,6 +839,12 @@ topology_template:
is_required: false
floating_ip_count_required:
is_required: false
+ port_pd_oam1_port_0_ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: false
+ floating_ip_count_required:
+ is_required: false
compute_pd_server_availability_zone:
- get_input: availabilityzone_name
compute_pd_server_name:
@@ -847,31 +853,21 @@ topology_template:
- 0
vm_flavor_name:
get_input: pd_flavor_name
+ port_pd_oam1_port_1_network:
+ - get_input: oam_net_name
port_pd_oam1_port_1_mac_requirements:
mac_count_required:
is_required: false
+ port_pd_oam1_port_0_network:
+ - get_input: oam_net_name
vm_image_name:
get_input: pd_image_name
- port_pd_oam1_port_1_subinterface_indicator:
- - false
port_pd_oam1_port_1_network_role_tag: oam
- compute_pd_server_user_data_format:
- - RAW
- port_pd_oam1_port_0_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_pd_oam1_port_1_network:
- - get_input: oam_net_name
- port_pd_oam1_port_0_subinterface_indicator:
- - false
- port_pd_oam1_port_0_network:
- - get_input: oam_net_name
port_pd_oam1_port_0_mac_requirements:
mac_count_required:
is_required: false
+ compute_pd_server_user_data_format:
+ - RAW
service_template_filter:
substitute_service_template: Nested_pd_serverServiceTemplate.yaml
count: 1
@@ -887,4 +883,4 @@ topology_template:
heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
description: heat template that creates MOG stack
members:
- - abstract_pd_server \ No newline at end of file
+ - abstract_pd_server
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml
index ccd2d95f87..fdcc754cb8 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml
@@ -22,6 +22,18 @@ topology_template:
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_pd_oam1_port_0_ip_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
compute_pd_server_availability_zone:
type: list
required: true
@@ -38,40 +50,6 @@ topology_template:
port_pd_oam1_port_1_order:
type: integer
required: true
- port_pd_oam1_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
- port_pd_oam1_port_1_network_role:
- type: string
- required: true
- vm_image_name:
- type: string
- required: true
- port_pd_oam1_port_1_subinterface_indicator:
- type: list
- required: true
- entry_schema:
- type: boolean
- port_pd_oam1_port_1_network_role_tag:
- type: string
- required: true
- compute_pd_server_user_data_format:
- type: list
- required: true
- entry_schema:
- type: string
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- constraints:
- - greater_or_equal: 0
- port_pd_oam1_port_0_ip_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
port_pd_oam1_port_0_vlan_requirements:
type: list
required: true
@@ -82,14 +60,15 @@ topology_template:
required: true
entry_schema:
type: string
- port_pd_oam1_port_1_subnetpoolid:
+ port_pd_oam1_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ port_pd_oam1_port_1_network_role:
type: string
required: true
- port_pd_oam1_port_0_subinterface_indicator:
- type: list
+ port_pd_oam1_port_1_subnetpoolid:
+ type: string
required: true
- entry_schema:
- type: boolean
port_pd_oam1_port_0_order:
type: integer
required: true
@@ -101,12 +80,18 @@ topology_template:
required: true
entry_schema:
type: string
+ vm_image_name:
+ type: string
+ required: true
port_pd_oam1_port_0_subnetpoolid:
type: string
required: true
port_pd_oam1_port_0_exCP_naming:
type: org.openecomp.datatypes.Naming
required: true
+ port_pd_oam1_port_1_network_role_tag:
+ type: string
+ required: true
port_pd_oam1_port_1_vlan_requirements:
type: list
required: true
@@ -115,6 +100,11 @@ topology_template:
port_pd_oam1_port_0_mac_requirements:
type: org.openecomp.datatypes.network.MacRequirements
required: true
+ compute_pd_server_user_data_format:
+ type: list
+ required: true
+ entry_schema:
+ type: string
node_templates:
pd_server:
type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server
@@ -142,10 +132,7 @@ topology_template:
get_input: port_pd_oam1_port_1_exCP_naming
vlan_requirements:
get_input: port_pd_oam1_port_1_vlan_requirements
- subinterface_indicator:
- get_input:
- - port_pd_oam1_port_1_subinterface_indicator
- - index_value
+ subinterface_indicator: false
ip_requirements:
get_input: port_pd_oam1_port_1_ip_requirements
network_role_tag:
@@ -174,10 +161,7 @@ topology_template:
get_input: port_pd_oam1_port_0_exCP_naming
vlan_requirements:
get_input: port_pd_oam1_port_0_vlan_requirements
- subinterface_indicator:
- get_input:
- - port_pd_oam1_port_0_subinterface_indicator
- - index_value
+ subinterface_indicator: false
ip_requirements:
get_input: port_pd_oam1_port_0_ip_requirements
network_role_tag: