diff options
author | 2018-02-22 14:32:06 +0530 | |
---|---|---|
committer | 2018-02-28 09:56:30 +0000 | |
commit | 51e051e86f9f5d10c9439e9e5e57d1e9ee8f8e06 (patch) | |
tree | 957583dc6b93667d7024c7258716d6c6b96776c2 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out | |
parent | bc169d4b132891052cc8c642e18e642afd04464f (diff) |
VLAN tagging - Pattern 1A, 1C1
1. Implementation for supporting VLAN
tagging in Pattern 1A and 1C1 heats
2. Updated code for switch case refactor with
command design pattern
3. Added unit tests and bug fixes
Change-Id: I54938ffd6673f865b4506a890ec8e7b9c54597b1
Issue-ID: SDC-1036
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out')
1 files changed, 995 insertions, 975 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 05ad6b129c..85fb0d54bf 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 @@ -1,975 +1,995 @@ -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: - 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 - 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 - 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 - port_1c1_t2_port_fixed_ips: - - ip_address: - get_input: - - myIPs - - 1 - port_1c1_t2_port_network: - - get_input: ppds_net_name - port_1c1_t1_port_fixed_ips: - - 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 - 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 - 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 - server_group: BE_Affinity_group - 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 - 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 - 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 - - 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 - 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 - 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 - 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: - 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 - 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 - 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 - 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 - 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 - 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:
+ 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
+ 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: 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:
+ - 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: 4
+ ip_count_required:
+ is_required: true
+ 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
+ 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
+ server_group: BE_Affinity_group
+ 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
+ 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
+ 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
+ - 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
+ 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
+ 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
+ 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:
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
\ No newline at end of file |