From 280f8015d06af1f41a3ef12e8300801c7a5e0d54 Mon Sep 17 00:00:00 2001 From: AviZi Date: Fri, 9 Jun 2017 02:39:56 +0300 Subject: [SDC-29] Amdocs OnBoard 1707 initial commit. Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi --- .../expectedoutputfiles/MainServiceTemplate.yaml | 209 +++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml new file mode 100644 index 0000000000..56b552b348 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml @@ -0,0 +1,209 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Main +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +node_types: + org.openecomp.resource.vfc.nodes.heat.myNovaServer2: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server + org.openecomp.resource.vfc.nodes.heat.myNovaServer1: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + flavor: + hidden: false + immutable: false + type: string + p1: + hidden: false + immutable: false + type: string + description: p1 + image: + hidden: false + immutable: false + type: string + p2: + hidden: false + immutable: false + type: string + description: p2 + names: + hidden: false + immutable: false + type: string + myIPs: + hidden: false + immutable: false + type: string + description: ip1 + availability_zone_1: + hidden: false + immutable: false + type: string + description: myAvailability_zone_1 + net: + hidden: false + immutable: false + type: string + description: UID of network + node_templates: + myNovaServer1: + type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1 + properties: + flavor: + get_input: flavor + availability_zone: + get_input: availability_zone_1 + image: + get_input: image + name: + get_input: + - names + - 0 + myNovaServer2: + type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2 + properties: + flavor: + get_input: flavor + availability_zone: + get_input: availability_zone_1 + image: + get_input: image + name: + get_input: + - names + - 0 + myPort2: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + - get_input: p2 + fixed_ips: + - ip_address: + get_input: + - myIPs + - 0 + mac_requirements: + mac_count_required: + is_required: false + network: + get_input: net + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: myNovaServer1 + relationship: tosca.relationships.network.BindsTo + myPort1: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + - get_input: p1 + fixed_ips: + - ip_address: + get_input: + - myIPs + - 0 + mac_requirements: + mac_count_required: + is_required: false + network: + get_input: net + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: myNovaServer1 + relationship: tosca.relationships.network.BindsTo + myPort4: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + - get_input: p2 + fixed_ips: + - ip_address: + get_input: + - myIPs + - 0 + mac_requirements: + mac_count_required: + is_required: false + network: + get_input: net + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: myNovaServer2 + relationship: tosca.relationships.network.BindsTo + myPort3: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + - get_input: p1 + fixed_ips: + - ip_address: + get_input: + - myIPs + - 0 + mac_requirements: + mac_count_required: + is_required: false + network: + get_input: net + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: myNovaServer2 + relationship: tosca.relationships.network.BindsTo + groups: + main_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/main.yml + description: cmaui server template for vMMSC + members: + - myNovaServer1 + - myNovaServer2 + - myPort2 + - myPort1 + - myPort4 + - myPort3 + SVCgroup1_simpleGroup_group: + type: tosca.groups.Root + members: + - myNovaServer1 + policies: + SVCgroup1_policy: + type: org.openecomp.policies.placement.valet.Diversity + properties: + level: host + targets: + - SVCgroup1_simpleGroup_group \ No newline at end of file -- cgit 1.2.3-korg