From 1c9383bf85ce17e541fc1498a41a69568292b004 Mon Sep 17 00:00:00 2001 From: sarada prasad sahoo Date: Fri, 5 Apr 2019 16:11:50 +0530 Subject: updating the VNFD (SOL001) type based on SOL001 v2.5.1 updated VNFD types (tosca*.*nfv.) based on latest v2.5.1 version, not supported backward compatibility of SOL draft version, will be documented as limitation while upgrading from SOL draft version, updated importscript for new nodes, Also fixed java files for policyType having groupType reference Change-Id: I8b8175ec908809608e6bdac990052d909792a2ba Issue-ID: SDC-2170 Signed-off-by: sarada prasad sahoo --- .../import/tosca/nfv-types/vduCp/vduCp.yml | 32 ++++++++++++++-------- 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml') diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml index 6924a28901..664c4f59d9 100644 --- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml +++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml @@ -2,31 +2,39 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0 node_types: tosca.nodes.nfv.VduCp: derived_from: tosca.nodes.nfv.Cp + description: describes network connectivity between a VNFC instance based on this VDU and an internal VL properties: bitrate_requirement: - type: integer - required: false - vnic_name: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0. - type: string - required: false - vnic_order: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0. - type: integer + type: integer # in bits per second + description: Bitrate requirement in bit per second on this connection point required: false - vnic_type: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0 - type: string constraints: - - valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder] - required: false + - greater_or_equal: 0 virtual_network_interface_requirements: type: list + description: Specifies requirements on a virtual network interface realising the CPs instantiated from this CPD + required: false entry_schema: type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements + order: + type: integer + description: The order of the NIC on the compute instance (e.g.eth2) + required: false + constraints: + - greater_or_equal: 0 + vnic_type: + type: string + description: Describes the type of the virtual network interface realizing the CPs instantiated from this CPD + required: false + constraints: + - valid_values: [ normal, virtio, direct-physical ] + vnic_name: # Introduced from Beijing release, aligned with ONAP resource IM, outside the scope of SOL001 v2.5.1 + type: string required: false requirements: - virtual_link: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo - node: tosca.nodes.nfv.VnfVirtualLink - virtual_binding: capability: tosca.capabilities.nfv.VirtualBindable relationship: tosca.relationships.nfv.VirtualBindsTo -- cgit 1.2.3-korg