diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out')
10 files changed, 1563 insertions, 1299 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml index b309238988..f315b706ff 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -309,6 +309,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -358,6 +359,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -365,6 +367,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -372,6 +375,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -960,6 +964,12 @@ node_types: status: SUPPORTED entry_schema: type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pcm_port_2_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_pcm_port_3_network_role: type: string required: true @@ -1058,6 +1068,12 @@ node_types: status: SUPPORTED entry_schema: type: string + port_pcm_port_3_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_pcm_port_2_order: type: integer required: true @@ -1244,6 +1260,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -1293,6 +1310,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -1992,6 +2010,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -2005,6 +2024,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -2118,6 +2138,12 @@ node_types: type: string required: true status: SUPPORTED + port_1c2_t1_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1c2_t2_port_network_role: type: string required: true @@ -2158,6 +2184,12 @@ node_types: status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_1c2_t2_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1c2_t1_port_mac_requirements: type: org.openecomp.datatypes.network.MacRequirements required: true @@ -2329,6 +2361,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -2388,6 +2421,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -2672,6 +2706,12 @@ node_types: type: string required: true status: SUPPORTED + port_pcm_port_0_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_pcm_port_1_network_role_tag: type: string required: true @@ -2736,6 +2776,12 @@ node_types: type: string required: true status: SUPPORTED + port_pcm_port_1_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_pcm_port_1_network: type: list required: true @@ -3002,6 +3048,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -3020,6 +3067,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -3277,6 +3325,12 @@ node_types: type: integer required: true status: SUPPORTED + port_1b_t2_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean compute_b_single_1b_user_data_format: type: list required: true @@ -3331,6 +3385,12 @@ node_types: status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_1b_t1_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1b_t1_port_network_role_tag: type: string required: true @@ -3586,6 +3646,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -3718,6 +3779,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -3817,6 +3879,12 @@ node_types: status: SUPPORTED entry_schema: type: string + port_1c1_t2_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1c1_t2_port_network_role_tag: type: string required: true @@ -3951,6 +4019,12 @@ node_types: type: string required: true status: SUPPORTED + port_1c1_t1_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1c1_t1_port_order: type: integer required: true @@ -4156,6 +4230,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -4211,6 +4286,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -4488,10 +4564,22 @@ node_types: type: integer required: true status: SUPPORTED + port_1a_t2_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1a_t2_port_exCP_naming: type: org.openecomp.datatypes.Naming required: true status: SUPPORTED + port_1a_t1_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1a_t2_port_vlan_requirements: type: list required: true @@ -4749,6 +4837,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -4908,6 +4997,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -4990,6 +5080,12 @@ node_types: type: integer required: true status: SUPPORTED + port_1b_t2_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean compute_b_single_1b_user_data_format: type: list required: true @@ -5044,6 +5140,12 @@ node_types: status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_1b_t1_port_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_1b_t1_port_value_specs: type: list required: true @@ -5305,6 +5407,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -5437,6 +5540,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/MainServiceTemplate.yaml index 7bd4091fee..6c49d65da0 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/MainServiceTemplate.yaml @@ -1,1263 +1,1289 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-- GlobalSubstitutionTypes:
- file: GlobalSubstitutionTypesServiceTemplate.yaml
-topology_template:
- inputs:
- pd_flavor_name:
- label: PD flavor name
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: pd_flavor_name
- type: string
- description: flavor name of PD instance
- availabilityzone_name:
- label: availabilityzone name
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: availabilityzone_name
- type: string
- description: availabilityzone name
- ppds_net_name:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: ppds_net_name
- type: string
- a_single_1a_names:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: a_single_1a_names
- type: string
- pcm_server_names:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: pcm_server_names
- type: string
- pcm_image_name:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: pcm_image_name
- type: string
- pd_image_name:
- label: image name
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: pd_image_name
- type: string
- description: PD image name
- security_group_name:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: security_group_name
- type: string
- pd_server_names:
- label: PD server names
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: pd_server_names
- type: list
- description: name of the PD instance
- entry_schema:
- type: string
- 1c2_catalog_instance_names:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: 1c2_catalog_instance_names
- type: string
- pcm_flavor_name:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: pcm_flavor_name
- type: string
- b_single_1b_names:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: b_single_1b_names
- type: string
- 1c1_scalling_instance_names:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: 1c1_scalling_instance_names
- type: string
- myIPs:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: myIPs
- type: string
- net_name:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: net_name
- type: string
- oam_net_name:
- hidden: false
- immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - hot-mog-0108-bs1271
- source_type: HEAT
- param_name: oam_net_name
- type: string
- node_templates:
- abstract_b_single_1b:
- type: org.openecomp.resource.abstract.nodes.b_single_1b
- directives:
- - substitutable
- properties:
- vm_flavor_name:
- get_input: pd_flavor_name
- port_1b_t1_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- vm_image_name:
- get_input: pd_image_name
- compute_b_single_1b_user_data_format:
- - RAW
- port_1b_t2_port_mac_requirements:
- mac_count_required:
- is_required: false
- compute_b_single_1b_availability_zone:
- - get_input: availabilityzone_name
- compute_b_single_1b_scheduler_hints:
- - group: BE_Affinity_group
- port_1b_t2_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- compute_b_single_1b_metadata:
- - connectivityTo4PNested:
- get_attribute:
- - 4p_nested
- - server_pcm_id
- connectivityTo1C2_1:
- get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- connectivityTo1C2_2:
- get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_instance_name
- connectivityToNoUnifiedNested:
- get_attribute:
- - nestedNoUnified
- - portId
- connectivityTo1C1_T1_1:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t1_port_tenant_id
- connectivityTo1C1_T1_0:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t1_port_tenant_id
- port_1b_t1_port_mac_requirements:
- mac_count_required:
- is_required: false
- port_1b_t2_port_network:
- - b_single_1b_network
- compute_b_single_1b_name:
- - get_input:
- - b_single_1b_names
- - 0
- service_template_filter:
- substitute_service_template: Nested_b_single_1bServiceTemplate.yaml
- count: 1
- index_value:
- get_property:
- - SELF
- - service_template_filter
- - index_value
- requirements:
- - link_b_single_1b_1b_t2_port:
- capability: tosca.capabilities.network.Linkable
- node: b_single_1b_network
- relationship: tosca.relationships.network.LinksTo
- abstract_1c1_scalling_instance:
- type: org.openecomp.resource.abstract.nodes.1c1_scalling_instance
- directives:
- - substitutable
- properties:
- compute_1c1_scalling_instance_user_data_format:
- - RAW2
- - RAW1
- port_1c1_t2_port_network_role_tag: ppds
- vm_flavor_name:
- get_input: pd_flavor_name
- port_1c1_t1_port_ip_requirements:
- - - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- vm_image_name:
- get_input: pd_image_name
- compute_1c1_scalling_instance_name:
- - get_input:
- - 1c1_scalling_instance_names
- - 2
- - get_input:
- - 1c1_scalling_instance_names
- - 1
- port_1c1_t1_port_name:
- - 1c1_t1_port_1
- - 1c1_t1_port_0
- port_1c1_t1_port_network:
- - 1c1_scalling_instance_network
- - 1c1_scalling_instance_network
- port_1c1_t2_port_fixed_ips:
- - - ip_address:
- get_input:
- - myIPs
- - 1
- - - ip_address:
- get_input:
- - myIPs
- - 1
- port_1c1_t2_port_network:
- - get_input: ppds_net_name
- - get_input: ppds_net_name
- port_1c1_t1_port_fixed_ips:
- - - ip_address:
- get_input:
- - myIPs
- - 1
- - - ip_address:
- get_input:
- - myIPs
- - 1
- port_1c1_t2_port_ip_requirements:
- - - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_1c1_t1_port_mac_requirements:
- mac_count_required:
- is_required: false
- port_1c1_t2_port_mac_requirements:
- mac_count_required:
- is_required: false
- compute_1c1_scalling_instance_availability_zone:
- - get_input: availabilityzone_name
- - get_input: availabilityzone_name
- port_1c1_t2_port_name:
- - 1c1_t2_port_1
- - 1c1_t2_port_0
- compute_1c1_scalling_instance_scheduler_hints:
- - group: BE_Affinity_group
- - group: BE_Affinity_group
- compute_1c1_scalling_instance_metadata:
- - null
- - connectivityTo4PNested:
- get_attribute:
- - 4p_nested
- - server_pcm_id
- connectivityTo1C2_1:
- get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- connectivityTo1A:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_instance_name
- connectivityTo1C2_2:
- get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_instance_name
- connectivityToNoUnifiedNested:
- get_attribute:
- - nestedNoUnified
- - portId
- connectivityTo1B02:
- get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_instance_name
- connectivityTo1B01:
- get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- service_template_filter:
- substitute_service_template: Nested_1c1_scalling_instanceServiceTemplate.yaml
- count: 2
- index_value:
- get_property:
- - SELF
- - service_template_filter
- - index_value
- requirements:
- - link_1c1_scalling_instance_1c1_t1_port:
- capability: tosca.capabilities.network.Linkable
- node: 1c1_scalling_instance_network
- relationship: tosca.relationships.network.LinksTo
- b_single_1b_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- network_name:
- get_input: net_name
- 4p_nested:
- type: org.openecomp.resource.abstract.nodes.heat.pcm_server
- directives:
- - substitutable
- properties:
- port_pcm_port_00_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- server_group: BE_Affinity_group
- connectivityChk:
- connectivityTo1C2_1:
- get_attribute:
- - 1c201_catalog_instance_1C2
- - instance_name
- connectivityTo1C2_2:
- get_attribute:
- - 1c202_scalling_instance_1C2
- - instance_name
- connectivityTo1A:
- get_attribute:
- - 1a_single_1A
- - instance_name
- connectivityTo1B02:
- get_attribute:
- - 1b02_single_1B
- - instance_name
- - get_attribute:
- - 1b01_single_1B
- - instance_name
- connectivityTo1B01:
- get_attribute:
- - 1b01_single_1B
- - instance_name
- connectivityTo1C1_T2_1:
- get_attribute:
- - 1c1_t2_port_1
- - tenant_id
- connectivityTo1C1_T2_0:
- get_attribute:
- - 1c1_t2_port_0
- - tenant_id
- pcm_image_name:
- get_input: pcm_image_name
- port_pcm_port_00_mac_requirements:
- mac_count_required:
- is_required: false
- security_group_name: jsa_security_group
- port_pcm_port_01_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_pcm_port_00_network_role_tag: cps
- pcm_flavor_name:
- get_input: pcm_flavor_name
- service_template_filter:
- substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
- port_pcm_port_01_mac_requirements:
- mac_count_required:
- is_required: false
- pcm_server_name:
- get_input:
- - pcm_server_names
- - 0
- cps_net_name: nested_network
- port_pcm_port_01_network_role_tag: oam
- requirements:
- - link_pcm_port_00:
- capability: tosca.capabilities.network.Linkable
- node: nested_network
- relationship: tosca.relationships.network.LinksTo
- abstract_1c2_catalog_instance_0:
- type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance
- directives:
- - substitutable
- properties:
- compute_1c2_catalog_instance_availability_zone:
- - get_input: availabilityzone_name
- vm_flavor_name:
- get_input: pd_flavor_name
- vm_image_name:
- get_input: pd_image_name
- port_1c2_t2_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_1c2_t1_port_mac_requirements:
- mac_count_required:
- is_required: false
- port_1c2_t2_port_network:
- - 1c2_catalog_instance_network
- compute_1c2_catalog_instance_metadata:
- - connectivityTo4PNested:
- get_attribute:
- - 4p_nested
- - server_pcm_id
- connectivityTo1A:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_instance_name
- connectivityToNoUnifiedNested:
- get_attribute:
- - nestedNoUnified
- - portId
- connectivityTo1B02:
- get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_instance_name
- connectivityTo1B01:
- get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- connectivityTo1C1_T2_1:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- connectivityTo1C1_T2_0:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- compute_1c2_catalog_instance_name:
- - get_input:
- - 1c2_catalog_instance_names
- - 1
- port_1c2_t1_port_network:
- - get_input: oam_net_name
- port_1c2_t2_port_mac_requirements:
- mac_count_required:
- is_required: false
- compute_1c2_catalog_instance_user_data_format:
- - RAW1
- port_1c2_t1_port_network_role_tag: oam
- port_1c2_t1_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- compute_1c2_catalog_instance_scheduler_hints:
- - group: BE_Affinity_group
- service_template_filter:
- substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml
- count: 1
- index_value:
- get_property:
- - SELF
- - service_template_filter
- - index_value
- requirements:
- - link_1c2_catalog_instance_1c2_t2_port:
- capability: tosca.capabilities.network.Linkable
- node: 1c2_catalog_instance_network
- relationship: tosca.relationships.network.LinksTo
- abstract_1c2_catalog_instance_1:
- type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance
- directives:
- - substitutable
- properties:
- compute_1c2_catalog_instance_availability_zone:
- - get_input: availabilityzone_name
- vm_flavor_name:
- get_input: pd_flavor_name
- vm_image_name:
- get_input: pd_image_name
- port_1c2_t2_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_1c2_t1_port_mac_requirements:
- mac_count_required:
- is_required: false
- port_1c2_t2_port_network:
- - 1c2_catalog_instance_network
- compute_1c2_catalog_instance_name:
- - get_input:
- - 1c2_catalog_instance_names
- - 2
- port_1c2_t1_port_network:
- - get_input: oam_net_name
- port_1c2_t2_port_mac_requirements:
- mac_count_required:
- is_required: false
- compute_1c2_catalog_instance_user_data_format:
- - get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- port_1c2_t1_port_network_role_tag: oam
- port_1c2_t1_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- compute_1c2_catalog_instance_scheduler_hints:
- - group: BE_Affinity_group
- service_template_filter:
- substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml
- count: 1
- index_value:
- get_property:
- - SELF
- - service_template_filter
- - index_value
- requirements:
- - link_1c2_catalog_instance_1c2_t2_port:
- capability: tosca.capabilities.network.Linkable
- node: 1c2_catalog_instance_network
- relationship: tosca.relationships.network.LinksTo
- 1c1_scalling_instance_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- network_name:
- get_input: net_name
- nodeGetAttIn_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- dhcp_agent_ids:
- get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_1c2_t1_port_tenant_id
- - get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_1c2_t1_port_tenant_id
- - get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- - get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_instance_name
- tenant_id:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_instance_name
- - get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_instance_name
- - get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- - get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- admin_state_up:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_1a_t1_port_tenant_id
- qos_policy:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_instance_name
- network_name:
- get_attribute:
- - nestedNoUnified
- - portId
- - get_attribute:
- - 4p_nested
- - server_pcm_id
- value_specs:
- get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- - get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_instance_name
- - get_attribute:
- - abstract_b_single_1b
- - b_single_1b_1b_t1_port_tenant_id
- - get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_1b_t1_port_tenant_id
- dependsOn_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- network_name:
- get_input: net_name
- requirements:
- - dependency:
- capability: tosca.capabilities.Node
- node: nestedNoUnified
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: tosca.capabilities.Node
- node: 4p_nested
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_1c2_catalog_instance_1c2_t1_port
- node: abstract_1c2_catalog_instance_1
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_1c2_catalog_instance_1c2_t1_port
- node: abstract_1c2_catalog_instance_0
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_1c2_catalog_instance
- node: abstract_1c2_catalog_instance_0
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_1c2_catalog_instance
- node: abstract_1c2_catalog_instance_1
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_1c1_scalling_instance
- node: abstract_1c1_scalling_instance
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_1c1_scalling_instance_1c1_t2_port
- node: abstract_1c1_scalling_instance
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_b_single_1b
- node: abstract_b_single_1b
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_b_single_1b
- node: abstract_b_single_1b_1
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_b_single_1b_1b_t1_port
- node: abstract_b_single_1b
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_b_single_1b_1b_t1_port
- node: abstract_b_single_1b_1
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_a_single_1a
- node: abstract_a_single_1a
- relationship: tosca.relationships.DependsOn
- - dependency:
- capability: feature_a_single_1a_1a_t1_port
- node: abstract_a_single_1a
- relationship: tosca.relationships.DependsOn
- abstract_a_single_1a:
- type: org.openecomp.resource.abstract.nodes.a_single_1a
- directives:
- - substitutable
- properties:
- compute_a_single_1a_metadata:
- - connectivityTo4PNested:
- get_attribute:
- - 4p_nested
- - server_pcm_id
- connectivityTo1C2_1:
- get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- connectivityTo1C2_2:
- get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_instance_name
- connectivityToNoUnifiedNested:
- get_attribute:
- - nestedNoUnified
- - portId
- connectivityTo1B02:
- get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_instance_name
- - get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- connectivityTo1B01:
- get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- connectivityTo1C1_T2_1:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- connectivityTo1C1_T2_0:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- port_1a_t1_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_1a_t2_port_network_role_tag: ppds
- vm_flavor_name:
- get_input: pd_flavor_name
- port_1a_t2_port_network:
- - get_input: ppds_net_name
- port_1a_t1_port_mac_requirements:
- mac_count_required:
- is_required: false
- port_1a_t1_port_network:
- - a_single_1a_network
- vm_image_name:
- get_input: pd_image_name
- port_1a_t2_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- compute_a_single_1a_availability_zone:
- - get_input: availabilityzone_name
- compute_a_single_1a_scheduler_hints:
- - group: BE_Affinity_group
- compute_a_single_1a_user_data_format:
- - RAW
- compute_a_single_1a_name:
- - get_input:
- - a_single_1a_names
- - 0
- port_1a_t2_port_mac_requirements:
- mac_count_required:
- is_required: false
- service_template_filter:
- substitute_service_template: Nested_a_single_1aServiceTemplate.yaml
- count: 1
- index_value:
- get_property:
- - SELF
- - service_template_filter
- - index_value
- requirements:
- - link_a_single_1a_1a_t1_port:
- capability: tosca.capabilities.network.Linkable
- node: a_single_1a_network
- relationship: tosca.relationships.network.LinksTo
- nestedNoUnified:
- type: org.openecomp.resource.abstract.nodes.heat.nested-no_vfc_v0.1
- directives:
- - substitutable
- properties:
- pcm_flavor_name:
- get_input: pcm_flavor_name
- service_template_filter:
- substitute_service_template: nested-no_vfc_v0.1ServiceTemplate.yaml
- server_group: BE_Affinity_group
- connectivityChk:
- connectivityTo1C2_1:
- get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- connectivityTo1C2_2:
- get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_instance_name
- connectivityTo1A:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_instance_name
- connectivityTo1B02:
- get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_instance_name
- - get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- connectivityTo1B01:
- get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- connectivityTo1C1_T2_1:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- connectivityTo1C1_T2_0:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- pcm_image_name:
- get_input: pcm_image_name
- security_group_name: jsa_security_group
- pcm_server_name:
- get_input:
- - pcm_server_names
- - 0
- cps_net_name: nested_network
- requirements:
- - link_pcm_port_2:
- capability: tosca.capabilities.network.Linkable
- node: nested_network
- relationship: tosca.relationships.network.LinksTo
- - link_pcm_port_0:
- capability: tosca.capabilities.network.Linkable
- node: nested_network
- relationship: tosca.relationships.network.LinksTo
- nested_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- network_name:
- get_input: net_name
- jsa_security_group:
- type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
- properties:
- name:
- get_input: security_group_name
- description: ems security group
- rules:
- - protocol: tcp
- ethertype: IPv4
- port_range_max: 65535
- remote_ip_prefix: 0.0.0.0/0
- direction: egress
- port_range_min: 1
- - protocol: udp
- ethertype: IPv4
- port_range_max: 65535
- remote_ip_prefix: 0.0.0.0/0
- direction: egress
- port_range_min: 1
- - protocol: icmp
- ethertype: IPv4
- remote_ip_prefix: 0.0.0.0/0
- direction: egress
- - protocol: tcp
- ethertype: IPv6
- port_range_max: 65535
- remote_ip_prefix: ::/0
- direction: egress
- port_range_min: 1
- - protocol: udp
- ethertype: IPv6
- port_range_max: 65535
- remote_ip_prefix: ::/0
- direction: egress
- port_range_min: 1
- - protocol: icmp
- ethertype: IPv6
- remote_ip_prefix: ::/0
- direction: egress
- - protocol: tcp
- ethertype: IPv4
- port_range_max: 65535
- remote_ip_prefix: 0.0.0.0/0
- direction: ingress
- port_range_min: 1
- - protocol: udp
- ethertype: IPv4
- port_range_max: 65535
- remote_ip_prefix: 0.0.0.0/0
- direction: ingress
- port_range_min: 1
- - protocol: icmp
- ethertype: IPv4
- remote_ip_prefix: 0.0.0.0/0
- direction: ingress
- - protocol: tcp
- ethertype: IPv6
- port_range_max: 65535
- remote_ip_prefix: ::/0
- direction: ingress
- port_range_min: 1
- - protocol: udp
- ethertype: IPv6
- port_range_max: 65535
- remote_ip_prefix: ::/0
- direction: ingress
- port_range_min: 1
- - protocol: icmp
- ethertype: IPv6
- remote_ip_prefix: ::/0
- direction: ingress
- requirements:
- - port:
- capability: attachment_pcm_port_00
- node: 4p_nested
- relationship: org.openecomp.relationships.AttachesTo
- - port:
- capability: attachment_pcm_port_01
- node: 4p_nested
- relationship: org.openecomp.relationships.AttachesTo
- - port:
- capability: attachment_pcm_port_0
- node: nestedNoUnified
- relationship: org.openecomp.relationships.AttachesTo
- - port:
- capability: attachment_pcm_port_1
- node: nestedNoUnified
- relationship: org.openecomp.relationships.AttachesTo
- - port:
- capability: attachment_pcm_port_2
- node: nestedNoUnified
- relationship: org.openecomp.relationships.AttachesTo
- - port:
- capability: attachment_pcm_port_3
- node: nestedNoUnified
- relationship: org.openecomp.relationships.AttachesTo
- abstract_b_single_1b_1:
- type: org.openecomp.resource.abstract.nodes.b_single_1b_1
- directives:
- - substitutable
- properties:
- vm_flavor_name:
- get_input: pd_flavor_name
- port_1b_t1_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- vm_image_name:
- get_input: pd_image_name
- compute_b_single_1b_user_data_format:
- - RAW
- port_1b_t2_port_mac_requirements:
- mac_count_required:
- is_required: false
- compute_b_single_1b_availability_zone:
- - get_input: availabilityzone_name
- compute_b_single_1b_scheduler_hints:
- - group: BE_Affinity_group
- port_1b_t2_port_ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- - ip_version: 6
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- port_1b_t1_port_value_specs:
- - get_attribute:
- - abstract_a_single_1a
- - a_single_1a_1a_t1_port_tenant_id
- port_1b_t1_port_network_role_tag: oam
- port_1b_t1_port_mac_requirements:
- mac_count_required:
- is_required: false
- port_1b_t2_port_network:
- - b_single_1b_network
- port_1b_t1_port_network:
- - get_input: oam_net_name
- compute_b_single_1b_name:
- - get_input:
- - b_single_1b_names
- - 1
- service_template_filter:
- substitute_service_template: Nested_b_single_1b_1ServiceTemplate.yaml
- count: 1
- index_value:
- get_property:
- - SELF
- - service_template_filter
- - index_value
- requirements:
- - link_b_single_1b_1b_t2_port:
- capability: tosca.capabilities.network.Linkable
- node: b_single_1b_network
- relationship: tosca.relationships.network.LinksTo
- a_single_1a_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- network_name:
- get_input: net_name
- 1c2_catalog_instance_network:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- network_name:
- get_input: net_name
- groups:
- hot-mog-0108-bs1271_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
- description: heat template that creates MOG stack
- members:
- - b_single_1b_network
- - 4p_nested
- - 1c1_scalling_instance_network
- - nodeGetAttIn_network
- - dependsOn_network
- - nestedNoUnified
- - nested_network
- - jsa_security_group
- - a_single_1a_network
- - 1c2_catalog_instance_network
- - abstract_a_single_1a
- - abstract_b_single_1b
- - abstract_b_single_1b_1
- - abstract_1c1_scalling_instance
- - abstract_1c2_catalog_instance_0
- - abstract_1c2_catalog_instance_1
- BE_Affinity_group:
- type: tosca.groups.Root
- members:
- - abstract_a_single_1a
- - abstract_b_single_1b
- - abstract_b_single_1b_1
- - abstract_1c1_scalling_instance
- - abstract_1c2_catalog_instance_0
- - abstract_1c2_catalog_instance_1
- outputs:
- out2:
- value:
- get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_1c2_t1_port_tenant_id
- - get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_1c2_t1_port_tenant_id
- - get_attribute:
- - abstract_1c2_catalog_instance_0
- - 1c2_catalog_instance_instance_name
- - get_attribute:
- - abstract_1c2_catalog_instance_1
- - 1c2_catalog_instance_instance_name
- out3:
- value:
- get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_instance_name
- - get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_instance_name
- - get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- - get_attribute:
- - abstract_1c1_scalling_instance
- - 1c1_scalling_instance_1c1_t2_port_tenant_id
- out4:
- value:
- get_attribute:
- - abstract_b_single_1b
- - b_single_1b_instance_name
- - get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_instance_name
- - get_attribute:
- - abstract_b_single_1b
- - b_single_1b_1b_t1_port_tenant_id
- - get_attribute:
- - abstract_b_single_1b_1
- - b_single_1b_1b_t1_port_tenant_id
- out5:
- value:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_instance_name
- out1:
- value:
- get_attribute:
- - nestedNoUnified
- - portId
- - get_attribute:
- - 4p_nested
- - server_pcm_id
- out6:
- value:
- get_attribute:
- - abstract_a_single_1a
- - a_single_1a_1a_t1_port_tenant_id
- policies:
- BE_Affinity_policy:
- type: org.openecomp.policies.placement.Colocate
- properties:
- name: def
- affinity: host
- targets:
- - BE_Affinity_group
+tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Main +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +topology_template: + inputs: + pd_flavor_name: + label: PD flavor name + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: pd_flavor_name + type: string + description: flavor name of PD instance + availabilityzone_name: + label: availabilityzone name + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: availabilityzone_name + type: string + description: availabilityzone name + ppds_net_name: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: ppds_net_name + type: string + a_single_1a_names: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: a_single_1a_names + type: string + pcm_server_names: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: pcm_server_names + type: string + pcm_image_name: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: pcm_image_name + type: string + pd_image_name: + label: image name + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: pd_image_name + type: string + description: PD image name + security_group_name: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: security_group_name + type: string + pd_server_names: + label: PD server names + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: pd_server_names + type: list + description: name of the PD instance + entry_schema: + type: string + 1c2_catalog_instance_names: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: 1c2_catalog_instance_names + type: string + pcm_flavor_name: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: pcm_flavor_name + type: string + b_single_1b_names: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: b_single_1b_names + type: string + 1c1_scalling_instance_names: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: 1c1_scalling_instance_names + type: string + myIPs: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: myIPs + type: string + net_name: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: net_name + type: string + oam_net_name: + hidden: false + immutable: false + annotations: + source: + type: org.openecomp.annotations.Source + properties: + vf_module_label: + - hot-mog-0108-bs1271 + source_type: HEAT + param_name: oam_net_name + type: string + node_templates: + abstract_b_single_1b: + type: org.openecomp.resource.abstract.nodes.b_single_1b + directives: + - substitutable + properties: + vm_flavor_name: + get_input: pd_flavor_name + port_1b_t1_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + vm_image_name: + get_input: pd_image_name + port_1b_t2_port_subinterface_indicator: + - true + compute_b_single_1b_user_data_format: + - RAW + port_1b_t2_port_mac_requirements: + mac_count_required: + is_required: false + compute_b_single_1b_availability_zone: + - get_input: availabilityzone_name + compute_b_single_1b_scheduler_hints: + - group: BE_Affinity_group + port_1b_t2_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1b_t1_port_subinterface_indicator: + - true + compute_b_single_1b_metadata: + - connectivityTo4PNested: + get_attribute: + - 4p_nested + - server_pcm_id + connectivityTo1C2_1: + get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + connectivityTo1C2_2: + get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_instance_name + connectivityToNoUnifiedNested: + get_attribute: + - nestedNoUnified + - portId + connectivityTo1C1_T1_1: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t1_port_tenant_id + connectivityTo1C1_T1_0: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t1_port_tenant_id + port_1b_t1_port_mac_requirements: + mac_count_required: + is_required: false + port_1b_t2_port_network: + - b_single_1b_network + compute_b_single_1b_name: + - get_input: + - b_single_1b_names + - 0 + service_template_filter: + substitute_service_template: Nested_b_single_1bServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_b_single_1b_1b_t2_port: + capability: tosca.capabilities.network.Linkable + node: b_single_1b_network + relationship: tosca.relationships.network.LinksTo + abstract_1c1_scalling_instance: + type: org.openecomp.resource.abstract.nodes.1c1_scalling_instance + directives: + - substitutable + properties: + compute_1c1_scalling_instance_user_data_format: + - RAW2 + - RAW1 + port_1c1_t2_port_subinterface_indicator: + - true + - true + port_1c1_t2_port_network_role_tag: ppds + vm_flavor_name: + get_input: pd_flavor_name + port_1c1_t1_port_ip_requirements: + - - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + vm_image_name: + get_input: pd_image_name + compute_1c1_scalling_instance_name: + - get_input: + - 1c1_scalling_instance_names + - 2 + - get_input: + - 1c1_scalling_instance_names + - 1 + port_1c1_t1_port_name: + - 1c1_t1_port_1 + - 1c1_t1_port_0 + port_1c1_t1_port_network: + - 1c1_scalling_instance_network + - 1c1_scalling_instance_network + port_1c1_t2_port_fixed_ips: + - - ip_address: + get_input: + - myIPs + - 1 + - - ip_address: + get_input: + - myIPs + - 1 + port_1c1_t2_port_network: + - get_input: ppds_net_name + - get_input: ppds_net_name + port_1c1_t1_port_fixed_ips: + - - ip_address: + get_input: + - myIPs + - 1 + - - ip_address: + get_input: + - myIPs + - 1 + port_1c1_t2_port_ip_requirements: + - - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1c1_t1_port_mac_requirements: + mac_count_required: + is_required: false + port_1c1_t2_port_mac_requirements: + mac_count_required: + is_required: false + compute_1c1_scalling_instance_availability_zone: + - get_input: availabilityzone_name + - get_input: availabilityzone_name + port_1c1_t2_port_name: + - 1c1_t2_port_1 + - 1c1_t2_port_0 + compute_1c1_scalling_instance_scheduler_hints: + - group: BE_Affinity_group + - group: BE_Affinity_group + compute_1c1_scalling_instance_metadata: + - null + - connectivityTo4PNested: + get_attribute: + - 4p_nested + - server_pcm_id + connectivityTo1C2_1: + get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + connectivityTo1A: + get_attribute: + - abstract_a_single_1a + - a_single_1a_instance_name + connectivityTo1C2_2: + get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_instance_name + connectivityToNoUnifiedNested: + get_attribute: + - nestedNoUnified + - portId + connectivityTo1B02: + get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_instance_name + connectivityTo1B01: + get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + port_1c1_t1_port_subinterface_indicator: + - true + - true + service_template_filter: + substitute_service_template: Nested_1c1_scalling_instanceServiceTemplate.yaml + count: 2 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_1c1_scalling_instance_1c1_t1_port: + capability: tosca.capabilities.network.Linkable + node: 1c1_scalling_instance_network + relationship: tosca.relationships.network.LinksTo + b_single_1b_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + network_name: + get_input: net_name + 4p_nested: + type: org.openecomp.resource.abstract.nodes.heat.pcm_server + directives: + - substitutable + properties: + port_pcm_port_00_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + server_group: BE_Affinity_group + connectivityChk: + connectivityTo1C2_1: + get_attribute: + - 1c201_catalog_instance_1C2 + - instance_name + connectivityTo1C2_2: + get_attribute: + - 1c202_scalling_instance_1C2 + - instance_name + connectivityTo1A: + get_attribute: + - 1a_single_1A + - instance_name + connectivityTo1B02: + get_attribute: + - 1b02_single_1B + - instance_name + - get_attribute: + - 1b01_single_1B + - instance_name + connectivityTo1B01: + get_attribute: + - 1b01_single_1B + - instance_name + connectivityTo1C1_T2_1: + get_attribute: + - 1c1_t2_port_1 + - tenant_id + connectivityTo1C1_T2_0: + get_attribute: + - 1c1_t2_port_0 + - tenant_id + pcm_image_name: + get_input: pcm_image_name + port_pcm_port_00_mac_requirements: + mac_count_required: + is_required: false + security_group_name: jsa_security_group + port_pcm_port_01_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_pcm_port_00_network_role_tag: cps + pcm_flavor_name: + get_input: pcm_flavor_name + service_template_filter: + substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml + port_pcm_port_01_mac_requirements: + mac_count_required: + is_required: false + pcm_server_name: + get_input: + - pcm_server_names + - 0 + cps_net_name: nested_network + port_pcm_port_01_network_role_tag: oam + requirements: + - link_pcm_port_00: + capability: tosca.capabilities.network.Linkable + node: nested_network + relationship: tosca.relationships.network.LinksTo + abstract_1c2_catalog_instance_0: + type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance + directives: + - substitutable + properties: + compute_1c2_catalog_instance_availability_zone: + - get_input: availabilityzone_name + port_1c2_t1_port_subinterface_indicator: + - true + vm_flavor_name: + get_input: pd_flavor_name + vm_image_name: + get_input: pd_image_name + port_1c2_t2_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1c2_t2_port_subinterface_indicator: + - true + port_1c2_t1_port_mac_requirements: + mac_count_required: + is_required: false + port_1c2_t2_port_network: + - 1c2_catalog_instance_network + compute_1c2_catalog_instance_metadata: + - connectivityTo4PNested: + get_attribute: + - 4p_nested + - server_pcm_id + connectivityTo1A: + get_attribute: + - abstract_a_single_1a + - a_single_1a_instance_name + connectivityToNoUnifiedNested: + get_attribute: + - nestedNoUnified + - portId + connectivityTo1B02: + get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_instance_name + connectivityTo1B01: + get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + connectivityTo1C1_T2_1: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + connectivityTo1C1_T2_0: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + compute_1c2_catalog_instance_name: + - get_input: + - 1c2_catalog_instance_names + - 1 + port_1c2_t1_port_network: + - get_input: oam_net_name + port_1c2_t2_port_mac_requirements: + mac_count_required: + is_required: false + compute_1c2_catalog_instance_user_data_format: + - RAW1 + port_1c2_t1_port_network_role_tag: oam + port_1c2_t1_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + compute_1c2_catalog_instance_scheduler_hints: + - group: BE_Affinity_group + service_template_filter: + substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_1c2_catalog_instance_1c2_t2_port: + capability: tosca.capabilities.network.Linkable + node: 1c2_catalog_instance_network + relationship: tosca.relationships.network.LinksTo + abstract_1c2_catalog_instance_1: + type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance + directives: + - substitutable + properties: + compute_1c2_catalog_instance_availability_zone: + - get_input: availabilityzone_name + port_1c2_t1_port_subinterface_indicator: + - true + vm_flavor_name: + get_input: pd_flavor_name + vm_image_name: + get_input: pd_image_name + port_1c2_t2_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1c2_t2_port_subinterface_indicator: + - true + port_1c2_t1_port_mac_requirements: + mac_count_required: + is_required: false + port_1c2_t2_port_network: + - 1c2_catalog_instance_network + compute_1c2_catalog_instance_name: + - get_input: + - 1c2_catalog_instance_names + - 2 + port_1c2_t1_port_network: + - get_input: oam_net_name + port_1c2_t2_port_mac_requirements: + mac_count_required: + is_required: false + compute_1c2_catalog_instance_user_data_format: + - get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + port_1c2_t1_port_network_role_tag: oam + port_1c2_t1_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + compute_1c2_catalog_instance_scheduler_hints: + - group: BE_Affinity_group + service_template_filter: + substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_1c2_catalog_instance_1c2_t2_port: + capability: tosca.capabilities.network.Linkable + node: 1c2_catalog_instance_network + relationship: tosca.relationships.network.LinksTo + 1c1_scalling_instance_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + network_name: + get_input: net_name + nodeGetAttIn_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + dhcp_agent_ids: + get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_1c2_t1_port_tenant_id + - get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_1c2_t1_port_tenant_id + - get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + - get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_instance_name + tenant_id: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_instance_name + - get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_instance_name + - get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + - get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + admin_state_up: + get_attribute: + - abstract_a_single_1a + - a_single_1a_1a_t1_port_tenant_id + qos_policy: + get_attribute: + - abstract_a_single_1a + - a_single_1a_instance_name + network_name: + get_attribute: + - nestedNoUnified + - portId + - get_attribute: + - 4p_nested + - server_pcm_id + value_specs: + get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + - get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_instance_name + - get_attribute: + - abstract_b_single_1b + - b_single_1b_1b_t1_port_tenant_id + - get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_1b_t1_port_tenant_id + dependsOn_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + network_name: + get_input: net_name + requirements: + - dependency: + capability: tosca.capabilities.Node + node: nestedNoUnified + relationship: tosca.relationships.DependsOn + - dependency: + capability: tosca.capabilities.Node + node: 4p_nested + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_1c2_catalog_instance_1c2_t1_port + node: abstract_1c2_catalog_instance_1 + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_1c2_catalog_instance_1c2_t1_port + node: abstract_1c2_catalog_instance_0 + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_1c2_catalog_instance + node: abstract_1c2_catalog_instance_0 + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_1c2_catalog_instance + node: abstract_1c2_catalog_instance_1 + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_1c1_scalling_instance + node: abstract_1c1_scalling_instance + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_1c1_scalling_instance_1c1_t2_port + node: abstract_1c1_scalling_instance + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_b_single_1b + node: abstract_b_single_1b + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_b_single_1b + node: abstract_b_single_1b_1 + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_b_single_1b_1b_t1_port + node: abstract_b_single_1b + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_b_single_1b_1b_t1_port + node: abstract_b_single_1b_1 + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_a_single_1a + node: abstract_a_single_1a + relationship: tosca.relationships.DependsOn + - dependency: + capability: feature_a_single_1a_1a_t1_port + node: abstract_a_single_1a + relationship: tosca.relationships.DependsOn + abstract_a_single_1a: + type: org.openecomp.resource.abstract.nodes.a_single_1a + directives: + - substitutable + properties: + compute_a_single_1a_metadata: + - connectivityTo4PNested: + get_attribute: + - 4p_nested + - server_pcm_id + connectivityTo1C2_1: + get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + connectivityTo1C2_2: + get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_instance_name + connectivityToNoUnifiedNested: + get_attribute: + - nestedNoUnified + - portId + connectivityTo1B02: + get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_instance_name + - get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + connectivityTo1B01: + get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + connectivityTo1C1_T2_1: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + connectivityTo1C1_T2_0: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + port_1a_t1_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1a_t2_port_network_role_tag: ppds + vm_flavor_name: + get_input: pd_flavor_name + port_1a_t2_port_network: + - get_input: ppds_net_name + port_1a_t1_port_mac_requirements: + mac_count_required: + is_required: false + port_1a_t1_port_network: + - a_single_1a_network + vm_image_name: + get_input: pd_image_name + port_1a_t2_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + compute_a_single_1a_availability_zone: + - get_input: availabilityzone_name + compute_a_single_1a_scheduler_hints: + - group: BE_Affinity_group + port_1a_t2_port_subinterface_indicator: + - true + port_1a_t1_port_subinterface_indicator: + - true + compute_a_single_1a_user_data_format: + - RAW + compute_a_single_1a_name: + - get_input: + - a_single_1a_names + - 0 + port_1a_t2_port_mac_requirements: + mac_count_required: + is_required: false + service_template_filter: + substitute_service_template: Nested_a_single_1aServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_a_single_1a_1a_t1_port: + capability: tosca.capabilities.network.Linkable + node: a_single_1a_network + relationship: tosca.relationships.network.LinksTo + nestedNoUnified: + type: org.openecomp.resource.abstract.nodes.heat.nested-no_vfc_v0.1 + directives: + - substitutable + properties: + pcm_flavor_name: + get_input: pcm_flavor_name + service_template_filter: + substitute_service_template: nested-no_vfc_v0.1ServiceTemplate.yaml + server_group: BE_Affinity_group + connectivityChk: + connectivityTo1C2_1: + get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + connectivityTo1C2_2: + get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_instance_name + connectivityTo1A: + get_attribute: + - abstract_a_single_1a + - a_single_1a_instance_name + connectivityTo1B02: + get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_instance_name + - get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + connectivityTo1B01: + get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + connectivityTo1C1_T2_1: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + connectivityTo1C1_T2_0: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + pcm_image_name: + get_input: pcm_image_name + security_group_name: jsa_security_group + pcm_server_name: + get_input: + - pcm_server_names + - 0 + cps_net_name: nested_network + requirements: + - link_pcm_port_2: + capability: tosca.capabilities.network.Linkable + node: nested_network + relationship: tosca.relationships.network.LinksTo + - link_pcm_port_0: + capability: tosca.capabilities.network.Linkable + node: nested_network + relationship: tosca.relationships.network.LinksTo + nested_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + network_name: + get_input: net_name + jsa_security_group: + type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules + properties: + name: + get_input: security_group_name + description: ems security group + rules: + - protocol: tcp + ethertype: IPv4 + port_range_max: 65535 + remote_ip_prefix: 0.0.0.0/0 + direction: egress + port_range_min: 1 + - protocol: udp + ethertype: IPv4 + port_range_max: 65535 + remote_ip_prefix: 0.0.0.0/0 + direction: egress + port_range_min: 1 + - protocol: icmp + ethertype: IPv4 + remote_ip_prefix: 0.0.0.0/0 + direction: egress + - protocol: tcp + ethertype: IPv6 + port_range_max: 65535 + remote_ip_prefix: ::/0 + direction: egress + port_range_min: 1 + - protocol: udp + ethertype: IPv6 + port_range_max: 65535 + remote_ip_prefix: ::/0 + direction: egress + port_range_min: 1 + - protocol: icmp + ethertype: IPv6 + remote_ip_prefix: ::/0 + direction: egress + - protocol: tcp + ethertype: IPv4 + port_range_max: 65535 + remote_ip_prefix: 0.0.0.0/0 + direction: ingress + port_range_min: 1 + - protocol: udp + ethertype: IPv4 + port_range_max: 65535 + remote_ip_prefix: 0.0.0.0/0 + direction: ingress + port_range_min: 1 + - protocol: icmp + ethertype: IPv4 + remote_ip_prefix: 0.0.0.0/0 + direction: ingress + - protocol: tcp + ethertype: IPv6 + port_range_max: 65535 + remote_ip_prefix: ::/0 + direction: ingress + port_range_min: 1 + - protocol: udp + ethertype: IPv6 + port_range_max: 65535 + remote_ip_prefix: ::/0 + direction: ingress + port_range_min: 1 + - protocol: icmp + ethertype: IPv6 + remote_ip_prefix: ::/0 + direction: ingress + requirements: + - port: + capability: attachment_pcm_port_00 + node: 4p_nested + relationship: org.openecomp.relationships.AttachesTo + - port: + capability: attachment_pcm_port_01 + node: 4p_nested + relationship: org.openecomp.relationships.AttachesTo + - port: + capability: attachment_pcm_port_0 + node: nestedNoUnified + relationship: org.openecomp.relationships.AttachesTo + - port: + capability: attachment_pcm_port_1 + node: nestedNoUnified + relationship: org.openecomp.relationships.AttachesTo + - port: + capability: attachment_pcm_port_2 + node: nestedNoUnified + relationship: org.openecomp.relationships.AttachesTo + - port: + capability: attachment_pcm_port_3 + node: nestedNoUnified + relationship: org.openecomp.relationships.AttachesTo + abstract_b_single_1b_1: + type: org.openecomp.resource.abstract.nodes.b_single_1b_1 + directives: + - substitutable + properties: + vm_flavor_name: + get_input: pd_flavor_name + port_1b_t1_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + vm_image_name: + get_input: pd_image_name + port_1b_t2_port_subinterface_indicator: + - true + compute_b_single_1b_user_data_format: + - RAW + port_1b_t2_port_mac_requirements: + mac_count_required: + is_required: false + compute_b_single_1b_availability_zone: + - get_input: availabilityzone_name + compute_b_single_1b_scheduler_hints: + - group: BE_Affinity_group + port_1b_t2_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + - ip_version: 6 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1b_t1_port_subinterface_indicator: + - true + port_1b_t1_port_value_specs: + - get_attribute: + - abstract_a_single_1a + - a_single_1a_1a_t1_port_tenant_id + port_1b_t1_port_network_role_tag: oam + port_1b_t1_port_mac_requirements: + mac_count_required: + is_required: false + port_1b_t2_port_network: + - b_single_1b_network + port_1b_t1_port_network: + - get_input: oam_net_name + compute_b_single_1b_name: + - get_input: + - b_single_1b_names + - 1 + service_template_filter: + substitute_service_template: Nested_b_single_1b_1ServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_b_single_1b_1b_t2_port: + capability: tosca.capabilities.network.Linkable + node: b_single_1b_network + relationship: tosca.relationships.network.LinksTo + a_single_1a_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + network_name: + get_input: net_name + 1c2_catalog_instance_network: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + network_name: + get_input: net_name + groups: + hot-mog-0108-bs1271_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/hot-mog-0108-bs1271.yml + description: heat template that creates MOG stack + members: + - b_single_1b_network + - 4p_nested + - 1c1_scalling_instance_network + - nodeGetAttIn_network + - dependsOn_network + - nestedNoUnified + - nested_network + - jsa_security_group + - a_single_1a_network + - 1c2_catalog_instance_network + - abstract_a_single_1a + - abstract_b_single_1b + - abstract_b_single_1b_1 + - abstract_1c1_scalling_instance + - abstract_1c2_catalog_instance_0 + - abstract_1c2_catalog_instance_1 + BE_Affinity_group: + type: tosca.groups.Root + members: + - abstract_a_single_1a + - abstract_b_single_1b + - abstract_b_single_1b_1 + - abstract_1c1_scalling_instance + - abstract_1c2_catalog_instance_0 + - abstract_1c2_catalog_instance_1 + outputs: + out2: + value: + get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_1c2_t1_port_tenant_id + - get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_1c2_t1_port_tenant_id + - get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + - get_attribute: + - abstract_1c2_catalog_instance_1 + - 1c2_catalog_instance_instance_name + out3: + value: + get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_instance_name + - get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_instance_name + - get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + - get_attribute: + - abstract_1c1_scalling_instance + - 1c1_scalling_instance_1c1_t2_port_tenant_id + out4: + value: + get_attribute: + - abstract_b_single_1b + - b_single_1b_instance_name + - get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_instance_name + - get_attribute: + - abstract_b_single_1b + - b_single_1b_1b_t1_port_tenant_id + - get_attribute: + - abstract_b_single_1b_1 + - b_single_1b_1b_t1_port_tenant_id + out5: + value: + get_attribute: + - abstract_a_single_1a + - a_single_1a_instance_name + out1: + value: + get_attribute: + - nestedNoUnified + - portId + - get_attribute: + - 4p_nested + - server_pcm_id + out6: + value: + get_attribute: + - abstract_a_single_1a + - a_single_1a_1a_t1_port_tenant_id + policies: + BE_Affinity_policy: + type: org.openecomp.policies.placement.Colocate + properties: + name: def + affinity: host + targets: + - BE_Affinity_group diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c1_scalling_instanceServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c1_scalling_instanceServiceTemplate.yaml index 32b40f3146..2149ee469a 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c1_scalling_instanceServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c1_scalling_instanceServiceTemplate.yaml @@ -24,6 +24,11 @@ topology_template: required: true entry_schema: type: string + port_1c1_t2_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1c1_t2_port_network_role_tag: type: string required: true @@ -132,6 +137,11 @@ topology_template: port_1c1_t1_port_network_role: type: string required: true + port_1c1_t1_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1c1_t1_port_order: type: integer required: true @@ -139,26 +149,30 @@ topology_template: 1c1_scalling_instance_1c1_t1_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + mac_requirements: + get_input: port_1c1_t1_port_mac_requirements + order: + get_input: port_1c1_t1_port_order exCP_naming: get_input: port_1c1_t1_port_exCP_naming vlan_requirements: get_input: port_1c1_t1_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1c1_t1_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1c1_t1_port_ip_requirements network_role_tag: get_input: port_1c1_t1_port_network_role_tag - mac_requirements: - get_input: port_1c1_t1_port_mac_requirements - order: - get_input: port_1c1_t1_port_order network_role: get_input: port_1c1_t1_port_network_role - subnetpoolid: - get_input: port_1c1_t1_port_subnetpoolid fixed_ips: get_input: - port_1c1_t1_port_fixed_ips - index_value + subnetpoolid: + get_input: port_1c1_t1_port_subnetpoolid name: get_input: - port_1c1_t1_port_name @@ -202,26 +216,30 @@ topology_template: 1c1_scalling_instance_1c1_t2_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + mac_requirements: + get_input: port_1c1_t2_port_mac_requirements + order: + get_input: port_1c1_t2_port_order exCP_naming: get_input: port_1c1_t2_port_exCP_naming vlan_requirements: get_input: port_1c1_t2_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1c1_t2_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1c1_t2_port_ip_requirements network_role_tag: get_input: port_1c1_t2_port_network_role_tag - mac_requirements: - get_input: port_1c1_t2_port_mac_requirements - order: - get_input: port_1c1_t2_port_order network_role: get_input: port_1c1_t2_port_network_role - subnetpoolid: - get_input: port_1c1_t2_port_subnetpoolid fixed_ips: get_input: - port_1c1_t2_port_fixed_ips - index_value + subnetpoolid: + get_input: port_1c1_t2_port_subnetpoolid name: get_input: - port_1c1_t2_port_name diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c2_catalog_instanceServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c2_catalog_instanceServiceTemplate.yaml index 5b89bed0a4..c47e4d5767 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c2_catalog_instanceServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_1c2_catalog_instanceServiceTemplate.yaml @@ -22,6 +22,11 @@ topology_template: port_1c2_t2_port_subnetpoolid: type: string required: true + port_1c2_t1_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1c2_t2_port_network_role: type: string required: true @@ -53,6 +58,11 @@ topology_template: required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_1c2_t2_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1c2_t1_port_mac_requirements: type: org.openecomp.datatypes.network.MacRequirements required: true @@ -150,6 +160,10 @@ topology_template: get_input: port_1c2_t2_port_exCP_naming vlan_requirements: get_input: port_1c2_t2_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1c2_t2_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1c2_t2_port_ip_requirements network_role_tag: @@ -178,6 +192,10 @@ topology_template: get_input: port_1c2_t1_port_exCP_naming vlan_requirements: get_input: port_1c2_t1_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1c2_t1_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1c2_t1_port_ip_requirements network_role_tag: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_a_single_1aServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_a_single_1aServiceTemplate.yaml index e3b7ea00c8..42c86b84bc 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_a_single_1aServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_a_single_1aServiceTemplate.yaml @@ -88,9 +88,19 @@ topology_template: port_1a_t1_port_order: type: integer required: true + port_1a_t2_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1a_t2_port_exCP_naming: type: org.openecomp.datatypes.Naming required: true + port_1a_t1_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1a_t2_port_vlan_requirements: type: list required: true @@ -123,6 +133,10 @@ topology_template: get_input: port_1a_t1_port_exCP_naming vlan_requirements: get_input: port_1a_t1_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1a_t1_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1a_t1_port_ip_requirements network_role_tag: @@ -178,6 +192,10 @@ topology_template: get_input: port_1a_t2_port_exCP_naming vlan_requirements: get_input: port_1a_t2_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1a_t2_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1a_t2_port_ip_requirements network_role_tag: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1bServiceTemplate.yaml index 222d1f8f1a..85437cb4cd 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1bServiceTemplate.yaml @@ -37,6 +37,11 @@ topology_template: port_1b_t2_port_order: type: integer required: true + port_1b_t2_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean compute_b_single_1b_user_data_format: type: list required: true @@ -81,6 +86,11 @@ topology_template: required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_1b_t1_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1b_t1_port_network_role_tag: type: string required: true @@ -145,6 +155,10 @@ topology_template: get_input: port_1b_t1_port_exCP_naming vlan_requirements: get_input: port_1b_t1_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1b_t1_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1b_t1_port_ip_requirements network_role_tag: @@ -173,6 +187,10 @@ topology_template: get_input: port_1b_t2_port_exCP_naming vlan_requirements: get_input: port_1b_t2_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1b_t2_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1b_t2_port_ip_requirements network_role_tag: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1b_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1b_1ServiceTemplate.yaml index 5443e13fdf..d41833ab63 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1b_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_b_single_1b_1ServiceTemplate.yaml @@ -37,6 +37,11 @@ topology_template: port_1b_t2_port_order: type: integer required: true + port_1b_t2_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean compute_b_single_1b_user_data_format: type: list required: true @@ -81,6 +86,11 @@ topology_template: required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_1b_t1_port_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_1b_t1_port_value_specs: type: list required: true @@ -150,6 +160,10 @@ topology_template: get_input: port_1b_t1_port_exCP_naming vlan_requirements: get_input: port_1b_t1_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1b_t1_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1b_t1_port_ip_requirements network_role_tag: @@ -178,6 +192,10 @@ topology_template: get_input: port_1b_t2_port_exCP_naming vlan_requirements: get_input: port_1b_t2_port_vlan_requirements + subinterface_indicator: + get_input: + - port_1b_t2_port_subinterface_indicator + - index_value ip_requirements: get_input: port_1b_t2_port_ip_requirements network_role_tag: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_serverServiceTemplate.yaml index b287b62a17..45191338e8 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_serverServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_serverServiceTemplate.yaml @@ -22,6 +22,11 @@ topology_template: required: true entry_schema: type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pcm_port_2_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_pcm_port_3_network_role: type: string required: true @@ -101,6 +106,11 @@ topology_template: required: true entry_schema: type: string + port_pcm_port_3_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_pcm_port_2_order: type: integer required: true @@ -166,6 +176,10 @@ topology_template: pcma_server_pcm_port_3: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + mac_requirements: + get_input: port_pcm_port_3_mac_requirements + order: + get_input: port_pcm_port_3_order security_groups: get_input: - port_pcm_port_3_security_groups @@ -174,22 +188,22 @@ topology_template: get_input: port_pcm_port_3_exCP_naming vlan_requirements: get_input: port_pcm_port_3_vlan_requirements + subinterface_indicator: + get_input: + - port_pcm_port_3_subinterface_indicator + - index_value ip_requirements: get_input: port_pcm_port_3_ip_requirements network_role_tag: get_input: port_pcm_port_3_network_role_tag - mac_requirements: - get_input: port_pcm_port_3_mac_requirements - order: - get_input: port_pcm_port_3_order network_role: get_input: port_pcm_port_3_network_role - subnetpoolid: - get_input: port_pcm_port_3_subnetpoolid fixed_ips: get_input: - port_pcm_port_3_fixed_ips - index_value + subnetpoolid: + get_input: port_pcm_port_3_subnetpoolid network: get_input: - port_pcm_port_3_network @@ -202,6 +216,10 @@ topology_template: pcma_server_pcm_port_2: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + mac_requirements: + get_input: port_pcm_port_2_mac_requirements + order: + get_input: port_pcm_port_2_order security_groups: get_input: - port_pcm_port_2_security_groups @@ -210,22 +228,22 @@ topology_template: get_input: port_pcm_port_2_exCP_naming vlan_requirements: get_input: port_pcm_port_2_vlan_requirements + subinterface_indicator: + get_input: + - port_pcm_port_2_subinterface_indicator + - index_value ip_requirements: get_input: port_pcm_port_2_ip_requirements network_role_tag: get_input: port_pcm_port_2_network_role_tag - mac_requirements: - get_input: port_pcm_port_2_mac_requirements - order: - get_input: port_pcm_port_2_order network_role: get_input: port_pcm_port_2_network_role - subnetpoolid: - get_input: port_pcm_port_2_subnetpoolid fixed_ips: get_input: - port_pcm_port_2_fixed_ips - index_value + subnetpoolid: + get_input: port_pcm_port_2_subnetpoolid network: get_input: - port_pcm_port_2_network diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_server_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_server_1ServiceTemplate.yaml index 7cc130e234..7a3ec20712 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_server_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/Nested_pcma_server_1ServiceTemplate.yaml @@ -14,6 +14,11 @@ topology_template: port_pcm_port_0_network_role: type: string required: true + port_pcm_port_0_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_pcm_port_1_network_role_tag: type: string required: true @@ -64,6 +69,11 @@ topology_template: port_pcm_port_1_network_role: type: string required: true + port_pcm_port_1_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_pcm_port_1_network: type: list required: true @@ -157,6 +167,10 @@ topology_template: pcma_server_pcm_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + mac_requirements: + get_input: port_pcm_port_0_mac_requirements + order: + get_input: port_pcm_port_0_order security_groups: get_input: - port_pcm_port_0_security_groups @@ -165,22 +179,22 @@ topology_template: get_input: port_pcm_port_0_exCP_naming vlan_requirements: get_input: port_pcm_port_0_vlan_requirements + subinterface_indicator: + get_input: + - port_pcm_port_0_subinterface_indicator + - index_value ip_requirements: get_input: port_pcm_port_0_ip_requirements network_role_tag: get_input: port_pcm_port_0_network_role_tag - mac_requirements: - get_input: port_pcm_port_0_mac_requirements - order: - get_input: port_pcm_port_0_order network_role: get_input: port_pcm_port_0_network_role - subnetpoolid: - get_input: port_pcm_port_0_subnetpoolid fixed_ips: get_input: - port_pcm_port_0_fixed_ips - index_value + subnetpoolid: + get_input: port_pcm_port_0_subnetpoolid network: get_input: - port_pcm_port_0_network @@ -193,6 +207,10 @@ topology_template: pcma_server_pcm_port_1: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + mac_requirements: + get_input: port_pcm_port_1_mac_requirements + order: + get_input: port_pcm_port_1_order security_groups: get_input: - port_pcm_port_1_security_groups @@ -201,22 +219,22 @@ topology_template: get_input: port_pcm_port_1_exCP_naming vlan_requirements: get_input: port_pcm_port_1_vlan_requirements + subinterface_indicator: + get_input: + - port_pcm_port_1_subinterface_indicator + - index_value ip_requirements: get_input: port_pcm_port_1_ip_requirements network_role_tag: get_input: port_pcm_port_1_network_role_tag - mac_requirements: - get_input: port_pcm_port_1_mac_requirements - order: - get_input: port_pcm_port_1_order network_role: get_input: port_pcm_port_1_network_role - subnetpoolid: - get_input: port_pcm_port_1_subnetpoolid fixed_ips: get_input: - port_pcm_port_1_fixed_ips - index_value + subnetpoolid: + get_input: port_pcm_port_1_subnetpoolid network: get_input: - port_pcm_port_1_network diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/nested-no_vfc_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/nested-no_vfc_v0.1ServiceTemplate.yaml index c6ff74820a..8f8d2f7a73 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/nested-no_vfc_v0.1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/out/nested-no_vfc_v0.1ServiceTemplate.yaml @@ -112,6 +112,8 @@ topology_template: directives: - substitutable properties: + port_pcm_port_0_subinterface_indicator: + - true port_pcm_port_1_network_role_tag: oam port_pcm_port_0_fixed_ips: - ip_address: @@ -125,6 +127,8 @@ topology_template: vm_image_name: get_input: pcma_image_name port_pcm_port_0_network_role_tag: cps + port_pcm_port_1_subinterface_indicator: + - true port_pcm_port_1_network: - get_input: oam_net_name port_pcm_port_0_ip_requirements: @@ -187,6 +191,8 @@ topology_template: port_pcm_port_2_fixed_ips: - ip_address: get_input: cps_net_ip + port_pcm_port_2_subinterface_indicator: + - true vm_flavor_name: get_input: pcma_flavor_name port_pcm_port_3_security_groups: @@ -219,6 +225,8 @@ topology_template: get_input: oam_net_ip compute_pcma_server_user_data_format: - RAW + port_pcm_port_3_subinterface_indicator: + - true port_pcm_port_2_network: - get_input: cps_net_name port_pcm_port_2_ip_requirements: |