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 --- .../out/SubstitutionServiceTemplate.yaml | 423 +++++++++++++++++++++ 1 file changed, 423 insertions(+) create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/noConsolidation/out/SubstitutionServiceTemplate.yaml (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/noConsolidation/out/SubstitutionServiceTemplate.yaml') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/noConsolidation/out/SubstitutionServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/noConsolidation/out/SubstitutionServiceTemplate.yaml new file mode 100644 index 0000000000..3ef8780d7e --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/noConsolidation/out/SubstitutionServiceTemplate.yaml @@ -0,0 +1,423 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_FSB1 +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.nodes.heat.FSB1: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_FSB_OAM_fixed_ips: + type: list + required: true + entry_schema: + type: json + port_FSB1_Internal_network: + type: list + required: true + entry_schema: + type: string + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_FSB2_Internal_network: + type: list + required: true + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + port_FSB2_Internal_mac_address: + type: list + required: true + entry_schema: + type: string + port_FSB_OAM_network: + type: list + required: true + entry_schema: + type: string + node_templates: + FSB1_FSB1_Internal: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + network: + get_input: + - port_FSB1_Internal_network + - index_value + mac_address: + get_attribute: + - FSB1 + - mac + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: FSB1 + relationship: tosca.relationships.network.BindsTo + FSB1_FSB2_Internal: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + network: + get_input: + - port_FSB2_Internal_network + - index_value + mac_address: + get_input: + - port_FSB2_Internal_mac_address + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: FSB1 + relationship: tosca.relationships.network.BindsTo + FSB1_FSB_OAM: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + fixed_ips: + get_input: + - port_FSB_OAM_fixed_ips + - index_value + network: + get_input: + - port_FSB_OAM_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: FSB1 + relationship: tosca.relationships.network.BindsTo + FSB1: + type: org.openecomp.resource.vfc.nodes.heat.FSB1 + properties: + availability_zone: + get_attribute: + - FSB1_FSB1_Internal + - myAttr + - get_attribute: + - FSB1_FSB1_Internal + - index + flavor: + get_input: vm_flavor_name + artifacts: + nimbus-ethernet-gw: + type: tosca.artifacts.Deployment + file: ../Artifacts/nimbus-ethernet-gw + nimbus-ethernet: + type: tosca.artifacts.Deployment + file: ../Artifacts/nimbus-ethernet + outputs: + FSB1_FSB1_Internal_network_id: + type: list + value: + get_attribute: + - FSB1_FSB1_Internal + - network_id + entry_schema: + type: string + FSB1_FSB1_Internal_addresses: + type: list + value: + get_attribute: + - FSB1_FSB1_Internal + - addresses + entry_schema: + type: string + FSB1_accessIPv6: + type: list + value: + get_attribute: + - FSB1 + - accessIPv6 + entry_schema: + type: string + FSB1_addresses: + type: list + value: + get_attribute: + - FSB1 + - addresses + entry_schema: + type: string + FSB1_FSB2_Internal_network_id: + type: list + value: + get_attribute: + - FSB1_FSB2_Internal + - network_id + entry_schema: + type: string + FSB1_FSB2_Internal_index: + type: list + value: + get_attribute: + - FSB1_FSB2_Internal + - index + entry_schema: + type: string + FSB1_FSB_OAM_oam_index: + type: list + value: + get_attribute: + - FSB1_FSB_OAM + - oam_index + entry_schema: + type: string + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.FSB1 + capabilities: + network.outgoing.packets.rate_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.outgoing.packets.rate + attachment_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - attachment + binding_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - binding + binding_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - binding + disk.capacity_FSB1: + - FSB1 + - disk.capacity + disk.read.bytes.rate_FSB1: + - FSB1 + - disk.read.bytes.rate + disk.device.latency_FSB1: + - FSB1 + - disk.device.latency + disk.allocation_FSB1: + - FSB1 + - disk.allocation + disk.read.bytes_FSB1: + - FSB1 + - disk.read.bytes + disk.device.capacity_FSB1: + - FSB1 + - disk.device.capacity + cpu_util_FSB1: + - FSB1 + - cpu_util + disk.device.write.requests.rate_FSB1: + - FSB1 + - disk.device.write.requests.rate + disk.root.size_FSB1: + - FSB1 + - disk.root.size + network.outgoing.bytes.rate_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.outgoing.bytes.rate + feature_FSB1: + - FSB1 + - feature + network.incoming.packets.rate_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.incoming.packets.rate + network.outgoing.bytes_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.outgoing.bytes + attachment_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - attachment + feature_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - feature + network.incoming.packets_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.incoming.packets + feature_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - feature + memory.resident_FSB1: + - FSB1 + - memory.resident + network.incoming.packets.rate_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.incoming.packets.rate + cpu_FSB1: + - FSB1 + - cpu + disk.write.requests.rate_FSB1: + - FSB1 + - disk.write.requests.rate + instance_FSB1: + - FSB1 + - instance + network.incoming.bytes_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.incoming.bytes + disk.device.read.bytes.rate_FSB1: + - FSB1 + - disk.device.read.bytes.rate + cpu.delta_FSB1: + - FSB1 + - cpu.delta + disk.write.bytes_FSB1: + - FSB1 + - disk.write.bytes + binding_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - binding + disk.device.read.requests.rate_FSB1: + - FSB1 + - disk.device.read.requests.rate + feature_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - feature + disk.device.read.requests_FSB1: + - FSB1 + - disk.device.read.requests + disk.ephemeral.size_FSB1: + - FSB1 + - disk.ephemeral.size + binding_FSB1: + - FSB1 + - binding + disk.device.write.bytes_FSB1: + - FSB1 + - disk.device.write.bytes + network.outpoing.packets_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.outpoing.packets + network.incoming.packets_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.incoming.packets + attachment_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - attachment + memory_FSB1: + - FSB1 + - memory + network.incoming.bytes.rate_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.incoming.bytes.rate + network.outpoing.packets_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.outpoing.packets + network.outgoing.bytes.rate_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.outgoing.bytes.rate + network.outgoing.bytes_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.outgoing.bytes + disk.device.read.bytes_FSB1: + - FSB1 + - disk.device.read.bytes + disk.device.usage_FSB1: + - FSB1 + - disk.device.usage + disk.write.bytes.rate_FSB1: + - FSB1 + - disk.write.bytes.rate + scalable_FSB1: + - FSB1 + - scalable + disk.usage_FSB1: + - FSB1 + - disk.usage + host_FSB1: + - FSB1 + - host + disk.device.allocation_FSB1: + - FSB1 + - disk.device.allocation + os_FSB1: + - FSB1 + - os + vcpus_FSB1: + - FSB1 + - vcpus + disk.write.requests_FSB1: + - FSB1 + - disk.write.requests + network.incoming.packets.rate_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.incoming.packets.rate + network.outgoing.bytes_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.outgoing.bytes + network.incoming.bytes_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.incoming.bytes + network.outpoing.packets_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.outpoing.packets + disk.device.write.bytes.rate_FSB1: + - FSB1 + - disk.device.write.bytes.rate + network.outgoing.bytes.rate_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.outgoing.bytes.rate + endpoint_FSB1: + - FSB1 + - endpoint + network.outgoing.packets.rate_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.outgoing.packets.rate + network.incoming.bytes.rate_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.incoming.bytes.rate + disk.latency_FSB1: + - FSB1 + - disk.latency + memory.usage_FSB1: + - FSB1 + - memory.usage + disk.read.requests_FSB1: + - FSB1 + - disk.read.requests + network.incoming.packets_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - network.incoming.packets + disk.device.write.requests_FSB1: + - FSB1 + - disk.device.write.requests + network.incoming.bytes.rate_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.incoming.bytes.rate + network.incoming.bytes_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.incoming.bytes + disk.iops_FSB1: + - FSB1 + - disk.iops + network.outgoing.packets.rate_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - network.outgoing.packets.rate + disk.device.iops_FSB1: + - FSB1 + - disk.device.iops + requirements: + dependency_FSB1: + - FSB1 + - dependency + link_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - link + dependency_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - dependency + link_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - link + local_storage_FSB1: + - FSB1 + - local_storage + dependency_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - dependency + link_FSB1_FSB_OAM: + - FSB1_FSB_OAM + - link + dependency_FSB1_FSB2_Internal: + - FSB1_FSB2_Internal + - dependency -- cgit 1.2.3-korg