diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml')
1 files changed, 176 insertions, 186 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml index 26ab893506..dd024c4607 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml @@ -83,28 +83,57 @@ 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: - pcm_flavor_name: - get_input: pcm_flavor_name - service_template_filter: - substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml - server_group: BE_Affinity_group - pcm_image_name: - get_input: pcm_image_name - security_group_name: jsa_security_group - pcm_server_name: - get_input: - - pcm_server_names + 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 + 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 + 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_user_data_format: + - RAW + 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 @@ -114,22 +143,15 @@ topology_template: compute_1c1_scalling_instance_user_data_format: - RAW2 - RAW1 - port_1c1_t2_port_network_role_tag: - - ppds - - ppds + 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: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false vm_image_name: get_input: pd_image_name compute_1c1_scalling_instance_name: @@ -144,48 +166,29 @@ topology_template: - 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 - - 4 - - - ip_address: - get_input: - - myIPs - - 2 + - 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 - - 3 - - - 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: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false - port_1c1_t1_port_mac_requirements: - - mac_count_required: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: is_required: false - - mac_count_required: + port_1c1_t1_port_mac_requirements: + mac_count_required: is_required: false port_1c1_t2_port_mac_requirements: - - mac_count_required: - is_required: false - - mac_count_required: + mac_count_required: is_required: false compute_1c1_scalling_instance_availability_zone: - get_input: availabilityzone_name @@ -209,65 +212,56 @@ 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: - port_1b_t2_port_mac_requirements: - - mac_count_required: + server_group: BE_Affinity_group + port_pcm_port_1_network_role_tag: oam + port_pcm_port_0_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: is_required: false - 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 - 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 - port_1b_t1_port_mac_requirements: - - mac_count_required: + 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 - port_1b_t2_port_network: - - b_single_1b_network - compute_b_single_1b_user_data_format: - - RAW - compute_b_single_1b_name: - - get_input: - - b_single_1b_names - - 0 + pcm_flavor_name: + get_input: pcm_flavor_name service_template_filter: - substitute_service_template: Nested_b_single_1b_0ServiceTemplate.yaml - count: 1 - index_value: - get_property: - - SELF - - service_template_filter - - index_value + 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: + mac_count_required: + is_required: false + pcm_server_name: + get_input: + - pcm_server_names + - 0 + 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: @@ -278,13 +272,13 @@ topology_template: 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: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false port_1c2_t1_port_mac_requirements: - - mac_count_required: + mac_count_required: is_required: false port_1c2_t2_port_network: - 1c2_catalog_instance_network @@ -295,22 +289,21 @@ topology_template: port_1c2_t1_port_network: - get_input: oam_net_name port_1c2_t2_port_mac_requirements: - - mac_count_required: + 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_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: 4 + 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_instance_0ServiceTemplate.yaml + substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml count: 1 index_value: get_property: @@ -323,7 +316,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: @@ -334,13 +327,13 @@ topology_template: 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: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false port_1c2_t1_port_mac_requirements: - - mac_count_required: + mac_count_required: is_required: false port_1c2_t2_port_network: - 1c2_catalog_instance_network @@ -351,24 +344,23 @@ topology_template: port_1c2_t1_port_network: - get_input: oam_net_name port_1c2_t2_port_mac_requirements: - - mac_count_required: + 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_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: 4 + 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_instance_1ServiceTemplate.yaml + substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml count: 1 index_value: get_property: @@ -427,17 +419,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 @@ -454,7 +446,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 @@ -482,7 +474,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 @@ -490,7 +482,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 @@ -510,30 +502,29 @@ topology_template: - substitutable properties: port_1a_t1_port_ip_requirements: - - - ip_version: 4 - ip_count_required: - is_required: false - floating_ip_count_required: - is_required: false - port_1a_t2_port_network_role_tag: - - ppds + - ip_version: 4 + 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: + 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: 4 + 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: @@ -545,7 +536,7 @@ topology_template: - a_single_1a_names - 0 port_1a_t2_port_mac_requirements: - - mac_count_required: + mac_count_required: is_required: false service_template_filter: substitute_service_template: Nested_a_single_1aServiceTemplate.yaml @@ -666,11 +657,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 @@ -696,32 +687,31 @@ topology_template: 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: 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: + 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 - port_1b_t1_port_network_role_tag: - - oam + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_1b_t1_port_network_role_tag: oam port_1b_t1_port_mac_requirements: - - mac_count_required: + mac_count_required: is_required: false port_1b_t2_port_network: - b_single_1b_network @@ -762,6 +752,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 @@ -771,17 +762,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 @@ -818,13 +808,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 @@ -840,7 +830,7 @@ topology_template: - nestedNoUnified - portId - get_attribute: - - abstract_pcm_server_0 + - 4p_nested - server_pcm_id out6: value: @@ -854,4 +844,4 @@ topology_template: name: def affinity: host targets: - - BE_Affinity_group
\ No newline at end of file + - BE_Affinity_group |