From 707adfa57f63b49519badddbf72e411485269c37 Mon Sep 17 00:00:00 2001 From: ojasdubey Date: Tue, 27 Mar 2018 17:03:51 +0530 Subject: VLAN tagging - Support Pattern 1C2 1. Pattern 1C2 vlan tagging code 2. Count property handling 3. Added tests and updated existing test data Change-Id: Idef33b142d415e1c0a9663497eed621f35c2393b Issue-ID: SDC-1174 Signed-off-by: ojasdubey --- .../GlobalSubstitutionTypesServiceTemplate.yaml | 1402 ++++++++++---------- .../out/Nested_vdbeServiceTemplate.yaml | 1025 +++++++------- 2 files changed, 1221 insertions(+), 1206 deletions(-) (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml index 46ad8840c6..6d9770bd53 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -1,698 +1,704 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: GlobalSubstitutionTypes -imports: -- openecomp_heat_index: - file: openecomp-heat/_index.yml -node_types: - org.openecomp.resource.abstract.nodes.vdbe: - derived_from: org.openecomp.resource.abstract.nodes.VFC - properties: - port_vdbe_untr_port_network_role_tag: - type: string - required: true - status: SUPPORTED - subinterface_nested_parent_interface: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_aap_address_mode: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_vlan_tag_list: - type: list - required: true - status: SUPPORTED - entry_schema: - type: json - port_vdbe_untr_port_subnetpoolid: - type: string - required: true - status: SUPPORTED - compute_vdbe_availability_zone: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_aap_untrusted_v6_ip_prefix_len: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - vm_flavor_name: - type: string - required: true - status: SUPPORTED - port_vdbe_untr_port_order: - type: integer - required: true - status: SUPPORTED - subinterface_nested_aap_untrusted_ip_prefix: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - vm_image_name: - type: string - required: true - status: SUPPORTED - port_vdbe_untr_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - subinterface_nested_aap_sec_untrusted_ip_prefix_len: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_aap_sec_untrusted_ip_prefix: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_aap_untrusted_v6_ip_prefix: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - compute_vdbe_metadata: - type: list - required: true - status: SUPPORTED - entry_schema: - type: json - subinterface_nested_mac_address: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs: - type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs - required: true - status: SUPPORTED - subinterface_nested_ip_address: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_vdbe_untr_port_virtual_network_refs: - type: list - required: true - status: SUPPORTED - entry_schema: - type: json - subinterface_nested_ip_v6_address: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_vdbe_untr_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - index_value: - type: integer - description: Index value of this substitution service template runtime instance - required: false - default: 0 - status: SUPPORTED - constraints: - - greater_or_equal: 0 - subinterface_nested_vmac_address: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_vn_network_list: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_vdbe_untr_port_name: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_vdbe_untr_port_vlan_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_vdbe_untr_port_network_role: - type: string - required: true - status: SUPPORTED - port_vdbe_untr_port_virtual_machine_interface_mac_addresses: - type: list - required: true - status: SUPPORTED - entry_schema: - type: json - subinterface_nested_aap_untrusted_ip_prefix_len: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_counter: - type: list - required: true - status: SUPPORTED - entry_schema: - type: float - subinterface_nested_subinterfaces_name_prefix: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - compute_vdbe_name: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_optional_property_1: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - subinterface_nested_optional_property_2: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_vdbe_untr_port_ip_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - requirements: - - dependency_vdbe: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - local_storage_vdbe: - capability: tosca.capabilities.Attachment - node: tosca.nodes.BlockStorage - relationship: tosca.relationships.AttachesTo - occurrences: - - 0 - - UNBOUNDED - - dependency_vdbe_vdbe_untr_port: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - link_vdbe_vdbe_untr_port: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - - dependency_vdbe_vdbe_untr_port_nested: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - capabilities: - network.outgoing.packets.rate_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.outgoing.bytes_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - feature_vdbe: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - feature_vdbe_vdbe_untr_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - disk.device.iops_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - endpoint_vdbe: - type: tosca.capabilities.Endpoint.Admin - occurrences: - - 1 - - UNBOUNDED - disk.ephemeral.size_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - cpu_util_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - vcpus_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.write.requests_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.latency_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.write.requests.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.write.bytes.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.incoming.packets_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - scalable_vdbe: - type: tosca.capabilities.Scalable - occurrences: - - 1 - - UNBOUNDED - disk.iops_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.write.requests_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.capacity_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.allocation_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.usage_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - memory.usage_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.outpoing.packets_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.outgoing.bytes.rate_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.read.requests_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - forwarder_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.Forwarder - occurrences: - - 1 - - UNBOUNDED - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - binding_vdbe_vdbe_untr_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED - instance_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.incoming.bytes.rate_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - cpu.delta_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.read.bytes.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.write.bytes.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - memory.resident_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - feature_vdbe_vdbe_untr_port_nested: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - disk.write.requests.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - cpu_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.write.bytes_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.usage_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.read.bytes_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.latency_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.incoming.bytes_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.capacity_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - host_vdbe: - type: tosca.capabilities.Container - valid_source_types: - - tosca.nodes.SoftwareComponent - occurrences: - - 1 - - UNBOUNDED - disk.allocation_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.read.bytes.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - os_vdbe: - type: tosca.capabilities.OperatingSystem - occurrences: - - 1 - - UNBOUNDED - disk.device.read.requests_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.root.size_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - memory_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - binding_vdbe: - type: tosca.capabilities.network.Bindable - occurrences: - - 1 - - UNBOUNDED - disk.device.write.bytes_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.device.read.requests.rate_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - disk.read.bytes_vdbe: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.incoming.packets.rate_vdbe_vdbe_untr_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - org.openecomp.resource.abstract.nodes.heat.subinterface.nested: - derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute - properties: - aap_untrusted_ip_prefix: - type: string - description: ip prefix for primary vDBE VM on the VAN untrusted network - required: true - status: SUPPORTED - aap_sec_untrusted_ip_prefix: - type: string - description: ip prefix for secondary vDBE VM aap on the VAN untrusted network - required: true - status: SUPPORTED - ip_v6_address: - type: string - description: IPv6 address associated with subinterfaces - required: true - status: SUPPORTED - counter: - type: float - description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances. - required: true - status: SUPPORTED - subinterfaces_name_prefix: - type: string - description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource - required: true - status: SUPPORTED - ip_address: - type: string - description: IPv4 address associated with subinterfaces - required: true - status: SUPPORTED - aap_address_mode: - type: string - description: Address mode for the vDBE cluster IP - required: true - status: SUPPORTED - aap_untrusted_v6_ip_prefix: - type: string - description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network - required: true - status: SUPPORTED - parent_interface: - type: string - description: Parent Contrail interface - required: true - status: SUPPORTED - vn_network_list: - type: string - description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list - required: true - status: SUPPORTED - optional_property_1: - type: string - description: Optional property - required: true - status: SUPPORTED - optional_property_2: - type: string - description: Optional property - required: true - status: SUPPORTED - mac_address: - type: string - description: HW MAC address to use for subinterface - required: true - status: SUPPORTED - vlan_tag_list: - type: list - description: List of VLAN IDs to use for subinterfaces - required: true - status: SUPPORTED - entry_schema: - type: string - aap_sec_untrusted_ip_prefix_len: - type: string - description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network - required: true - status: SUPPORTED - vmac_address: - type: string - description: virtual MAC address to use for subinterface - required: true - status: SUPPORTED - aap_untrusted_v6_ip_prefix_len: - type: string - description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network - required: true - status: SUPPORTED - aap_untrusted_ip_prefix_len: - type: string - description: ip prefix length for the primary vDBE VM on the VAN untrusted network - required: true - status: SUPPORTED - requirements: - - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport: - capability: tosca.capabilities.network.Bindable - node: org.openecomp.resource.cp.nodes.network.Port - relationship: tosca.relationships.network.BindsTo - occurrences: - - 1 - - 1 - capabilities: - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED \ No newline at end of file +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: GlobalSubstitutionTypes +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +node_types: + org.openecomp.resource.abstract.nodes.vdbe: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_vdbe_untr_port_network_role_tag: + type: string + required: true + status: SUPPORTED + subinterface_nested_parent_interface: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_aap_address_mode: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_vlan_tag_list: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_vdbe_untr_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + compute_vdbe_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_service_template_filter_count: + type: list + required: true + status: SUPPORTED + entry_schema: + type: float + subinterface_nested_aap_untrusted_v6_ip_prefix_len: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_vdbe_untr_port_order: + type: integer + required: true + status: SUPPORTED + subinterface_nested_aap_untrusted_ip_prefix: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + vm_image_name: + type: string + required: true + status: SUPPORTED + port_vdbe_untr_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + subinterface_nested_aap_sec_untrusted_ip_prefix_len: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_aap_sec_untrusted_ip_prefix: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_aap_untrusted_v6_ip_prefix: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_vdbe_metadata: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + subinterface_nested_mac_address: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs: + type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs + required: true + status: SUPPORTED + subinterface_nested_ip_address: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_vdbe_untr_port_virtual_network_refs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + subinterface_nested_ip_v6_address: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_vdbe_untr_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + status: SUPPORTED + constraints: + - greater_or_equal: 0 + subinterface_nested_vmac_address: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_vn_network_list: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_vdbe_untr_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_vdbe_untr_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_vdbe_untr_port_network_role: + type: string + required: true + status: SUPPORTED + port_vdbe_untr_port_virtual_machine_interface_mac_addresses: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + subinterface_nested_aap_untrusted_ip_prefix_len: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_counter: + type: list + required: true + status: SUPPORTED + entry_schema: + type: float + subinterface_nested_subinterfaces_name_prefix: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_vdbe_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_optional_property_1: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + subinterface_nested_optional_property_2: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_vdbe_untr_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + requirements: + - dependency_vdbe: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_vdbe: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_vdbe_vdbe_untr_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_vdbe_vdbe_untr_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_vdbe_vdbe_untr_port_nested: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + network.outgoing.packets.rate_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_vdbe: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + feature_vdbe_vdbe_untr_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.device.iops_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + endpoint_vdbe: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + disk.ephemeral.size_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu_util_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + vcpus_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.requests_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.latency_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + scalable_vdbe: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + disk.iops_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.capacity_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.allocation_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.usage_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory.usage_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + forwarder_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.Forwarder + occurrences: + - 1 + - UNBOUNDED + feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + binding_vdbe_vdbe_untr_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + instance_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu.delta_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory.resident_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_vdbe_vdbe_untr_port_nested: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.write.requests.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.usage_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.latency_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.capacity_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + host_vdbe: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + disk.allocation_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + os_vdbe: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + disk.device.read.requests_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.root.size_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_vdbe: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.requests.rate_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes_vdbe: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_vdbe_vdbe_untr_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + org.openecomp.resource.abstract.nodes.heat.subinterface.nested: + derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute + properties: + aap_untrusted_ip_prefix: + type: string + description: ip prefix for primary vDBE VM on the VAN untrusted network + required: true + status: SUPPORTED + aap_sec_untrusted_ip_prefix: + type: string + description: ip prefix for secondary vDBE VM aap on the VAN untrusted network + required: true + status: SUPPORTED + ip_v6_address: + type: string + description: IPv6 address associated with subinterfaces + required: true + status: SUPPORTED + counter: + type: float + description: Index of instance among multiple instances. Use to retrieve correct parameter for this instance when passed all parameters for all instances. + required: true + status: SUPPORTED + subinterfaces_name_prefix: + type: string + description: Combined with subinterface_instance_index, this is used as the name of the subinterface resource + required: true + status: SUPPORTED + ip_address: + type: string + description: IPv4 address associated with subinterfaces + required: true + status: SUPPORTED + aap_address_mode: + type: string + description: Address mode for the vDBE cluster IP + required: true + status: SUPPORTED + aap_untrusted_v6_ip_prefix: + type: string + description: ipv6 prefix for the primary vDBE VM on the VAN untrusted network + required: true + status: SUPPORTED + parent_interface: + type: string + description: Parent Contrail interface + required: true + status: SUPPORTED + vn_network_list: + type: string + description: List of Contrail VLAN networks to use for the subinterfaces. The order and number of these must match the VLAN ID list + required: true + status: SUPPORTED + optional_property_1: + type: string + description: Optional property + required: true + status: SUPPORTED + optional_property_2: + type: string + description: Optional property + required: true + status: SUPPORTED + mac_address: + type: string + description: HW MAC address to use for subinterface + required: true + status: SUPPORTED + vlan_tag_list: + type: list + description: List of VLAN IDs to use for subinterfaces + required: true + status: SUPPORTED + entry_schema: + type: string + aap_sec_untrusted_ip_prefix_len: + type: string + description: ip prefix length for the secondary DBE VM aap on the VAN untrusted network + required: true + status: SUPPORTED + vmac_address: + type: string + description: virtual MAC address to use for subinterface + required: true + status: SUPPORTED + aap_untrusted_v6_ip_prefix_len: + type: string + description: ipv6 prefix length for the primary vDBE VM on the VAN untrusted network + required: true + status: SUPPORTED + aap_untrusted_ip_prefix_len: + type: string + description: ip prefix length for the primary vDBE VM on the VAN untrusted network + required: true + status: SUPPORTED + requirements: + - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport: + capability: tosca.capabilities.network.Bindable + node: org.openecomp.resource.cp.nodes.network.Port + relationship: tosca.relationships.network.BindsTo + occurrences: + - 1 + - 1 + capabilities: + feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml index 28d52cfb08..fccec4c2d6 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/pattern1c1/regularNestedSubInterface/out/Nested_vdbeServiceTemplate.yaml @@ -1,508 +1,517 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -metadata: - template_name: Nested_vdbe -imports: -- openecomp_heat_index: - file: openecomp-heat/_index.yml -- GlobalSubstitutionTypes: - file: GlobalSubstitutionTypesServiceTemplate.yaml -node_types: - org.openecomp.resource.vfc.compute.nodes.heat.vdbe: - derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server -topology_template: - inputs: - port_vdbe_untr_port_network_role_tag: - type: string - required: true - subinterface_nested_parent_interface: - type: list - required: true - entry_schema: - type: string - subinterface_nested_aap_address_mode: - type: list - required: true - entry_schema: - type: string - subinterface_nested_vlan_tag_list: - type: list - required: true - entry_schema: - type: json - port_vdbe_untr_port_subnetpoolid: - type: string - required: true - compute_vdbe_availability_zone: - type: list - required: true - entry_schema: - type: string - subinterface_nested_aap_untrusted_v6_ip_prefix_len: - type: list - required: true - entry_schema: - type: string - vm_flavor_name: - type: string - required: true - port_vdbe_untr_port_order: - type: integer - required: true - subinterface_nested_aap_untrusted_ip_prefix: - type: list - required: true - entry_schema: - type: string - vm_image_name: - type: string - required: true - port_vdbe_untr_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - subinterface_nested_aap_sec_untrusted_ip_prefix_len: - type: list - required: true - entry_schema: - type: string - subinterface_nested_aap_sec_untrusted_ip_prefix: - type: list - required: true - entry_schema: - type: string - subinterface_nested_aap_untrusted_v6_ip_prefix: - type: list - required: true - entry_schema: - type: string - compute_vdbe_metadata: - type: list - required: true - entry_schema: - type: json - subinterface_nested_mac_address: - type: list - required: true - entry_schema: - type: string - port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs: - type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs - required: true - subinterface_nested_ip_address: - type: list - required: true - entry_schema: - type: string - port_vdbe_untr_port_virtual_network_refs: - type: list - required: true - entry_schema: - type: json - subinterface_nested_ip_v6_address: - type: list - required: true - entry_schema: - type: string - port_vdbe_untr_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - index_value: - type: integer - description: Index value of this substitution service template runtime instance - required: false - default: 0 - constraints: - - greater_or_equal: 0 - subinterface_nested_vmac_address: - type: list - required: true - entry_schema: - type: string - subinterface_nested_vn_network_list: - type: list - required: true - entry_schema: - type: string - port_vdbe_untr_port_name: - type: list - required: true - entry_schema: - type: string - port_vdbe_untr_port_vlan_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_vdbe_untr_port_network_role: - type: string - required: true - port_vdbe_untr_port_virtual_machine_interface_mac_addresses: - type: list - required: true - entry_schema: - type: json - subinterface_nested_aap_untrusted_ip_prefix_len: - type: list - required: true - entry_schema: - type: string - subinterface_nested_counter: - type: list - required: true - entry_schema: - type: float - subinterface_nested_subinterfaces_name_prefix: - type: list - required: true - entry_schema: - type: string - compute_vdbe_name: - type: list - required: true - entry_schema: - type: string - subinterface_nested_optional_property_1: - type: list - required: true - entry_schema: - type: string - subinterface_nested_optional_property_2: - type: list - required: true - entry_schema: - type: string - port_vdbe_untr_port_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - node_templates: - vdbe: - type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe - properties: - availability_zone: - get_input: - - compute_vdbe_availability_zone - - index_value - flavor: - get_input: vm_flavor_name - metadata: - get_input: - - compute_vdbe_metadata - - index_value - image: - get_input: vm_image_name - name: - get_input: - - compute_vdbe_name - - index_value - vdbe_vdbe_untr_port: - type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface - properties: - mac_requirements: - get_input: port_vdbe_untr_port_mac_requirements - order: - get_input: port_vdbe_untr_port_order - exCP_naming: - get_input: port_vdbe_untr_port_exCP_naming - virtual_machine_interface_allowed_address_pairs: - get_input: - - port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs - - index_value - vlan_requirements: - get_input: port_vdbe_untr_port_vlan_requirements - virtual_network_refs: - get_input: - - port_vdbe_untr_port_virtual_network_refs - - index_value - ip_requirements: - get_input: port_vdbe_untr_port_ip_requirements - network_role_tag: - get_input: port_vdbe_untr_port_network_role_tag - virtual_machine_interface_mac_addresses: - get_input: - - port_vdbe_untr_port_virtual_machine_interface_mac_addresses - - index_value - network_role: - get_input: port_vdbe_untr_port_network_role - subnetpoolid: - get_input: port_vdbe_untr_port_subnetpoolid - name: - get_input: - - port_vdbe_untr_port_name - - index_value - requirements: - - binding: - capability: tosca.capabilities.network.Bindable - node: vdbe - relationship: tosca.relationships.network.BindsTo - vdbe_vdbe_untr_port_nested: - type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested - directives: - - substitutable - properties: - aap_untrusted_ip_prefix: - get_input: - - subinterface_nested_aap_untrusted_ip_prefix - - index_value - aap_sec_untrusted_ip_prefix: - get_input: - - subinterface_nested_aap_sec_untrusted_ip_prefix - - index_value - ip_v6_address: - get_input: - - subinterface_nested_ip_v6_address - - index_value - counter: - get_input: - - subinterface_nested_counter - - index_value - ip_address: - get_input: - - subinterface_nested_ip_address - - index_value - subinterfaces_name_prefix: - get_input: - - subinterface_nested_subinterfaces_name_prefix - - index_value - aap_address_mode: - get_input: - - subinterface_nested_aap_address_mode - - index_value - service_template_filter: - substitute_service_template: nestedServiceTemplate.yaml - aap_untrusted_v6_ip_prefix: - get_input: - - subinterface_nested_aap_untrusted_v6_ip_prefix - - index_value - parent_interface: - get_input: - - subinterface_nested_parent_interface - - index_value - vn_network_list: - get_input: - - subinterface_nested_vn_network_list - - index_value - optional_property_1: - get_input: - - subinterface_nested_optional_property_1 - - index_value - optional_property_2: - get_input: - - subinterface_nested_optional_property_2 - - index_value - mac_address: - get_input: - - subinterface_nested_mac_address - - index_value - vlan_tag_list: - get_input: - - subinterface_nested_vlan_tag_list - - index_value - aap_sec_untrusted_ip_prefix_len: - get_input: - - subinterface_nested_aap_sec_untrusted_ip_prefix_len - - index_value - vmac_address: - get_input: - - subinterface_nested_vmac_address - - index_value - aap_untrusted_v6_ip_prefix_len: - get_input: - - subinterface_nested_aap_untrusted_v6_ip_prefix_len - - index_value - aap_untrusted_ip_prefix_len: - get_input: - - subinterface_nested_aap_untrusted_ip_prefix_len - - index_value - requirements: - - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport: - capability: tosca.capabilities.network.Bindable - node: vdbe_vdbe_untr_port - relationship: tosca.relationships.network.BindsTo - substitution_mappings: - node_type: org.openecomp.resource.abstract.nodes.vdbe - capabilities: - network.outgoing.packets.rate_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.outgoing.packets.rate - network.outgoing.bytes_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.outgoing.bytes - feature_vdbe: - - vdbe - - feature - feature_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - feature - disk.device.iops_vdbe: - - vdbe - - disk.device.iops - endpoint_vdbe: - - vdbe - - endpoint - disk.ephemeral.size_vdbe: - - vdbe - - disk.ephemeral.size - cpu_util_vdbe: - - vdbe - - cpu_util - vcpus_vdbe: - - vdbe - - vcpus - disk.write.requests_vdbe: - - vdbe - - disk.write.requests - disk.device.latency_vdbe: - - vdbe - - disk.device.latency - disk.device.write.requests.rate_vdbe: - - vdbe - - disk.device.write.requests.rate - disk.write.bytes.rate_vdbe: - - vdbe - - disk.write.bytes.rate - network.incoming.packets_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.incoming.packets - scalable_vdbe: - - vdbe - - scalable - disk.iops_vdbe: - - vdbe - - disk.iops - disk.device.write.requests_vdbe: - - vdbe - - disk.device.write.requests - disk.device.capacity_vdbe: - - vdbe - - disk.device.capacity - disk.device.allocation_vdbe: - - vdbe - - disk.device.allocation - disk.usage_vdbe: - - vdbe - - disk.usage - memory.usage_vdbe: - - vdbe - - memory.usage - network.outpoing.packets_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.outpoing.packets - network.outgoing.bytes.rate_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.outgoing.bytes.rate - disk.read.requests_vdbe: - - vdbe - - disk.read.requests - forwarder_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - forwarder - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: - - vdbe_vdbe_untr_port_nested - - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport - binding_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - binding - instance_vdbe: - - vdbe - - instance - network.incoming.bytes.rate_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.incoming.bytes.rate - cpu.delta_vdbe: - - vdbe - - cpu.delta - disk.device.read.bytes.rate_vdbe: - - vdbe - - disk.device.read.bytes.rate - disk.device.write.bytes.rate_vdbe: - - vdbe - - disk.device.write.bytes.rate - memory.resident_vdbe: - - vdbe - - memory.resident - feature_vdbe_vdbe_untr_port_nested: - - vdbe_vdbe_untr_port_nested - - feature - disk.write.requests.rate_vdbe: - - vdbe - - disk.write.requests.rate - cpu_vdbe: - - vdbe - - cpu - disk.write.bytes_vdbe: - - vdbe - - disk.write.bytes - disk.device.usage_vdbe: - - vdbe - - disk.device.usage - disk.device.read.bytes_vdbe: - - vdbe - - disk.device.read.bytes - disk.latency_vdbe: - - vdbe - - disk.latency - network.incoming.bytes_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.incoming.bytes - disk.capacity_vdbe: - - vdbe - - disk.capacity - host_vdbe: - - vdbe - - host - disk.allocation_vdbe: - - vdbe - - disk.allocation - disk.read.bytes.rate_vdbe: - - vdbe - - disk.read.bytes.rate - os_vdbe: - - vdbe - - os - disk.device.read.requests_vdbe: - - vdbe - - disk.device.read.requests - disk.root.size_vdbe: - - vdbe - - disk.root.size - memory_vdbe: - - vdbe - - memory - binding_vdbe: - - vdbe - - binding - disk.device.write.bytes_vdbe: - - vdbe - - disk.device.write.bytes - disk.device.read.requests.rate_vdbe: - - vdbe - - disk.device.read.requests.rate - disk.read.bytes_vdbe: - - vdbe - - disk.read.bytes - network.incoming.packets.rate_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - network.incoming.packets.rate - requirements: - dependency_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - dependency - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: - - vdbe_vdbe_untr_port_nested - - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport - link_vdbe_vdbe_untr_port: - - vdbe_vdbe_untr_port - - link - local_storage_vdbe: - - vdbe - - local_storage - dependency_vdbe_vdbe_untr_port_nested: - - vdbe_vdbe_untr_port_nested - - dependency - dependency_vdbe: - - vdbe - - dependency - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: - - vdbe_vdbe_untr_port_nested - - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport \ No newline at end of file +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_vdbe +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.vdbe: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_vdbe_untr_port_network_role_tag: + type: string + required: true + subinterface_nested_parent_interface: + type: list + required: true + entry_schema: + type: string + subinterface_nested_aap_address_mode: + type: list + required: true + entry_schema: + type: string + subinterface_nested_vlan_tag_list: + type: list + required: true + entry_schema: + type: json + port_vdbe_untr_port_subnetpoolid: + type: string + required: true + compute_vdbe_availability_zone: + type: list + required: true + entry_schema: + type: string + subinterface_nested_service_template_filter_count: + type: list + required: true + entry_schema: + type: float + subinterface_nested_aap_untrusted_v6_ip_prefix_len: + type: list + required: true + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + port_vdbe_untr_port_order: + type: integer + required: true + subinterface_nested_aap_untrusted_ip_prefix: + type: list + required: true + entry_schema: + type: string + vm_image_name: + type: string + required: true + port_vdbe_untr_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + subinterface_nested_aap_sec_untrusted_ip_prefix_len: + type: list + required: true + entry_schema: + type: string + subinterface_nested_aap_sec_untrusted_ip_prefix: + type: list + required: true + entry_schema: + type: string + subinterface_nested_aap_untrusted_v6_ip_prefix: + type: list + required: true + entry_schema: + type: string + compute_vdbe_metadata: + type: list + required: true + entry_schema: + type: json + subinterface_nested_mac_address: + type: list + required: true + entry_schema: + type: string + port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs: + type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs + required: true + subinterface_nested_ip_address: + type: list + required: true + entry_schema: + type: string + port_vdbe_untr_port_virtual_network_refs: + type: list + required: true + entry_schema: + type: json + subinterface_nested_ip_v6_address: + type: list + required: true + entry_schema: + type: string + port_vdbe_untr_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + subinterface_nested_vmac_address: + type: list + required: true + entry_schema: + type: string + subinterface_nested_vn_network_list: + type: list + required: true + entry_schema: + type: string + port_vdbe_untr_port_name: + type: list + required: true + entry_schema: + type: string + port_vdbe_untr_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_vdbe_untr_port_network_role: + type: string + required: true + port_vdbe_untr_port_virtual_machine_interface_mac_addresses: + type: list + required: true + entry_schema: + type: json + subinterface_nested_aap_untrusted_ip_prefix_len: + type: list + required: true + entry_schema: + type: string + subinterface_nested_counter: + type: list + required: true + entry_schema: + type: float + subinterface_nested_subinterfaces_name_prefix: + type: list + required: true + entry_schema: + type: string + compute_vdbe_name: + type: list + required: true + entry_schema: + type: string + subinterface_nested_optional_property_1: + type: list + required: true + entry_schema: + type: string + subinterface_nested_optional_property_2: + type: list + required: true + entry_schema: + type: string + port_vdbe_untr_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + node_templates: + vdbe: + type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe + properties: + availability_zone: + get_input: + - compute_vdbe_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + metadata: + get_input: + - compute_vdbe_metadata + - index_value + image: + get_input: vm_image_name + name: + get_input: + - compute_vdbe_name + - index_value + vdbe_vdbe_untr_port: + type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface + properties: + mac_requirements: + get_input: port_vdbe_untr_port_mac_requirements + order: + get_input: port_vdbe_untr_port_order + exCP_naming: + get_input: port_vdbe_untr_port_exCP_naming + virtual_machine_interface_allowed_address_pairs: + get_input: + - port_vdbe_untr_port_virtual_machine_interface_allowed_address_pairs + - index_value + vlan_requirements: + get_input: port_vdbe_untr_port_vlan_requirements + virtual_network_refs: + get_input: + - port_vdbe_untr_port_virtual_network_refs + - index_value + ip_requirements: + get_input: port_vdbe_untr_port_ip_requirements + network_role_tag: + get_input: port_vdbe_untr_port_network_role_tag + virtual_machine_interface_mac_addresses: + get_input: + - port_vdbe_untr_port_virtual_machine_interface_mac_addresses + - index_value + network_role: + get_input: port_vdbe_untr_port_network_role + subnetpoolid: + get_input: port_vdbe_untr_port_subnetpoolid + name: + get_input: + - port_vdbe_untr_port_name + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: vdbe + relationship: tosca.relationships.network.BindsTo + vdbe_vdbe_untr_port_nested: + type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested + directives: + - substitutable + properties: + aap_untrusted_ip_prefix: + get_input: + - subinterface_nested_aap_untrusted_ip_prefix + - index_value + aap_sec_untrusted_ip_prefix: + get_input: + - subinterface_nested_aap_sec_untrusted_ip_prefix + - index_value + ip_v6_address: + get_input: + - subinterface_nested_ip_v6_address + - index_value + counter: + get_input: + - subinterface_nested_counter + - index_value + ip_address: + get_input: + - subinterface_nested_ip_address + - index_value + subinterfaces_name_prefix: + get_input: + - subinterface_nested_subinterfaces_name_prefix + - index_value + aap_address_mode: + get_input: + - subinterface_nested_aap_address_mode + - index_value + service_template_filter: + count: + get_input: + - subinterface_nested_service_template_filter_count + - index_value + substitute_service_template: nestedServiceTemplate.yaml + aap_untrusted_v6_ip_prefix: + get_input: + - subinterface_nested_aap_untrusted_v6_ip_prefix + - index_value + parent_interface: + get_input: + - subinterface_nested_parent_interface + - index_value + vn_network_list: + get_input: + - subinterface_nested_vn_network_list + - index_value + optional_property_1: + get_input: + - subinterface_nested_optional_property_1 + - index_value + optional_property_2: + get_input: + - subinterface_nested_optional_property_2 + - index_value + mac_address: + get_input: + - subinterface_nested_mac_address + - index_value + vlan_tag_list: + get_input: + - subinterface_nested_vlan_tag_list + - index_value + aap_sec_untrusted_ip_prefix_len: + get_input: + - subinterface_nested_aap_sec_untrusted_ip_prefix_len + - index_value + vmac_address: + get_input: + - subinterface_nested_vmac_address + - index_value + aap_untrusted_v6_ip_prefix_len: + get_input: + - subinterface_nested_aap_untrusted_v6_ip_prefix_len + - index_value + aap_untrusted_ip_prefix_len: + get_input: + - subinterface_nested_aap_untrusted_ip_prefix_len + - index_value + requirements: + - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport: + capability: tosca.capabilities.network.Bindable + node: vdbe_vdbe_untr_port + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.vdbe + capabilities: + network.outgoing.packets.rate_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.outgoing.packets.rate + network.outgoing.bytes_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.outgoing.bytes + feature_vdbe: + - vdbe + - feature + feature_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - feature + disk.device.iops_vdbe: + - vdbe + - disk.device.iops + endpoint_vdbe: + - vdbe + - endpoint + disk.ephemeral.size_vdbe: + - vdbe + - disk.ephemeral.size + cpu_util_vdbe: + - vdbe + - cpu_util + vcpus_vdbe: + - vdbe + - vcpus + disk.write.requests_vdbe: + - vdbe + - disk.write.requests + disk.device.latency_vdbe: + - vdbe + - disk.device.latency + disk.device.write.requests.rate_vdbe: + - vdbe + - disk.device.write.requests.rate + disk.write.bytes.rate_vdbe: + - vdbe + - disk.write.bytes.rate + network.incoming.packets_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.incoming.packets + scalable_vdbe: + - vdbe + - scalable + disk.iops_vdbe: + - vdbe + - disk.iops + disk.device.write.requests_vdbe: + - vdbe + - disk.device.write.requests + disk.device.capacity_vdbe: + - vdbe + - disk.device.capacity + disk.device.allocation_vdbe: + - vdbe + - disk.device.allocation + disk.usage_vdbe: + - vdbe + - disk.usage + memory.usage_vdbe: + - vdbe + - memory.usage + network.outpoing.packets_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.outpoing.packets + network.outgoing.bytes.rate_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.outgoing.bytes.rate + disk.read.requests_vdbe: + - vdbe + - disk.read.requests + forwarder_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - forwarder + feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: + - vdbe_vdbe_untr_port_nested + - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport + binding_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - binding + instance_vdbe: + - vdbe + - instance + network.incoming.bytes.rate_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.incoming.bytes.rate + cpu.delta_vdbe: + - vdbe + - cpu.delta + disk.device.read.bytes.rate_vdbe: + - vdbe + - disk.device.read.bytes.rate + disk.device.write.bytes.rate_vdbe: + - vdbe + - disk.device.write.bytes.rate + memory.resident_vdbe: + - vdbe + - memory.resident + feature_vdbe_vdbe_untr_port_nested: + - vdbe_vdbe_untr_port_nested + - feature + disk.write.requests.rate_vdbe: + - vdbe + - disk.write.requests.rate + cpu_vdbe: + - vdbe + - cpu + disk.write.bytes_vdbe: + - vdbe + - disk.write.bytes + disk.device.usage_vdbe: + - vdbe + - disk.device.usage + disk.device.read.bytes_vdbe: + - vdbe + - disk.device.read.bytes + disk.latency_vdbe: + - vdbe + - disk.latency + network.incoming.bytes_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.incoming.bytes + disk.capacity_vdbe: + - vdbe + - disk.capacity + host_vdbe: + - vdbe + - host + disk.allocation_vdbe: + - vdbe + - disk.allocation + disk.read.bytes.rate_vdbe: + - vdbe + - disk.read.bytes.rate + os_vdbe: + - vdbe + - os + disk.device.read.requests_vdbe: + - vdbe + - disk.device.read.requests + disk.root.size_vdbe: + - vdbe + - disk.root.size + memory_vdbe: + - vdbe + - memory + binding_vdbe: + - vdbe + - binding + disk.device.write.bytes_vdbe: + - vdbe + - disk.device.write.bytes + disk.device.read.requests.rate_vdbe: + - vdbe + - disk.device.read.requests.rate + disk.read.bytes_vdbe: + - vdbe + - disk.read.bytes + network.incoming.packets.rate_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - network.incoming.packets.rate + requirements: + dependency_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - dependency + link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: + - vdbe_vdbe_untr_port_nested + - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport + link_vdbe_vdbe_untr_port: + - vdbe_vdbe_untr_port + - link + local_storage_vdbe: + - vdbe + - local_storage + dependency_vdbe_vdbe_untr_port_nested: + - vdbe_vdbe_untr_port_nested + - dependency + dependency_vdbe: + - vdbe + - dependency + dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_port_nested: + - vdbe_vdbe_untr_port_nested + - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport \ No newline at end of file -- cgit 1.2.3-korg