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/MainServiceTemplate.yaml')
1 files changed, 143 insertions, 143 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/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 d7fa0cedf3..5d30f60616 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 @@ -83,14 +83,41 @@ topology_template: immutable: false type: string node_templates: - abstract_pcm_server_0: - type: org.openecomp.resource.abstract.nodes.heat.pcm_server + abstract_b_single_1b: + type: org.openecomp.resource.abstract.nodes.b_single_1b directives: - substitutable properties: - server_group: BE_Affinity_group - port_pcm_port_1_network_role_tag: oam - connectivityChk: + 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 + 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 + compute_b_single_1b_metadata: + - connectivityTo4PNested: + get_attribute: + - 4p_nested + - server_pcm_id connectivityTo1C2_1: get_attribute: - abstract_1c2_catalog_instance_0 @@ -99,64 +126,39 @@ topology_template: 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_0 - - b_single_1b_instance_name - connectivityTo1B01: + connectivityToNoUnifiedNested: get_attribute: - - abstract_b_single_1b_0 - - b_single_1b_instance_name - connectivityTo1C1_T2_1: + - nestedNoUnified + - portId + connectivityTo1C1_T1_1: get_attribute: - abstract_1c1_scalling_instance - - 1c1_scalling_instance_1c1_t2_port_tenant_id - connectivityTo1C1_T2_0: + - 1c1_scalling_instance_1c1_t1_port_tenant_id + connectivityTo1C1_T1_0: get_attribute: - abstract_1c1_scalling_instance - - 1c1_scalling_instance_1c1_t2_port_tenant_id - port_pcm_port_0_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false - pcm_image_name: - get_input: pcm_image_name - security_group_name: jsa_security_group - port_pcm_port_1_mac_requirements: - mac_count_required: - is_required: false - pcm_flavor_name: - get_input: pcm_flavor_name - service_template_filter: - substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml - port_pcm_port_1_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false - port_pcm_port_0_network_role_tag: cps - port_pcm_port_0_mac_requirements: + - 1c1_scalling_instance_1c1_t1_port_tenant_id + port_1b_t1_port_mac_requirements: mac_count_required: is_required: false - pcm_server_name: - get_input: - - pcm_server_names + port_1b_t2_port_network: + - b_single_1b_network + compute_b_single_1b_name: + - get_input: + - b_single_1b_names - 0 - cps_net_name: nested_network + 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_pcm_port_0: + - link_b_single_1b_1b_t2_port: capability: tosca.capabilities.network.Linkable - node: nested_network + node: b_single_1b_network relationship: tosca.relationships.network.LinksTo abstract_1c1_scalling_instance: type: org.openecomp.resource.abstract.nodes.1c1_scalling_instance @@ -226,7 +228,7 @@ topology_template: - null - connectivityTo4PNested: get_attribute: - - abstract_pcm_server_0 + - 4p_nested - server_pcm_id connectivityTo1C2_1: get_attribute: @@ -250,7 +252,7 @@ topology_template: - b_single_1b_instance_name connectivityTo1B01: get_attribute: - - abstract_b_single_1b_0 + - abstract_b_single_1b - b_single_1b_instance_name service_template_filter: substitute_service_template: Nested_1c1_scalling_instanceServiceTemplate.yaml @@ -265,90 +267,88 @@ topology_template: capability: tosca.capabilities.network.Linkable node: 1c1_scalling_instance_network relationship: tosca.relationships.network.LinksTo - abstract_b_single_1b_0: - type: org.openecomp.resource.abstract.nodes.b_single_1b_0 + 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.nested-pcm_v0.1 directives: - substitutable properties: - vm_flavor_name: - get_input: pd_flavor_name - port_1b_t1_port_ip_requirements: + server_group: BE_Affinity_group + port_pcm_port_1_network_role_tag: oam + 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 + port_pcm_port_0_ip_requirements: - ip_version: 4 ip_count_required: - is_required: false + is_required: true 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: + pcm_image_name: + get_input: pcm_image_name + security_group_name: jsa_security_group + port_pcm_port_1_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: + pcm_flavor_name: + get_input: pcm_flavor_name + service_template_filter: + substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml + port_pcm_port_1_ip_requirements: - ip_version: 4 ip_count_required: - is_required: false + is_required: true floating_ip_count_required: is_required: false - compute_b_single_1b_metadata: - - connectivityTo4PNested: - get_attribute: - - abstract_pcm_server_0 - - 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: + port_pcm_port_0_network_role_tag: cps + port_pcm_port_0_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 + pcm_server_name: + get_input: + - pcm_server_names - 0 - service_template_filter: - substitute_service_template: Nested_b_single_1b_0ServiceTemplate.yaml - count: 1 - index_value: - get_property: - - SELF - - service_template_filter - - index_value + cps_net_name: nested_network requirements: - - link_b_single_1b_1b_t2_port: + - link_pcm_port_0: capability: tosca.capabilities.network.Linkable - node: b_single_1b_network + node: nested_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 abstract_1c2_catalog_instance_0: - type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance_0 + type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance directives: - substitutable properties: @@ -372,7 +372,7 @@ topology_template: compute_1c2_catalog_instance_metadata: - connectivityTo4PNested: get_attribute: - - abstract_pcm_server_0 + - 4p_nested - server_pcm_id connectivityTo1A: get_attribute: @@ -388,7 +388,7 @@ topology_template: - b_single_1b_instance_name connectivityTo1B01: get_attribute: - - abstract_b_single_1b_0 + - abstract_b_single_1b - b_single_1b_instance_name connectivityTo1C1_T2_1: get_attribute: @@ -419,7 +419,7 @@ topology_template: compute_1c2_catalog_instance_scheduler_hints: - group: BE_Affinity_group service_template_filter: - substitute_service_template: Nested_1c2_catalog_instance_0ServiceTemplate.yaml + substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml count: 1 index_value: get_property: @@ -432,7 +432,7 @@ topology_template: node: 1c2_catalog_instance_network relationship: tosca.relationships.network.LinksTo abstract_1c2_catalog_instance_1: - type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance_1 + type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance directives: - substitutable properties: @@ -476,7 +476,7 @@ topology_template: compute_1c2_catalog_instance_scheduler_hints: - group: BE_Affinity_group service_template_filter: - substitute_service_template: Nested_1c2_catalog_instance_1ServiceTemplate.yaml + substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml count: 1 index_value: get_property: @@ -535,17 +535,17 @@ topology_template: - nestedNoUnified - portId - get_attribute: - - abstract_pcm_server_0 + - 4p_nested - server_pcm_id value_specs: get_attribute: - - abstract_b_single_1b_0 + - 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_0 + - abstract_b_single_1b - b_single_1b_1b_t1_port_tenant_id - get_attribute: - abstract_b_single_1b_1 @@ -562,7 +562,7 @@ topology_template: relationship: tosca.relationships.DependsOn - dependency: capability: tosca.capabilities.Node - node: abstract_pcm_server_0 + node: 4p_nested relationship: tosca.relationships.DependsOn - dependency: capability: feature_1c2_catalog_instance_1c2_t1_port @@ -590,7 +590,7 @@ topology_template: relationship: tosca.relationships.DependsOn - dependency: capability: feature_b_single_1b - node: abstract_b_single_1b_0 + node: abstract_b_single_1b relationship: tosca.relationships.DependsOn - dependency: capability: feature_b_single_1b @@ -598,7 +598,7 @@ topology_template: relationship: tosca.relationships.DependsOn - dependency: capability: feature_b_single_1b_1b_t1_port - node: abstract_b_single_1b_0 + node: abstract_b_single_1b relationship: tosca.relationships.DependsOn - dependency: capability: feature_b_single_1b_1b_t1_port @@ -620,7 +620,7 @@ topology_template: compute_a_single_1a_metadata: - connectivityTo4PNested: get_attribute: - - abstract_pcm_server_0 + - 4p_nested - server_pcm_id connectivityTo1C2_1: get_attribute: @@ -639,11 +639,11 @@ topology_template: - abstract_b_single_1b_1 - b_single_1b_instance_name - get_attribute: - - abstract_b_single_1b_0 + - abstract_b_single_1b - b_single_1b_instance_name connectivityTo1B01: get_attribute: - - abstract_b_single_1b_0 + - abstract_b_single_1b - b_single_1b_instance_name connectivityTo1C1_T2_1: get_attribute: @@ -731,11 +731,11 @@ topology_template: - abstract_b_single_1b_1 - b_single_1b_instance_name - get_attribute: - - abstract_b_single_1b_0 + - abstract_b_single_1b - b_single_1b_instance_name connectivityTo1B01: get_attribute: - - abstract_b_single_1b_0 + - abstract_b_single_1b - b_single_1b_instance_name connectivityTo1C1_T2_1: get_attribute: @@ -841,11 +841,11 @@ topology_template: requirements: - port: capability: attachment_pcm_port_0 - node: abstract_pcm_server_0 + node: 4p_nested relationship: org.openecomp.relationships.AttachesTo - port: capability: attachment_pcm_port_1 - node: abstract_pcm_server_0 + node: 4p_nested relationship: org.openecomp.relationships.AttachesTo - port: capability: attachment_pcm_port_0 @@ -940,6 +940,7 @@ topology_template: description: heat template that creates MOG stack members: - b_single_1b_network + - 4p_nested - 1c1_scalling_instance_network - nodeGetAttIn_network - dependsOn_network @@ -949,17 +950,16 @@ topology_template: - a_single_1a_network - 1c2_catalog_instance_network - abstract_a_single_1a - - abstract_b_single_1b_0 + - abstract_b_single_1b - abstract_b_single_1b_1 - abstract_1c1_scalling_instance - abstract_1c2_catalog_instance_0 - abstract_1c2_catalog_instance_1 - - abstract_pcm_server_0 BE_Affinity_group: type: tosca.groups.Root members: - abstract_a_single_1a - - abstract_b_single_1b_0 + - abstract_b_single_1b - abstract_b_single_1b_1 - abstract_1c1_scalling_instance - abstract_1c2_catalog_instance_0 @@ -996,13 +996,13 @@ topology_template: out4: value: get_attribute: - - abstract_b_single_1b_0 + - 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_0 + - abstract_b_single_1b - b_single_1b_1b_t1_port_tenant_id - get_attribute: - abstract_b_single_1b_1 @@ -1018,7 +1018,7 @@ topology_template: - nestedNoUnified - portId - get_attribute: - - abstract_pcm_server_0 + - 4p_nested - server_pcm_id out6: value: |