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/noConsolidation/out/SubstitutionServiceTemplate.yaml')
1 files changed, 634 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/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..c6275a1ab8 --- /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,634 @@ +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: string + required: true + port_FSB_OAM_network_role_tag: + type: list + required: true + entry_schema: + type: string + port_FSB1_Internal_ip_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB1_Internal_subnetpoolid: + type: list + required: true + entry_schema: + type: string + port_FSB2_Internal_vlan_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB2_Internal_order: + type: list + required: true + entry_schema: + type: integer + port_FSB2_Internal_ip_requirements: + type: list + required: true + entry_schema: + type: json + vm_flavor_name: + type: string + required: true + port_FSB_OAM_vlan_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB2_Internal_network_role: + type: list + required: true + entry_schema: + type: string + port_FSB_OAM_ip_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB1_Internal_network_role_tag: + type: list + required: true + entry_schema: + type: string + port_FSB1_Internal_vlan_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB2_Internal_subnetpoolid: + type: list + required: true + entry_schema: + type: string + port_FSB1_Internal_exCP_naming: + type: list + required: true + entry_schema: + type: json + port_FSB_OAM_network_role: + type: list + required: true + entry_schema: + type: string + port_FSB_OAM_network: + type: list + required: true + entry_schema: + type: string + port_FSB1_Internal_network_role: + type: list + required: true + entry_schema: + type: string + port_FSB_OAM_subnetpoolid: + type: list + required: true + entry_schema: + type: string + port_FSB_OAM_mac_requirements: + 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_FSB_OAM_order: + type: list + required: true + entry_schema: + type: integer + port_FSB2_Internal_mac_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB2_Internal_mac_address: + type: string + required: true + port_FSB2_Internal_exCP_naming: + type: list + required: true + entry_schema: + type: json + port_FSB1_Internal_order: + type: list + required: true + entry_schema: + type: integer + port_FSB_OAM_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_FSB2_Internal_network: + type: list + required: true + entry_schema: + type: string + port_FSB1_Internal_mac_requirements: + type: list + required: true + entry_schema: + type: json + port_FSB_OAM_exCP_naming: + type: list + required: true + entry_schema: + type: json + port_FSB2_Internal_network_role_tag: + type: list + required: true + entry_schema: + type: string + node_templates: + FSB1_FSB1_Internal: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: + - port_FSB1_Internal_exCP_naming + - index_value + vlan_requirements: + get_input: + - port_FSB1_Internal_vlan_requirements + - index_value + ip_requirements: + get_input: + - port_FSB1_Internal_ip_requirements + - index_value + network_role_tag: + get_input: + - port_FSB1_Internal_network_role_tag + - index_value + mac_requirements: + get_input: + - port_FSB1_Internal_mac_requirements + - index_value + order: + get_input: + - port_FSB1_Internal_order + - index_value + network_role: + get_input: + - port_FSB1_Internal_network_role + - index_value + subnetpoolid: + get_input: + - port_FSB1_Internal_subnetpoolid + - index_value + network: + get_input: + - port_FSB1_Internal_network + - index_value + mac_address: + get_input: port_FSB1_Internal_mac_address + 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: + exCP_naming: + get_input: + - port_FSB2_Internal_exCP_naming + - index_value + vlan_requirements: + get_input: + - port_FSB2_Internal_vlan_requirements + - index_value + ip_requirements: + get_input: + - port_FSB2_Internal_ip_requirements + - index_value + network_role_tag: + get_input: + - port_FSB2_Internal_network_role_tag + - index_value + mac_requirements: + get_input: + - port_FSB2_Internal_mac_requirements + - index_value + order: + get_input: + - port_FSB2_Internal_order + - index_value + network_role: + get_input: + - port_FSB2_Internal_network_role + - index_value + subnetpoolid: + get_input: + - port_FSB2_Internal_subnetpoolid + - index_value + network: + get_input: + - port_FSB2_Internal_network + - index_value + mac_address: + get_input: port_FSB2_Internal_mac_address + 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: + exCP_naming: + get_input: + - port_FSB_OAM_exCP_naming + - index_value + vlan_requirements: + get_input: + - port_FSB_OAM_vlan_requirements + - index_value + ip_requirements: + get_input: + - port_FSB_OAM_ip_requirements + - index_value + network_role_tag: + get_input: + - port_FSB_OAM_network_role_tag + - index_value + mac_requirements: + get_input: + - port_FSB_OAM_mac_requirements + - index_value + order: + get_input: + - port_FSB_OAM_order + - index_value + network_role: + get_input: + - port_FSB_OAM_network_role + - index_value + subnetpoolid: + get_input: + - port_FSB_OAM_subnetpoolid + - index_value + fixed_ips: + get_input: port_FSB_OAM_fixed_ips + 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 |