diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml')
1 files changed, 637 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml new file mode 100644 index 0000000000..a157cf8c26 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml @@ -0,0 +1,637 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_iox +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.iox: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_iox_data_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_iox_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_iox_internal_0_port_network: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_name: + type: list + required: true + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + port_iox_data_0_port_subnetpoolid: + type: string + required: true + port_iox_data_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_iox_internal_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + vm_image_name: + type: string + required: true + port_iox_oam_0_port_name: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_network_role_tag: + type: string + required: true + port_iox_oam_0_port_subnetpoolid: + type: string + required: true + compute_iox_user_data_format: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_iox_internal_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + compute_iox_config_drive: + type: list + required: true + entry_schema: + type: boolean + port_iox_internal_0_port_order: + type: integer + required: true + port_iox_oam_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_iox_internal_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_iox_image_update_policy: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_order: + type: integer + required: true + port_iox_oam_0_port_network: + type: list + required: true + entry_schema: + type: string + port_iox_internal_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_iox_oam_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_iox_data_0_port_order: + type: integer + required: true + port_iox_internal_0_port_name: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_iox_data_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_iox_name: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_network: + type: list + required: true + entry_schema: + type: string + port_iox_internal_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_iox_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_iox_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_iox_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_iox_oam_0_port_network_role: + type: string + required: true + port_iox_internal_0_port_network_role: + type: string + required: true + port_iox_data_0_port_network_role: + type: string + required: true + port_iox_data_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + compute_iox_metadata: + type: list + required: true + entry_schema: + type: json + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_iox_internal_0_port_network_role_tag: + type: string + required: true + port_iox_oam_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_iox_internal_0_port_subnetpoolid: + type: string + required: true + compute_iox_availability_zone: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_iox_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_iox_oam_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_iox_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_iox_data_0_port_network_role_tag: + type: string + required: true + node_templates: + iox_iox_data_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_iox_data_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_iox_data_0_port_mac_requirements + allowed_address_pairs: + get_input: port_iox_data_0_port_allowed_address_pairs + order: + get_input: port_iox_data_0_port_order + security_groups: + get_input: + - port_iox_data_0_port_security_groups + - index_value + exCP_naming: + get_input: port_iox_data_0_port_exCP_naming + vlan_requirements: + get_input: port_iox_data_0_port_vlan_requirements + ip_requirements: + get_input: port_iox_data_0_port_ip_requirements + network_role_tag: + get_input: port_iox_data_0_port_network_role_tag + network_role: + get_input: port_iox_data_0_port_network_role + subnetpoolid: + get_input: port_iox_data_0_port_subnetpoolid + fixed_ips: + get_input: port_iox_data_0_port_fixed_ips + name: + get_input: + - port_iox_data_0_port_name + - index_value + network: + get_input: + - port_iox_data_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: iox + relationship: tosca.relationships.network.BindsTo + iox: + type: org.openecomp.resource.vfc.compute.nodes.heat.iox + properties: + availability_zone: + get_input: + - compute_iox_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + metadata: + get_input: + - compute_iox_metadata + - index_value + config_drive: + get_input: + - compute_iox_config_drive + - index_value + image: + get_input: vm_image_name + name: + get_input: + - compute_iox_name + - index_value + image_update_policy: + get_input: + - compute_iox_image_update_policy + - index_value + user_data_format: + get_input: + - compute_iox_user_data_format + - index_value + iox_iox_oam_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_iox_oam_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_iox_oam_0_port_mac_requirements + allowed_address_pairs: + get_input: port_iox_oam_0_port_allowed_address_pairs + order: + get_input: port_iox_oam_0_port_order + security_groups: + get_input: + - port_iox_oam_0_port_security_groups + - index_value + exCP_naming: + get_input: port_iox_oam_0_port_exCP_naming + vlan_requirements: + get_input: port_iox_oam_0_port_vlan_requirements + ip_requirements: + get_input: port_iox_oam_0_port_ip_requirements + network_role_tag: + get_input: port_iox_oam_0_port_network_role_tag + network_role: + get_input: port_iox_oam_0_port_network_role + subnetpoolid: + get_input: port_iox_oam_0_port_subnetpoolid + fixed_ips: + get_input: port_iox_oam_0_port_fixed_ips + name: + get_input: + - port_iox_oam_0_port_name + - index_value + network: + get_input: + - port_iox_oam_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: iox + relationship: tosca.relationships.network.BindsTo + iox_iox_internal_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_iox_internal_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_iox_internal_0_port_mac_requirements + allowed_address_pairs: + get_input: port_iox_internal_0_port_allowed_address_pairs + order: + get_input: port_iox_internal_0_port_order + security_groups: + get_input: + - port_iox_internal_0_port_security_groups + - index_value + exCP_naming: + get_input: port_iox_internal_0_port_exCP_naming + vlan_requirements: + get_input: port_iox_internal_0_port_vlan_requirements + ip_requirements: + get_input: port_iox_internal_0_port_ip_requirements + network_role_tag: + get_input: port_iox_internal_0_port_network_role_tag + network_role: + get_input: port_iox_internal_0_port_network_role + subnetpoolid: + get_input: port_iox_internal_0_port_subnetpoolid + name: + get_input: + - port_iox_internal_0_port_name + - index_value + network: + get_input: + - port_iox_internal_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: iox + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.iox + capabilities: + cpu.delta_iox: + - iox + - cpu.delta + disk.device.latency_iox: + - iox + - disk.device.latency + memory_iox: + - iox + - memory + network.outgoing.packets.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outgoing.packets.rate + disk.device.read.bytes_iox: + - iox + - disk.device.read.bytes + disk.read.requests_iox: + - iox + - disk.read.requests + disk.write.requests_iox: + - iox + - disk.write.requests + network.incoming.bytes_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.bytes + network.incoming.packets.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.packets.rate + disk.device.read.requests.rate_iox: + - iox + - disk.device.read.requests.rate + disk.device.write.requests.rate_iox: + - iox + - disk.device.write.requests.rate + disk.capacity_iox: + - iox + - disk.capacity + disk.write.bytes_iox: + - iox + - disk.write.bytes + disk.device.write.requests_iox: + - iox + - disk.device.write.requests + disk.device.allocation_iox: + - iox + - disk.device.allocation + feature_iox_iox_data_0_port: + - iox_iox_data_0_port + - feature + disk.root.size_iox: + - iox + - disk.root.size + vcpus_iox: + - iox + - vcpus + disk.device.iops_iox: + - iox + - disk.device.iops + network.outgoing.bytes.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outgoing.bytes.rate + disk.read.bytes.rate_iox: + - iox + - disk.read.bytes.rate + network.outgoing.bytes_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outgoing.bytes + attachment_iox_iox_data_0_port: + - iox_iox_data_0_port + - attachment + network.incoming.packets.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.packets.rate + disk.latency_iox: + - iox + - disk.latency + network.incoming.packets.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.packets.rate + network.incoming.bytes_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.bytes + cpu_util_iox: + - iox + - cpu_util + binding_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - binding + network.incoming.bytes_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.bytes + disk.device.capacity_iox: + - iox + - disk.device.capacity + disk.iops_iox: + - iox + - disk.iops + network.outpoing.packets_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outpoing.packets + endpoint_iox: + - iox + - endpoint + binding_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - binding + disk.device.read.requests_iox: + - iox + - disk.device.read.requests + memory.usage_iox: + - iox + - memory.usage + attachment_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - attachment + network.outgoing.bytes_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outgoing.bytes + cpu_iox: + - iox + - cpu + feature_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - feature + disk.usage_iox: + - iox + - disk.usage + scalable_iox: + - iox + - scalable + feature_iox: + - iox + - feature + memory.resident_iox: + - iox + - memory.resident + disk.device.write.bytes_iox: + - iox + - disk.device.write.bytes + network.outgoing.packets.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outgoing.packets.rate + binding_iox_iox_data_0_port: + - iox_iox_data_0_port + - binding + network.outgoing.bytes.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outgoing.bytes.rate + network.incoming.bytes.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.bytes.rate + network.incoming.bytes.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.bytes.rate + disk.allocation_iox: + - iox + - disk.allocation + network.outgoing.packets.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outgoing.packets.rate + binding_iox: + - iox + - binding + os_iox: + - iox + - os + host_iox: + - iox + - host + disk.write.requests.rate_iox: + - iox + - disk.write.requests.rate + disk.write.bytes.rate_iox: + - iox + - disk.write.bytes.rate + disk.read.bytes_iox: + - iox + - disk.read.bytes + network.incoming.packets_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.packets + instance_iox: + - iox + - instance + disk.ephemeral.size_iox: + - iox + - disk.ephemeral.size + network.outpoing.packets_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outpoing.packets + attachment_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - attachment + feature_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - feature + network.incoming.packets_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.packets + network.outpoing.packets_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outpoing.packets + disk.device.read.bytes.rate_iox: + - iox + - disk.device.read.bytes.rate + network.incoming.bytes.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.bytes.rate + network.incoming.packets_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.packets + disk.device.write.bytes.rate_iox: + - iox + - disk.device.write.bytes.rate + network.outgoing.bytes.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outgoing.bytes.rate + disk.device.usage_iox: + - iox + - disk.device.usage + network.outgoing.bytes_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outgoing.bytes + requirements: + dependency_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - dependency + link_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - link + dependency_iox: + - iox + - dependency + dependency_iox_iox_data_0_port: + - iox_iox_data_0_port + - dependency + link_iox_iox_data_0_port: + - iox_iox_data_0_port + - link + link_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - link + local_storage_iox: + - iox + - local_storage + dependency_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - dependency |