summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml94
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml10
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml82
3 files changed, 106 insertions, 80 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml
index d689fd88ea..54a9238b79 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -14,24 +14,6 @@ node_types:
status: SUPPORTED
entry_schema:
type: string
- port_pd_1_port_0_vlan_requirements:
- type: list
- required: true
- status: SUPPORTED
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd_1_port_0_network_role:
- type: string
- required: true
- status: SUPPORTED
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- status: SUPPORTED
- constraints:
- - greater_or_equal: 0
port_pd_2_port_1_vlan_requirements:
type: list
required: true
@@ -60,22 +42,20 @@ node_types:
type: string
required: true
status: SUPPORTED
- port_pd_2_port_1_subnetpoolid:
+ vm_flavor_name:
type: string
required: true
status: SUPPORTED
- vm_flavor_name:
- type: string
+ port_pd_2_port_1_related_networks:
+ type: list
required: true
status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.network.RelatedNetworksAssignments
port_pd_2_port_1_order:
type: integer
required: true
status: SUPPORTED
- port_pd_2_port_1_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
- status: SUPPORTED
vm_image_name:
type: string
required: true
@@ -88,44 +68,76 @@ node_types:
type: org.openecomp.datatypes.network.MacRequirements
required: true
status: SUPPORTED
- port_pd_1_port_0_order:
- type: integer
- required: true
- status: SUPPORTED
- port_pd_1_port_0_exCP_naming:
- type: org.openecomp.datatypes.Naming
+ port_pd_1_port_0_ip_requirements:
+ type: list
required: true
status: SUPPORTED
- port_pd_1_port_0_ip_requirements:
+ entry_schema:
+ type: org.openecomp.datatypes.network.IpRequirements
+ port_pd_2_port_1_ip_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd_1_port_0_network_role_tag:
+ port_pd_2_port_1_network_role_tag:
type: string
required: true
status: SUPPORTED
- port_pd_2_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
+ compute_pd_server_user_data_format:
+ type: list
required: true
status: SUPPORTED
- port_pd_2_port_1_ip_requirements:
+ entry_schema:
+ type: string
+ port_pd_1_port_0_vlan_requirements:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: org.openecomp.datatypes.network.IpRequirements
- port_pd_2_port_1_network_role_tag:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd_1_port_0_network_role:
type: string
required: true
status: SUPPORTED
- compute_pd_server_user_data_format:
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ status: SUPPORTED
+ constraints:
+ - greater_or_equal: 0
+ port_pd_2_port_1_subnetpoolid:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_related_networks:
type: list
required: true
status: SUPPORTED
entry_schema:
- type: string
+ type: org.openecomp.datatypes.network.RelatedNetworksAssignments
+ port_pd_2_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_order:
+ type: integer
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ status: SUPPORTED
+ port_pd_1_port_0_network_role_tag:
+ type: string
+ required: true
+ status: SUPPORTED
+ port_pd_2_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
+ status: SUPPORTED
requirements:
- dependency_pd_server:
capability: tosca.capabilities.Node
@@ -551,4 +563,4 @@ node_types:
type: org.openecomp.capabilities.Forwarder
occurrences:
- 1
- - UNBOUNDED
+ - 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/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml
index 81e6cac6ff..27ed7f028c 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml
@@ -855,10 +855,6 @@ topology_template:
is_required: false
floating_ip_count_required:
is_required: false
- port_pd_1_port_0_network_role_tag: oam
- port_pd_2_port_1_mac_requirements:
- mac_count_required:
- is_required: false
port_pd_2_port_1_ip_requirements:
- ip_version: 4
ip_count_required:
@@ -868,6 +864,10 @@ topology_template:
port_pd_2_port_1_network_role_tag: oam
compute_pd_server_user_data_format:
- RAW
+ port_pd_1_port_0_network_role_tag: oam
+ port_pd_2_port_1_mac_requirements:
+ mac_count_required:
+ is_required: false
service_template_filter:
substitute_service_template: Nested_pd_serverServiceTemplate.yaml
count: 1
@@ -883,4 +883,4 @@ topology_template:
heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
description: heat template that creates MOG stack
members:
- - abstract_pd_server
+ - abstract_pd_server \ 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/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml
index 58da3124e9..dbed687049 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml
@@ -16,21 +16,6 @@ topology_template:
required: true
entry_schema:
type: string
- port_pd_1_port_0_vlan_requirements:
- type: list
- required: true
- entry_schema:
- type: org.openecomp.datatypes.network.VlanRequirements
- port_pd_1_port_0_network_role:
- type: string
- required: true
- index_value:
- type: integer
- description: Index value of this substitution service template runtime instance
- required: false
- default: 0
- constraints:
- - greater_or_equal: 0
port_pd_2_port_1_vlan_requirements:
type: list
required: true
@@ -54,18 +39,17 @@ topology_template:
port_pd_2_port_1_network_role:
type: string
required: true
- port_pd_2_port_1_subnetpoolid:
- type: string
- required: true
vm_flavor_name:
type: string
required: true
+ port_pd_2_port_1_related_networks:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.RelatedNetworksAssignments
port_pd_2_port_1_order:
type: integer
required: true
- port_pd_2_port_1_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
vm_image_name:
type: string
required: true
@@ -75,23 +59,11 @@ topology_template:
port_pd_1_port_0_mac_requirements:
type: org.openecomp.datatypes.network.MacRequirements
required: true
- port_pd_1_port_0_order:
- type: integer
- required: true
- port_pd_1_port_0_exCP_naming:
- type: org.openecomp.datatypes.Naming
- required: true
port_pd_1_port_0_ip_requirements:
type: list
required: true
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
- port_pd_1_port_0_network_role_tag:
- type: string
- required: true
- port_pd_2_port_1_mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
- required: true
port_pd_2_port_1_ip_requirements:
type: list
required: true
@@ -105,6 +77,44 @@ topology_template:
required: true
entry_schema:
type: string
+ port_pd_1_port_0_vlan_requirements:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.VlanRequirements
+ port_pd_1_port_0_network_role:
+ type: string
+ required: true
+ index_value:
+ type: integer
+ description: Index value of this substitution service template runtime instance
+ required: false
+ default: 0
+ constraints:
+ - greater_or_equal: 0
+ port_pd_2_port_1_subnetpoolid:
+ type: string
+ required: true
+ port_pd_1_port_0_related_networks:
+ type: list
+ required: true
+ entry_schema:
+ type: org.openecomp.datatypes.network.RelatedNetworksAssignments
+ port_pd_2_port_1_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd_1_port_0_order:
+ type: integer
+ required: true
+ port_pd_1_port_0_exCP_naming:
+ type: org.openecomp.datatypes.Naming
+ required: true
+ port_pd_1_port_0_network_role_tag:
+ type: string
+ required: true
+ port_pd_2_port_1_mac_requirements:
+ type: org.openecomp.datatypes.network.MacRequirements
+ required: true
node_templates:
pd_server:
type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server
@@ -133,6 +143,8 @@ topology_template:
vlan_requirements:
get_input: port_pd_2_port_1_vlan_requirements
subinterface_indicator: false
+ related_networks:
+ get_input: port_pd_2_port_1_related_networks
ip_requirements:
get_input: port_pd_2_port_1_ip_requirements
network_role_tag:
@@ -162,6 +174,8 @@ topology_template:
vlan_requirements:
get_input: port_pd_1_port_0_vlan_requirements
subinterface_indicator: false
+ related_networks:
+ get_input: port_pd_1_port_0_related_networks
ip_requirements:
get_input: port_pd_1_port_0_ip_requirements
network_role_tag:
@@ -399,4 +413,4 @@ topology_template:
- dependency
link_pd_server_pd_1_port_0:
- pd_server_pd_1_port_0
- - link
+ - link \ No newline at end of file