aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types
diff options
context:
space:
mode:
authorsarada prasad sahoo <sarada.prasad.sahoo@huawei.com>2019-04-05 16:11:50 +0530
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-04-08 08:46:05 +0000
commit1c9383bf85ce17e541fc1498a41a69568292b004 (patch)
treea1f77c750903a34fa2d34c6771b1479d64a5e513 /catalog-be/src/main/resources/import/tosca/nfv-types
parent67437109d8df88ff494f8bd14faef44b7f5a2dee (diff)
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 <sarada.prasad.sahoo@huawei.com>
Diffstat (limited to 'catalog-be/src/main/resources/import/tosca/nfv-types')
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml54
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml154
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml79
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml32
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.yml18
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.yml19
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.yml14
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.yml19
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml22
13 files changed, 329 insertions, 142 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml
index 9cee00aaa9..79ae6f77ef 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml
@@ -2,30 +2,36 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
tosca.nodes.nfv.Cp:
derived_from: tosca.nodes.Root
+ description: Provides information regarding the purpose of the connection point
properties:
- layer_protocol:
- type: list
- entry_schema:
- type: string
- constraints:
- - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
- required: true
- role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
+ layer_protocols:
+ type: list
+ description: Identifies which protocol the connection point uses for connectivity purposes
+ required: true
+ entry_schema:
type: string
constraints:
- - valid_values: [ root, leaf ]
- required: false
- description:
- type: string
- required: false
- protocol_data:
- type: list
- entry_schema:
- type: tosca.datatypes.nfv.CpProtocolData
- required: true
- trunk_mode:
- type: boolean
- required: true
- allowed_address_data: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
- type: tosca.datatypes.nfv.AddressData #In the IM, it is a array, but here it is not a array. TBD.
- required: false
+ - valid_values: [ ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
+ role: #Name in ETSI NFV IFA011 v0.7.3: cpRole
+ type: string
+ description: Identifies the role of the port in the context of the traffic flow patterns in the VNF or parent NS
+ required: false
+ constraints:
+ - valid_values: [ root, leaf ]
+ description:
+ type: string
+ description: Provides human-readable information on the purpose of the connection point
+ required: false
+ protocol:
+ type: list
+ description: Provides information on the addresses to be assigned to the connection point(s) instantiated from this Connection Point Descriptor
+ required: false
+ entry_schema:
+ type: tosca.datatypes.nfv.CpProtocolData
+ trunk_mode:
+ type: boolean
+ description: Provides information about whether the CP instantiated from this Cp is in Trunk mode (802.1Q or other), When operating in "trunk mode", the Cp is capable of carrying traffic for several VLANs. Absence of this property implies that trunkMode is not configured for the Cp i.e. It is equivalent to boolean value "false".
+ required: false
+ allowed_address_data: # #Introduced from Beijing release, align with resource IM, outside the scope of SOL001 v2.5.1
+ type: tosca.datatypes.nfv.AddressData # In the IM, it is a array, but here it is not a array. TBD.
+ required: false
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml
index 5eeedba2a9..fcc70b35cb 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml
@@ -1,65 +1,95 @@
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
- tosca.nodes.nfv.VNF:
- derived_from: tosca.nodes.Root
- properties:
- descriptor_id: # instead of vnfd_id
- type: string # GUID
- required: true
- descriptor_version: # instead of vnfd_version
+ tosca.nodes.nfv.VNF:
+ derived_from: tosca.nodes.Root
+ description: The generic abstract type from which all VNF specific abstract node types shall be derived to form, together with other node types, the TOSCA service template(s) representing the VNFD
+ properties:
+ descriptor_id: # instead of vnfd_id
+ type: string # GUID
+ description: Globally unique identifier of the VNFD
+ required: true
+ descriptor_version: # instead of vnfd_version
+ type: string
+ description: Identifies the version of the VNFD
+ required: true
+ provider: # instead of vnf_provider
+ type: string
+ description: Provider of the VNF and of the VNFD
+ required: true
+ product_name: # instead of vnf_product_name
+ type: string
+ description: Human readable name for the VNF Product
+ required: true
+ software_version: # instead of vnf_software_version
+ type: string
+ description: Software version of the VNF
+ required: true
+ product_info_name: # instead of vnf_product_info_name
+ type: string
+ description: Human readable name for the VNF Product
+ required: false
+ product_info_description: # instead of vnf_product_info_description
+ type: string
+ description: Human readable description of the VNF Product
+ required: false
+ vnfm_info:
+ type: list
+ required: true
+ description: Identifies VNFM(s) compatible with the VNF
+ entry_schema:
type: string
- required: true
- provider: # instead of vnf_provider
- type: string
- required: true
- product_name: # instead of vnf_product_name
- type: string
- required: true
- software_version: # instead of vnf_software_version
- type: string
- required: true
- product_info_name: # instead of vnf_product_info_name
- type: string
- required: false
- product_info_description: # instead of vnf_product_info_description
- type: string
- required: false
- vnfm_info:
- type: list
- entry_schema:
- type: string
- required: true
- localization_languages:
- type: list
- entry_schema:
- type: string
- required: false
- default_localization_language:
- type: string
- required: false
- configurable_properties:
- type: tosca.datatypes.nfv.VnfConfigurableProperties
- required: false
- modifiable_attributes:
- type: tosca.datatypes.nfv.VnfInfoModifiableAttributes
- required: false # true in IFA011, but all of members are false. Align with the IM, it is false
- flavour_id:
- type: string
- required: true
- flavour_description:
- type: string
- required: true
- #capabilities:
- # monitoring_parameter:
- # modelled as ad hoc capabilities in the VNF node template
- requirements:
- - virtual_link:
- capability: tosca.capabilities.nfv.VirtualLinkable
- relationship: tosca.relationships.nfv.VirtualLinksTo
- node: tosca.nodes.nfv.VnfVirtualLink
- occurrences:
- - 0
- - UNBOUNDED
- interfaces:
- Nfv:
- type: tosca.interfaces.nfv.vnf.lifecycle.Nfv
+ localization_languages:
+ type: list
+ description: Information about localization languages of the VNF
+ required: false
+ entry_schema:
+ type: string #IETF RFC 5646 string
+ default_localization_language:
+ type: string #IETF RFC 5646 string
+ description: Default localization language that is instantiated if no information about selected localization language is available
+ required: false
+ #configurable_properties:
+ #type: tosca.datatypes.nfv.VnfConfigurableProperties
+ #description: Describes the configurable properties of the VNF
+ #required: false
+ # derived types are expected to introduce configurable_properties
+ # with its type derived from
+ # tosca.datatypes.nfv.VnfConfigurableProperties
+ #modifiable_attributes:
+ #type: tosca.datatypes.nfv.VnfInfoModifiableAttributes
+ #description: Describes the modifiable attributes of the VNF
+ #required: false
+ # derived types are expected to introduce modifiable_attributes
+ # with its type derived from
+ # tosca.datatypes.nfv.VnfInfoModifiableAttributes
+ lcm_operations_configuration:
+ type: tosca.datatypes.nfv.VnfLcmOperationsConfiguration
+ description: Describes the configuration parameters for the VNF LCM operations
+ required: false
+ monitoring_parameters:
+ type: list
+ entry_schema:
+ type: tosca.datatypes.nfv.VnfMonitoringParameter
+ description: Describes monitoring parameters applicable to the VNF.
+ required: false
+ flavour_id:
+ type: string
+ description: Identifier of the Deployment Flavour within the VNFD
+ required: true
+ flavour_description:
+ type: string
+ description: Human readable description of the DF
+ required: true
+ #vnf_profile:
+ # type: tosca.datatypes.nfv.VnfProfile
+ # description: Describes a profile for instantiating VNFs of a particular NS DF according to a specific VNFD and VNF DF
+ # required: false
+ requirements:
+ - virtual_link:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
+ occurrences: [ 0, 1 ]
+ # Additional requirements shall be defined in the VNF specific node type (deriving from tosca.nodes.nfv.VNF) corresponding to NS virtual links that need to connect to VnfExtCps
+ interfaces:
+ Vnflcm:
+ type: tosca.interfaces.nfv.Vnflcm
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml
index 64bf536a0d..83bba36fe0 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml
@@ -2,64 +2,69 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
tosca.nodes.nfv.Vdu.Compute:
derived_from: tosca.nodes.Root
+ description: Describes the virtual compute part of a VDU which is a construct supporting the description of the deployment and operational behavior of a VNFC
properties:
name:
type: string
+ description: Human readable name of the VDU
required: true
description:
type: string
+ description: Human readable description of the VDU
required: true
boot_order:
- type: map
+ type: list # explicit index (boot index) not necessary, contrary to IFA011
+ description: References a node template name from which a valid boot device is created
+ required: false
entry_schema:
type: string
+ nfvi_constraints:
+ type: list
+ description: Describes constraints on the NFVI for the VNFC instance(s) created from this VDU
required: false
- nfvi_constraints:
- type: map # Align with IM, it shoul be a array of KeyValuePair/NameValuePair
entry_schema:
type: string
+ monitoring_parameters:
+ type: list
+ description: Describes monitoring parameters applicable to a VNFC instantiated from this VDU
required: false
- configurable_properties:
- type: map #In the IM, the multipilicity of VnfcConfigurableProperties is 1, not a map.
- entry_schema:
- type: tosca.datatypes.nfv.VnfcConfigurableProperties
- required: true
- vdu_profile:
- type: tosca.datatypes.nfv.VduProfile
- required: true
- inject_files: # Used for vCPE usecase Aligned with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
- type: tosca.datatypes.nfv.injectFile
- required: false #Aligned with ONAP R2 IM. it should be false.
- meta_data: #metadata attached to the VM or container
- type: map
- entry_schema:
- type: string
- required: false
- user_data: #cloudinit userdata script support
+ entry_schema:
+ type: tosca.datatypes.nfv.VnfcMonitoringParameter
+ #configurable_properties:
+ #type: tosca.datatypes.nfv.VnfcConfigurableProperties
+ #required: false
+ # derived types are expected to introduce
+ # configurable_properties with its type derived from
+ # tosca.datatypes.nfv.VnfcConfigurableProperties
+ vdu_profile:
+ type: tosca.datatypes.nfv.VduProfile
+ description: Defines additional instantiation data for the VDU.Compute node
+ required: true
+ sw_image_data:
+ type: tosca.datatypes.nfv.SwImageData
+ description: Defines information related to a SwImage artifact used by this Vdu.Compute node
+ required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise
+ boot_data:
type: string
+ description: Contains a string or a URL to a file contained in the VNF package used to customize a virtualised compute resource at boot time. The bootData may contain variable parts that are replaced by deployment specific values before being sent to the VIM.
+ required: false
+ inject_files: #Introduced from Beijing release, used for vCPE usecase, outside the scope of SOL001 v2.5.1
+ type: tosca.datatypes.nfv.injectFile
+ required: false #Aligned with ONAP R2 IM. it should be false.
+ meta_data: #Introduced from Beijing release, used for metadata attached to the VM or container, outside the scope of SOL001 v2.5.1
+ type: map
+ entry_schema:
+ type: string
required: false
capabilities:
virtual_compute:
type: tosca.capabilities.nfv.VirtualCompute
+ occurrences: [ 1, 1 ]
virtual_binding:
type: tosca.capabilities.nfv.VirtualBindable
- occurrences:
- - 1
- - UNBOUNDED
- monitoring_parameter:
- type: tosca.capabilities.nfv.Metric
- occurrences:
- - 0
- - UNBOUNDED
+ occurrences: [ 1, UNBOUNDED ]
requirements:
- virtual_storage:
capability: tosca.capabilities.nfv.VirtualStorage
- relationship: tosca.relationships.nfv.Vdu.AttachedTo
- node: tosca.nodes.nfv.Vdu.VirtualStorage
- occurences:
- - 0
- - UNBOUNDED
- #artifacts: artifacts should be defined in template file instead of node type
- # - sw_image:
- # file:
- # type: tosca.artifacts.nfv.SwImage
+ relationship: tosca.relationships.nfv.AttachesTo
+ occurrences: [ 0, UNBOUNDED ]
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
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.json b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.json
new file mode 100644
index 0000000000..90776f08d0
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "vduVirtualBlockStorage.yml",
+ "contactId": "jh0003",
+ "name": "VDU VirtualBlockStorage",
+ "description": "VDU VirtualBlockStorage",
+ "resourceIconPath": "objectStorage",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["VDU VirtualBlockStorage"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.yml
new file mode 100644
index 0000000000..bffe3ce4fd
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualBlockStorage/vduVirtualBlockStorage.yml
@@ -0,0 +1,18 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.Vdu.VirtualBlockStorage:
+ derived_from: tosca.nodes.Root
+ description: This node type describes the specifications of requirements related to virtual block storage resources
+ properties:
+ virtual_block_storage_data:
+ type: tosca.datatypes.nfv.VirtualBlockStorageData
+ description: Describes the block storage characteristics.
+ required: true
+ sw_image_data:
+ type: tosca.datatypes.nfv.SwImageData
+ description: Defines information related to a SwImage artifact used by this Vdu.Compute node.
+ required: false # property is required when the node template has an associated artifact of type tosca.artifacts.nfv.SwImage and not required otherwise
+ capabilities:
+ virtual_storage:
+ type: tosca.capabilities.nfv.VirtualStorage
+ description: Defines the capabilities of virtual_storage.
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.json b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.json
new file mode 100644
index 0000000000..fa45b7db85
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "vduVirtualFileStorage.yml",
+ "contactId": "jh0003",
+ "name": "VDU VirtualFileStorage",
+ "description": "VDU VirtualFileStorage",
+ "resourceIconPath": "objectStorage",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["VDU VirtualFileStorage"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.yml
new file mode 100644
index 0000000000..502de048a2
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualFileStorage/vduVirtualFileStorage.yml
@@ -0,0 +1,19 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.Vdu.VirtualFileStorage:
+ derived_from: tosca.nodes.Root
+ description: This node type describes the specifications of requirements related to virtual file storage resources
+ properties:
+ virtual_file_storage_data:
+ type: tosca.datatypes.nfv.VirtualFileStorageData
+ description: Describes the file storage characteristics.
+ required: true
+ capabilities:
+ virtual_storage:
+ type: tosca.capabilities.nfv.VirtualStorage
+ description: Defines the capabilities of virtual_storage.
+ requirements:
+ - virtual_link:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
+ #description: Describes the requirements for linking to virtual link
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.json b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.json
new file mode 100644
index 0000000000..b5fa625c1e
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "vduVirtualObjectStorage.yml",
+ "contactId": "jh0003",
+ "name": "VDU VirtualObjectStorage",
+ "description": "VDU VirtualObjectStorage",
+ "resourceIconPath": "objectStorage",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["VDU VirtualObjectStorage"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.yml
new file mode 100644
index 0000000000..695c21d7f4
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualObjectStorage/vduVirtualObjectStorage.yml
@@ -0,0 +1,14 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.Vdu.VirtualObjectStorage:
+ derived_from: tosca.nodes.Root
+ description: This node type describes the specifications of requirements related to virtual object storage resources
+ properties:
+ virtual_object_storage_data:
+ type: tosca.datatypes.nfv.VirtualObjectStorageData
+ description: Describes the object storage characteristics.
+ required: true
+ capabilities:
+ virtual_storage:
+ type: tosca.capabilities.nfv.VirtualStorage
+ description: Defines the capabilities of virtual_storage.
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.json b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.json
new file mode 100644
index 0000000000..b50d159098
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "vnfExtCp.yml",
+ "contactId": "jh0003",
+ "name": "VNF External CP",
+ "description": "VNF External CP",
+ "resourceIconPath": "network",
+ "resourceType": "CP",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["VNF External CP"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.yml
new file mode 100644
index 0000000000..c51e1b1539
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfExtCp/vnfExtCp.yml
@@ -0,0 +1,19 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.VnfExtCp:
+ derived_from: tosca.nodes.nfv.Cp
+ description: Describes a logical external connection point, exposed by the VNF enabling connection with an external Virtual Link
+ properties:
+ virtual_network_interface_requirements:
+ type: list
+ description: The actual virtual NIC requirements that is been assigned when instantiating the connection point
+ required: false
+ entry_schema:
+ type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
+ requirements:
+ - external_virtual_link:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
+ - internal_virtual_link: #name in ETSI NFV IFA011 v0.7.3: intVirtualLinkDesc
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
index dae0162435..2c92140158 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
@@ -2,26 +2,34 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
tosca.nodes.nfv.VnfVirtualLink:
derived_from: tosca.nodes.Root
+ description: Describes the information about an internal VNF VL
properties:
connectivity_type:
type: tosca.datatypes.nfv.ConnectivityType
+ description: Specifies the protocol exposed by the VL and the flow pattern supported by the VL
required: true
description:
type: string
+ description: Provides human-readable information on the purpose of the VL
required: false
test_access:
type: list
+ description: Test access facilities available on the VL
+ required: false
entry_schema:
type: string
- required: false
+ constraints:
+ - valid_values: [ passive_monitoring, active_loopback ]
vl_profile:
type: tosca.datatypes.nfv.VlProfile
+ description: Defines additional data for the VL
required: true
+ monitoring_parameters:
+ type: list
+ description: Describes monitoring parameters applicable to the VL
+ required: false
+ entry_schema:
+ type: tosca.datatypes.nfv.VirtualLinkMonitoringParameter
capabilities:
- monitoring_parameter: # this is not a very clear data structure enough to be coded, suggest to be annotated.
- type: tosca.capabilities.nfv.Metric
- occurrences:
- - 0
- - UNBOUNDED
virtual_linkable:
- type: tosca.capabilities.nfv.VirtualLinkable \ No newline at end of file
+ type: tosca.capabilities.nfv.VirtualLinkable