diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/consolidation/out/SubstitutionServiceTemplate.yaml')
1 files changed, 390 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/consolidation/out/SubstitutionServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/consolidation/out/SubstitutionServiceTemplate.yaml new file mode 100644 index 0000000000..4c5d4ae924 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/unifiedComposition/creSubstitutionServiceTemplate/updNodesGetAttrInFromInnerNodes/consolidation/out/SubstitutionServiceTemplate.yaml @@ -0,0 +1,390 @@ +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_FSB1_Internal_mac_address: + type: list + required: true + entry_schema: + type: string + compute_FSB1_metadata: + type: list + required: true + entry_schema: + type: json + compute_FSB1_availability_zone: + 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 + compute_FSB1_name: + 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 + node_templates: + FSB1_FSB1_Internal: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + network: + get_attribute: + - FSB1_FSB2_Internal + - device_id + mac_address: + get_input: + - port_FSB1_Internal_mac_address + - index_value + 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: + device_id: + get_attribute: + - FSB1 + - device_id + 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: + type: org.openecomp.resource.vfc.nodes.heat.FSB1 + properties: + availability_zone: + get_input: + - compute_FSB1_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + metadata: + get_input: + - compute_FSB1_metadata + - index_value + name: + get_attribute: + - FSB1_FSB1_Internal + - 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_oam_index: + type: list + value: + get_attribute: + - FSB1 + - oam_index + 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_FSB1_Internal_oam_index: + type: list + value: + get_attribute: + - FSB1_FSB1_Internal + - oam_index + entry_schema: + type: string + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.FSB1 + capabilities: + 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 + 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 + 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 + 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.incoming.packets_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - network.incoming.packets + attachment_FSB1_FSB1_Internal: + - FSB1_FSB1_Internal + - attachment + memory_FSB1: + - FSB1 + - memory + 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 + 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.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 + 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_FSB2_Internal: + - FSB1_FSB2_Internal + - dependency |