aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
diff options
context:
space:
mode:
authordekstroza <dejan.kitic@ericsson.com>2018-05-18 15:23:12 +0100
committerMichael Lando <ml636r@att.com>2018-05-27 23:13:27 +0300
commitcb72310ab92091c47502f7e3c1bf2162884dca83 (patch)
treecfd6fbf0abf585c35f16dd72380a703cbdc13e8b /catalog-be/src/main/resources
parenta4d6b57e6b8babca1007680fa51fa38f2eccf536 (diff)
R2 model updates
All model verification changes and updated in single patch. Change-Id: Ie794dc141400490bf1a858a8d6c9d1c45e5b9443 Issue-ID: SDC-1253 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-be/src/main/resources')
-rw-r--r--catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml3
-rw-r--r--catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.zipbin991 -> 1015 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml8
-rw-r--r--catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.zipbin1735 -> 1822 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml301
-rw-r--r--catalog-be/src/main/resources/import/tosca/data-types/dataTypes.zipbin6300 -> 7408 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml57
-rw-r--r--catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zipbin273 -> 619 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.json (renamed from catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json)8
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml31
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.zipbin0 -> 598 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.json (renamed from catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json)8
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml65
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.zipbin0 -> 758 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.yml153
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.zipbin667 -> 881 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.json (renamed from catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.json)8
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml39
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.zipbin0 -> 695 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.yml57
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.zipbin554 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml53
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.zipbin421 -> 523 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json (renamed from catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json)8
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml27
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.zipbin0 -> 526 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.yml41
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.zipbin554 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml22
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zipbin457 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.yml25
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.zipbin377 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.yml14
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.zipbin350 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml76
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zipbin586 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml67
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zipbin636 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.yml69
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.zipbin529 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.yml96
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.zipbin667 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml57
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.zipbin554 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.yml27
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.zipbin421 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml26
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.zipbin478 -> 0 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml13
-rw-r--r--catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.zipbin1421 -> 1460 bytes
-rw-r--r--catalog-be/src/main/resources/scripts/import/tosca/importNfvTypes.py33
59 files changed, 645 insertions, 867 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml b/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml
index 7b7e640a3c..df5cf0ab75 100644
--- a/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.yml
@@ -28,3 +28,6 @@ tosca.artifacts.File:
tosca.artifacts.Implementation:
derived_from: tosca.artifacts.Root
description: This artifact type represents the parent type for all implementation artifacts in TOSCA. These artifacts are used to implement operations of TOSCA interfaces either directly (e.g., scripts) or indirectly (e.g., config. files).
+
+tosca.artifacts.nfv.SwImage:
+ derived_from: tosca.artifacts.Deployment.Image \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.zip b/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.zip
index 7a0a5d9404..ac2d7c8df2 100644
--- a/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.zip
+++ b/catalog-be/src/main/resources/import/tosca/artifact-types/artifactTypes.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml b/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml
index 50f74f8853..56da214e88 100644
--- a/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.yml
@@ -225,6 +225,12 @@ tosca.capabilities.nfv.VirtualStorage:
tosca.capabilities.nfv.VirtualCompute:
derived_from: tosca.capabilities.Root
properties:
+ logical_node:
+ type: tosca.datatypes.nfv.LogicalNodeData
+ required: false
+# compute_requirements: Type is TBD
+# type: map
+# required: false
requested_additional_capabilities:
type: map
entry_schema:
@@ -240,6 +246,8 @@ tosca.capabilities.nfv.VirtualBindable:
derived_from: tosca.capabilities.Root
tosca.capabilities.nfv.VirtualLinkable:
derived_from: tosca.capabilities.Root
+tosca.capabilities.nfv.ExtVirtualLinkable:
+ derived_from: tosca.capabilities.Root
tosca.capabilities.nfv.Forwarder:
derived_from: tosca.capabilities.Root
tosca.capabilities.nfv.ext.GuestOs:
diff --git a/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.zip b/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.zip
index 6c443c9662..dce4bf7565 100644
--- a/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.zip
+++ b/catalog-be/src/main/resources/import/tosca/capability-types/capabilityTypes.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
index 282595dcab..e8c27c2e03 100644
--- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
@@ -34,7 +34,6 @@ scalar-unit.time:
scalar-unit.frequency:
derived_from: scalar-unit
-
tosca.datatypes.Credential:
derived_from: tosca.datatypes.Root
properties:
@@ -218,8 +217,7 @@ org.openecomp.datatypes.heat.network.neutron.Subnet:
type: map
description: Extra parameters to include in the request
required: false
- default: {
- }
+ default: {}
status: SUPPORTED
entry_schema:
type: string
@@ -239,8 +237,7 @@ org.openecomp.datatypes.heat.network.neutron.Subnet:
type: list
description: A specified set of DNS name servers to be used
required: false
- default: [
- ]
+ default: []
status: SUPPORTED
entry_schema:
type: string
@@ -330,8 +327,7 @@ org.openecomp.datatypes.heat.novaServer.network.PortExtraProperties:
type: map
description: Extra parameters to include in the request
required: false
- default: {
- }
+ default: {}
status: SUPPORTED
entry_schema:
type: string
@@ -503,8 +499,7 @@ org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule:
- IPv6
port_range_max:
type: integer
- description: 'The maximum port number in the range that is matched by the
- security group rule. '
+ description: 'The maximum port number in the range that is matched by the security group rule. '
required: false
status: SUPPORTED
constraints:
@@ -1312,6 +1307,11 @@ tosca.datatypes.nfv.VirtualMemory:
virtual_mem_oversubscription_policy:
type: string
required: false
+ vdu_memory_requirements:
+ type: map
+ entry_schema:
+ type: string
+ required: false
numa_enabled:
type: boolean
required: false
@@ -1343,9 +1343,22 @@ tosca.datatypes.nfv.VirtualCpu:
virtual_cpu_oversubscription_policy:
type: string
required: false
+ vdu_cpu_requirements:
+ type: map
+ entry_schema:
+ type: string
+ required: false
virtual_cpu_pinning:
type: tosca.datatypes.nfv.VirtualCpuPinning
required: false
+tosca.datatypes.nfv.LogicalNodeData:
+ derived_from: tosca.datatypes.Root
+ properties:
+ logical_node_requirements:
+ type: map # not defined in SOL001 v.6.0
+ entry_schema:
+ type: string
+ required: false
tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
derived_from: tosca.datatypes.Root
properties:
@@ -1358,15 +1371,29 @@ tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements:
support_mandatory:
type: boolean
required: true
- requirement:
- type: string # not specified
+ network_interface_requirements:
+ type: map
+ entry_schema:
+ type: string
required: true
-tosca.datatypes.nfv.L2AddressData:
+ nic_io_requirements:
+ type: tosca.datatypes.nfv.LogicalNodeData
+ required: false
+tosca.datatypes.nfv.injectFile: #used for vCPE usecase
derived_from: tosca.datatypes.Root
properties:
- address:
+ source_path:
type: string
- required: false
+ required: true
+ dest_path:
+ type: string
+ required: true
+tosca.datatypes.nfv.L2AddressData:
+ derived_from: tosca.datatypes.Root
+ properties:
+ mac_address_assignment:
+ type: boolean
+ required: true
tosca.datatypes.nfv.L3AddressData:
derived_from: tosca.datatypes.Root
properties:
@@ -1384,13 +1411,16 @@ tosca.datatypes.nfv.L3AddressData:
number_of_ip_address:
type: integer
required: false
-tosca.datatype.nfv.AddressData:
+ fixed_ip_address: #used for vCPE usecase
+ type: list
+ entry_schema:
+ type: string
+ required: false
+tosca.datatypes.nfv.AddressData:
properties:
address_type:
constraints:
- - valid_values:
- - mac_address
- - ip_address
+ - valid_values: [mac_address, ip_address]
type: string
l2_address_data:
required: false
@@ -1405,10 +1435,12 @@ tosca.datatypes.nfv.ConnectivityType:
type: string
required: true
constraints:
- - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
+ - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire]
flow_pattern:
type: string
required: false
+ constraints: # not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ - valid_values: [Line, Tree, Mesh]
tosca.datatypes.nfv.VlFlavour:
derived_from: tosca.datatypes.Root
properties:
@@ -1473,4 +1505,233 @@ tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule:
required: false
affinity_antiaffinity:
type: string
- required: false \ No newline at end of file
+ required: false
+tosca.datatypes.nfv.VduProfile:
+ derived_from: tosca.datatypes.Root
+ properties:
+ min_number_of_instances:
+ type: integer
+ required: true
+ max_number_of_instances:
+ type: integer
+ required: true
+ #localAffinityOrAntiAffinityRule: # not defined in SOL001 v.6.0
+ # type: tosca.datatypes.nfv.LocalAffinityOrAntiAffinityRule
+ # required: true
+ #affinityOrAntiAffinityGroupId: # not defined in SOL001 v.6.0
+ # type: string
+ # required: true
+ watchdog: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: true
+ vmBootUpTimeOut: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: integer
+ required: optional
+tosca.datatypes.nfv.LinkBitRateRequirements:
+ derived_from: tosca.datatypes.Root
+ properties:
+ root:
+ type: integer
+ required: true
+ leaf:
+ type: integer
+ required: true
+tosca.datatypes.nfv.Qos:
+ derived_from: tosca.datatypes.Root
+ properties:
+ latency:
+ type: integer #Number [ms]
+ required: true
+ packet_delay_variation:
+ type: integer #Number [ms]
+ required: true
+ packet_loss_ratio:
+ type: float #Number [0 ..1]
+ required: false
+tosca.datatypes.nfv.VlProfile:
+ derived_from: tosca.datatypes.Root
+ properties:
+ max_bit_rate_requirements:
+ type: tosca.datatypes.nfv.LinkBitRateRequirements
+ required: true
+ min_bit_rate_requirements:
+ type: tosca.datatypes.nfv.LinkBitRateRequirements
+ required: true
+ qos:
+ type: tosca.datatypes.nfv.Qos
+ required: false
+ initiationParameters: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: map
+ entry_schema:
+ type: string
+ required: false
+ cidr: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ networkName: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ startIp: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ endIp: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ gatewayIp: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ segmentationId: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: integer
+ required: false
+ physicalNetwork: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ networkType: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: string
+ required: false
+ constraints:
+ - valid_values: [VLAN, VXLAN]
+ dhcpEnabled: # not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: boolean
+ required: false
+ vlanTransparent: #Align with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v.6.0
+ type: boolean
+ required: false
+tosca.datatypes.nfv.VduLevel:
+ derived_from: tosca.datatypes.Root
+ properties:
+ number_of_instances:
+ type: integer
+ required: true
+tosca.datatypes.nfv.ScaleInfo:
+ derived_from: tosca.datatypes.Root
+ properties:
+ scaleLevel:
+ type: integer
+ required: true
+tosca.datatypes.nfv.ScaleAspect:
+ derived_from: tosca.datatypes.Root
+ properties:
+ name:
+ type: string
+ required: true
+ description:
+ type: string
+ required: true
+ associated_group:
+ type: string #Identifier
+ required: false
+ max_scale_level:
+ type: integer #PositiveInteger
+ required: true
+tosca.datatypes.nfv.InstantiationLevel:
+ derived_from: tosca.datatypes.Root
+ properties:
+ description:
+ type: string
+ required: true
+ vdu_levels:
+ type: map # key: vduId
+ required: true
+ entry_schema:
+ type: tosca.datatypes.nfv.VduLevel
+ scale_info:
+ type: map # key: aspectId
+ required: false
+ entry_schema:
+ type: tosca.datatypes.nfv.ScaleInfo
+#tosca.datatypes.nfv.VnfInstantiateOperationConfiguration:
+# derived_from: tosca.datatypes.Root
+ #properties:
+ #parameters:
+ #modeled as part of operation parameter list
+tosca.datatypes.nfv.VnfScaleOperationConfiguration:
+ derived_from: tosca.datatypes.Root
+ properties:
+ #parameters:
+ #modeled as part of the operation parameter list
+ scaling_by_more_than_one_step_supported:
+ type: boolean
+tosca.datatypes.nfv.VnfScaleToLevelOperationConfiguration:
+ derived_from: tosca.datatypes.Root
+ properties:
+ #parameters:
+ #modeled as part of the operation parameter list
+ arbitrary_target_levels_supported:
+ type: boolean
+tosca.datatypes.nfv.VnfHealOperationConfiguration:
+ derived_from: tosca.datatypes.Root
+ properties:
+ #parameters:
+ #modeled as part of the operation parameter list
+ causes:
+ type: list
+ entry_schema:
+ type: string
+tosca.datatypes.nfv.VnfTerminateOperationConfiguration:
+ derived_from: tosca.datatypes.Root
+ properties:
+ min_graceful_termination_timeout:
+ type: integer
+ max_recommended_graceful_termination_timeout:
+ type: integer
+tosca.datatypes.nfv.VnfOperateOperationConfiguration:
+ derived_from: tosca.datatypes.Root
+ properties:
+ min_graceful_termination_timeout:
+ type: integer
+ max_recommended_graceful_termination_timeout:
+ type: integer
+tosca.datatypes.nfv.VnfLcmOperationsConfiguration:
+ derived_from: tosca.datatypes.Root
+ properties:
+# instantiate:
+# type: tosca.datatypes.nfv.VnfInstantiateOperationConfiguration
+ scale:
+ type: tosca.datatypes.nfv.VnfScaleOperationConfiguration
+ scale_to_level:
+ type: tosca.datatypes.nfv.VnfScaleToLevelOperationConfiguration
+ heal:
+ type: tosca.datatypes.nfv.VnfHealOperationConfiguration
+ terminate:
+ type: tosca.datatypes.nfv.VnfTerminateOperationConfiguration
+ operate:
+ type: tosca.datatypes.nfv.VnfOperateOperationConfiguration
+tosca.datatypes.nfv.CpProtocolData:
+ derived_from: tosca.datatypes.Root
+ properties:
+ asscociated_layer_protocol:
+ type: string
+ constraints:
+ - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
+ required: true
+ address_data:
+ type: tosca.datatypes.nfv.AddressData
+ required: false
+#tosca.datatypes.nfv.VnfAdditionalConfigurableProperties:
+# derived_from: tosca.datatypes.Root
+tosca.datatypes.nfv.VnfConfigurableProperties:
+ derived_from: tosca.datatypes.Root
+ properties:
+ is_autoscale_enabled:
+ type: boolean
+ required: false
+ is_autoheal_enabled:
+ type: boolean
+ required: false
+# additional_configurable_properties:
+# type: tosca.datatypes.nfv.VnfAdditionalConfigurableProperties
+# required: false
+#tosca.datatypes.nfv.VnfInfoModifiableAttributesExtensions:
+# derived_from: tosca.datatypes.Root
+#tosca.datatypes.nfv.VnfInfoModifiableAttributesMetadata:
+# derived_from: tosca.datatypes.Root
+#tosca.datatypes.nfv.VnfInfoModifiableAttributes:
+# derived_from: tosca.datatypes.Root
+# properties:
+# extensions:
+# type: tosca.datatypes.nfv.VnfInfoModifiableAttributesExtensions
+# required: false
+# metadata:
+# type: tosca.datatypes.nfv.VnfInfoModifiableAttributesMetadata
+# required: false
diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.zip b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.zip
index 401bb7f43b..1b032cb276 100644
--- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.zip
+++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml b/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
index 1b67118934..2a304a0aa4 100644
--- a/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.yml
@@ -1,3 +1,58 @@
+tosca.interfaces.nfv.vnf.lifecycle.Nfv:
+ instantiate:
+ description: Invoked upon receipt of an Instantiate VNF request
+ instantiate_start:
+ description: Invoked before instantiate
+ instantiate_end:
+ description: Invoked after instantiate
+ terminate:
+ description: Invoked upon receipt Terminate VNF request
+ terminate_start:
+ description: Invoked before terminate
+ terminate_end:
+ description: Invoked after terminate
+ modify_information:
+ description: Invoked upon receipt of a Modify VNF Information request
+ modify_information_start:
+ description: Invoked before modify_information
+ modify_information_end:
+ description: Invoked after modify_information
+ change_flavour:
+ description: Invoked upon receipt of a Change VNF Flavour request
+ change_flavour_start:
+ description: Invoked before change_flavour
+ change_flavour_end:
+ description: Invoked after change_flavour
+ change_external_connectivity:
+ description: Invoked upon receipt of a Change External VNF Connectivity request
+ change_external_connectivity_start:
+ description: Invoked before change_external_connectivity
+ change_external_connectivity_end:
+ description: Invoked after change_external_connectivity
+ operate:
+ description: Invoked upon receipt of an Operate VNF request
+ operate_start:
+ description: Invoked before operate
+ operate_end:
+ description: Invoked after operate
+ heal:
+ description: Invoked upon receipt of a Heal VNF request
+ heal_start:
+ description: Invoked before heal
+ heal_end:
+ description: Invoked after heal
+ scale:
+ description: Invoked upon receipt of a Scale VNF request
+ scale_start:
+ description: Invoked before scale
+ scale_end:
+ description: Invoked after scale
+ scale_to_level:
+ description: Invoked upon receipt of a Scale VNF to Level request
+ scale_to_level_start:
+ description: Invoked before scale_to_level
+ scale_to_level_end:
+ description: Invoked after scale_to_level
tosca.interfaces.node.lifecycle.Standard:
create:
description: Standard lifecycle create operation.
@@ -8,4 +63,4 @@ tosca.interfaces.node.lifecycle.Standard:
stop:
description: Standard lifecycle stop operation.
delete:
- description: Standard lifecycle delete operation. \ No newline at end of file
+ description: Standard lifecycle delete operation.
diff --git a/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip b/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip
index 9bcf93ab7d..574a4844d3 100644
--- a/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip
+++ b/catalog-be/src/main/resources/import/tosca/interface-lifecycle-types/interfaceLifecycleTypes.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.json
index 5d721d4abc..18622eee61 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.json
@@ -1,8 +1,8 @@
{
- "payloadName": "VDU.yml",
+ "payloadName": "Cp.yml",
"contactId": "jh0003",
- "name": "VDU",
- "description": "VDU",
+ "name": "Cp",
+ "description": "Cp",
"resourceIconPath": "compute",
"resourceType": "VFC",
"categories": [{
@@ -11,5 +11,5 @@
"name": "Infrastructure"
}]
}],
- "tags": ["VDU"]
+ "tags": ["Cp"]
} \ No newline at end of file
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
new file mode 100644
index 0000000000..9cee00aaa9
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml
@@ -0,0 +1,31 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.Cp:
+ derived_from: tosca.nodes.Root
+ 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
+ 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
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.zip
new file mode 100644
index 0000000000..ac7e5e83a8
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.json
index 2ebc518c0c..5f3baba868 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.json
@@ -1,8 +1,8 @@
{
- "payloadName": "extZteVDU.yml",
+ "payloadName": "VNF.yml",
"contactId": "jh0003",
- "name": "Ext Zte VDU",
- "description": "Ext Zte VDU",
+ "name": "VNF",
+ "description": "VNF",
"resourceIconPath": "compute",
"resourceType": "VFC",
"categories": [{
@@ -11,5 +11,5 @@
"name": "Infrastructure"
}]
}],
- "tags": ["Ext Zte VDU"]
+ "tags": ["VNF"]
} \ No newline at end of file
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
new file mode 100644
index 0000000000..f0800a8de3
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.yml
@@ -0,0 +1,65 @@
+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
+ 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.node.lifecycle.Standard
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.zip
new file mode 100644
index 0000000000..1c3b7a8b4f
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/VNF/VNF.zip
Binary files differ
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 a1c4b486b6..37e4c5edb1 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
@@ -1,96 +1,65 @@
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
- tosca.nodes.nfv.VDU.Compute:
- derived_from: tosca.nodes.Root
- properties:
- configurable_properties:
- type: map
- required: true
- status: SUPPORTED
- entry_schema:
- type: tosca.datatypes.nfv.VnfcConfigurableProperties
- name:
- type: string
- required: true
- status: SUPPORTED
- nfvi_constraints:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
+ tosca.nodes.nfv.Vdu.Compute:
+ derived_from: tosca.nodes.Root
+ properties:
+ name:
type: string
- descrption:
- type: string
- required: true
- status: SUPPORTED
- boot_order:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
+ required: true
+ description:
type: string
- attributes:
- private_address:
- type: string
- status: SUPPORTED
- public_address:
- type: string
- status: SUPPORTED
- networks:
- type: string
- status: SUPPORTED
- ports:
- type: string
- status: SUPPORTED
- requirements:
- - local_storage:
- capability: tosca.capabilities.Attachment
- occurrences:
- - 0
- - UNBOUNDED
- - virtual_storage:
- capability: tosca.capabilities.nfv.VirtualStorage
- occurrences:
- - 0
- - UNBOUNDED
- capabilities:
- scalable:
- type: tosca.capabilities.Scalable
- occurrences:
- - 1
- - UNBOUNDED
- virtual_compute:
- type: tosca.capabilities.nfv.VirtualCompute
- occurrences:
- - 1
- - UNBOUNDED
- endpoint:
- type: tosca.capabilities.Endpoint.Admin
- occurrences:
- - 1
- - UNBOUNDED
- os:
- type: tosca.capabilities.OperatingSystem
- occurrences:
- - 1
- - UNBOUNDED
- virtual_binding:
- type: tosca.capabilities.nfv.VirtualBindable
- occurrences:
- - 1
- - UNBOUNDED
- host:
- type: tosca.capabilities.Container
- occurrences:
- - 1
- - UNBOUNDED
- binding:
- type: tosca.capabilities.network.Bindable
- occurrences:
- - 1
- - UNBOUNDED
- monitoring_parameter:
- type: tosca.capabilities.nfv.Metric
- occurrences:
- - 1
- - UNBOUNDED \ No newline at end of file
+ required: true
+ boot_order:
+ type: map
+ entry_schema:
+ type: string
+ required: false
+ nfvi_constraints:
+ type: map # Align with IM, it shoul be a array of KeyValuePair/NameValuePair
+ entry_schema:
+ type: string
+ 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
+ type: string
+ required: false
+ capabilities:
+ virtual_compute:
+ type: tosca.capabilities.nfv.VirtualCompute
+ virtual_binding:
+ type: tosca.capabilities.nfv.VirtualBindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ monitoring_parameter:
+ type: tosca.capabilities.nfv.Metric
+ occurrences:
+ - 0
+ - 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:
+ - sw_image:
+ file:
+ type: tosca.artifacts.nfv.SwImage \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.zip
index 311062658f..e8d3d303be 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.zip
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCompute/vduCompute.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.json b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.json
index f8d2254472..aec330495d 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.json
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.json
@@ -1,8 +1,8 @@
{
- "payloadName": "vduCpd.yml",
+ "payloadName": "vduCp.yml",
"contactId": "jh0003",
- "name": "VDU Cpd",
- "description": "VDU Cpd",
+ "name": "VDU Cp",
+ "description": "VDU Cp",
"resourceIconPath": "port",
"resourceType": "CP",
"categories": [{
@@ -11,5 +11,5 @@
"name": "Network Elements"
}]
}],
- "tags": ["VDU Cpd"]
+ "tags": ["VDU Cp"]
} \ No newline at end of file
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
new file mode 100644
index 0000000000..1c461681a2
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml
@@ -0,0 +1,39 @@
+#NOT SPEC COMPLAINT!!!!!!!!!!!!!!!!!!!!!!
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.VduCp:
+ derived_from: tosca.nodes.nfv.Cp
+ 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
+ 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
+ virtual_network_interface_requirements:
+ type: list
+ entry_schema:
+ type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
+ required: false
+ # order: #there is no this attribute in IM.
+ # type: integer
+ # required: false
+ # constraints:
+ # - greater_or_equal: 0
+ 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
+ node: tosca.nodes.nfv.Vdu.Compute
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.zip
new file mode 100644
index 0000000000..c5a43abf5b
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.yml
deleted file mode 100644
index 673e923182..0000000000
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-#NOT SPEC COMPLAINT!!!!!!!!!!!!!!!!!!!!!!
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.VduCpd:
- derived_from: tosca.nodes.Root
- properties:
- virtual_network_interface_requirements:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
- type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
- role:
- type: string
- required: false
- status: SUPPORTED
- constraints:
- - valid_values:
- - root
- - leaf
- bitrate_requirement:
- type: integer
- required: false
- status: SUPPORTED
- description:
- type: string
- required: false
- status: SUPPORTED
- layer_protocol:
- type: string
- required: true
- status: SUPPORTED
- constraints:
- - valid_values:
- - ethernet
- - mpls
- - odu2
- - ipv4
- - ipv6
- - pseudo_wire
- address_data:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
- type: tosca.datatype.nfv.AddressData
- requirements:
- - virtual_binding:
- capability: tosca.capabilities.nfv.VirtualBindable
- occurrences:
- - 0
- - UNBOUNDED
- - virtual_link:
- capability: tosca.capabilities.nfv.VirtualLinkable
- occurrences:
- - 0
- - UNBOUNDED \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.zip
deleted file mode 100644
index e1bb32dd23..0000000000
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduCpd/vduCpd.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
index 5d22e1e6d4..12fb306c16 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.yml
@@ -1,27 +1,30 @@
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
- tosca.nodes.nfv.VDU.VirtualStorage:
- derived_from: tosca.nodes.Root
- properties:
- id:
- type: string
- required: true
- status: SUPPORTED
- size_of_storage:
- type: string
- required: true
- status: SUPPORTED
- rdma_enabled:
- type: boolean
- required: false
- status: SUPPORTED
- type_of_storage:
- type: string
- required: true
- status: SUPPORTED
- capabilities:
- virtual_storage:
- type: tosca.capabilities.nfv.VirtualStorage
- occurrences:
- - 1
- - UNBOUNDED
+ tosca.nodes.nfv.Vdu.VirtualStorage:
+ derived_from: tosca.nodes.Root
+ properties:
+ #id:
+ # node name
+ type_of_storage:
+ type: string
+ constraints:
+ - valid_values: [volume, object, root, block]
+ required: true
+ size_of_storage:
+ type: scalar-unit.size
+ required: true
+ vdu_storage_requirements:
+ type: map
+ entry_schema:
+ type: string
+ required: false
+ rdma_enabled:
+ type: boolean
+ required: false
+ capabilities:
+ virtual_storage:
+ type: tosca.capabilities.nfv.VirtualStorage
+ artifacts:
+ - sw_image:
+ file:
+ type: tosca.artifacts.Deployment.Image
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.zip
index fb92ab45d9..49849c9f28 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.zip
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vduVirtualStorage/vduVirtualStorage.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json
index b591df2bbb..95a899191a 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.json
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.json
@@ -1,8 +1,8 @@
{
- "payloadName": "vnfVirtualLinkDesc.yml",
+ "payloadName": "vnfVirtualLink.yml",
"contactId": "jh0003",
- "name": "VnfVirtualLinkDesc",
- "description": "VnfVirtualLinkDesc",
+ "name": "VnfVirtualLink",
+ "description": "VnfVirtualLink",
"resourceIconPath": "network",
"resourceType": "VL",
"categories": [{
@@ -11,5 +11,5 @@
"name": "Infrastructure"
}]
}],
- "tags": ["VnfVirtualLinkDesc"]
+ "tags": ["VnfVirtualLink"]
} \ No newline at end of file
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
new file mode 100644
index 0000000000..dae0162435
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.yml
@@ -0,0 +1,27 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.VnfVirtualLink:
+ derived_from: tosca.nodes.Root
+ properties:
+ connectivity_type:
+ type: tosca.datatypes.nfv.ConnectivityType
+ required: true
+ description:
+ type: string
+ required: false
+ test_access:
+ type: list
+ entry_schema:
+ type: string
+ required: false
+ vl_profile:
+ type: tosca.datatypes.nfv.VlProfile
+ required: true
+ 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
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.zip b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.zip
new file mode 100644
index 0000000000..1860e64639
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/vnfVirtualLink/vnfVirtualLink.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.json b/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.json
deleted file mode 100644
index 22788ec06c..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "NSD.yml",
- "contactId": "jh0003",
- "name": "NSD",
- "description": "NSD",
- "resourceIconPath": "network",
- "resourceType": "VFC",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Network Elements"
- }]
- }],
- "tags": ["NSD"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.yml b/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.yml
deleted file mode 100644
index 1b3d8820d5..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- org.openecomp.resource.vfc.NSD:
- derived_from: tosca.nodes.Root
- description: ECOMP Allotted Resource base type all other allotted resources node types derive from
- properties:
- nsd_id:
- type: string
- required: true
- description: ID of the NSD
- nsd_designer:
- type: string
- required: true
- description: Designer of the NSD
- nsd_version:
- type: string
- required: true
- description: Version of the NSD
- nsd_name:
- type: string
- required: true
- description: Name of the NSD
- providing_service_uuid:
- type: string
- required: true
- description: The depending service uuid in order to map the allotted resource to the specific service version
- providing_service_invariant_uuid:
- type: string
- required: true
- description: The depending service invariant uuid in order to map the allotted resource to the specific service version
- providing_service_name:
- type: string
- required: true
- description: The depending service name in order to map the allotted resource to the specific service version
- requirements:
- - virtualLink:
- capability: tosca.capabilities.network.Linkable
- relationship: tosca.relationships.network.LinksTo
- capabilities:
- virtual_linkable:
- type: tosca.capabilities.network.Linkable
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.zip b/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.zip
deleted file mode 100644
index d741b50c16..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/NSD/NSD.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml
deleted file mode 100644
index 541126f7e3..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.VDU:
- derived_from: tosca.nodes.SoftwareComponent
- capabilities:
-#Not found in any spec
-# high_availability:
-# type: nfv.capabilities.HA
- Virtualbinding:
- type: tosca.capabilities.nfv.VirtualBindable
-# monitoring_parameter:
-# type: nfv.capabilities.Metric
- requirements:
-#Not found in any spec
-# - high_availability:
-# capability: nfv.capabilities.HA
-# relationship: nfv.relationships.HA
-# occurrences: [ 0, 1 ]
- - host:
- capability: tosca.capabilities.Container
- node: tosca.nodes.Compute
- relationship: tosca.relationships.HostedOn
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zip b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zip
deleted file mode 100644
index 9010bf0544..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json b/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json
deleted file mode 100644
index 49895e44a6..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "extImageFile.yml",
- "contactId": "jh0003",
- "name": "Ext Image File",
- "description": "Ext Image File",
- "resourceIconPath": "defaulticon",
- "resourceType": "VFC",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Infrastructure"
- }]
- }],
- "tags": ["Ext Image File"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.yml
deleted file mode 100644
index 0715993b40..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.ext.ImageFile:
- derived_from: tosca.nodes.Root
- properties:
- file_url:
- type: string
- required: false
- container_type:
- type: string
- required: false
- name:
- type: string
- required: false
- disk_format:
- type: string
- required: false
- version:
- type: string
- required: false
- capabilities:
- guest_os:
- type: tosca.capabilities.nfv.ext.GuestOs
- image_fle:
- type: tosca.capabilities.nfv.ext.ImageFile
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.zip
deleted file mode 100644
index acee384754..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json b/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json
deleted file mode 100644
index 6cfdd47b1e..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "extLocalStorage.yml",
- "contactId": "jh0003",
- "name": "Ext Local Storage",
- "description": "Ext Local Storage",
- "resourceIconPath": "objectStorage",
- "resourceType": "VFC",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Infrastructure"
- }]
- }],
- "tags": ["Ext Local Storage"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.yml
deleted file mode 100644
index 4650332c21..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.ext.LocalStorage:
- derived_from: tosca.nodes.Root
- properties:
- size:
- type: string
- required: false
- disk_type:
- type: string
- required: false
- capabilities:
- local_attachment:
- type: tosca.capabilities.nfv.ext.LocalAttachment \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.zip
deleted file mode 100644
index b3bcc91c90..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.json b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.json
deleted file mode 100644
index 955e5e3e30..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "extZteCP.yml",
- "contactId": "jh0003",
- "name": "ext ZTE CP",
- "description": "Ext ZTE CP",
- "resourceIconPath": "network",
- "resourceType": "CP",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Network Elements"
- }]
- }],
- "tags": ["ext ZTE CP"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml
deleted file mode 100644
index 207047a3d7..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml
+++ /dev/null
@@ -1,76 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.ext.zte.CP:
- derived_from: tosca.nodes.Root
- properties:
- guest_os_mtu:
- type: integer
- required: false
- bandwidth:
- type: integer
- required: false
- interface_name:
- type: string
- required: false
- allowed_address_pairs:
- type: list
- required: false
- entry_schema:
- type: tosca.datatypes.nfv.ext.AddressPairs
- ip_address:
- type: string
- required: false
- bond:
- type: string
- required: false
- proxiedVNFs:
- type: list
- required: false
- entry_schema:
- type: string
- sfc_encapsulation:
- type: string
- required: false
- floating_ip_address:
- type: tosca.datatypes.nfv.ext.FloatingIP
- required: false
- service_ip_address:
- required: false
- type: string
- mac_address:
- type: string
- required: false
- proxiedVNFtype:
- type: string
- required: false
- macbond:
- type: string
- required: false
- vnic_type:
- type: string
- required: false
- direction:
- type: string
- required: false
- order:
- type: integer
- required: false
- requirements:
- - forwarder:
- capability: tosca.capabilities.nfv.Forwarder
- occurrences:
- - 0
- - UNBOUNDED
- - virtualbinding:
- capability: tosca.capabilities.nfv.VirtualBindable
- occurrences:
- - 0
- - UNBOUNDED
- - virtualLink:
- capability: tosca.capabilities.nfv.VirtualLinkable
- occurrences:
- - 0
- - UNBOUNDED
- capabilities:
- forwarder:
- type: tosca.capabilities.nfv.Forwarder \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip
deleted file mode 100644
index ca6d0738de..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml
deleted file mode 100644
index 1638305021..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.ext.zte.VDU:
- derived_from: tosca.nodes.Root
- properties:
- manual_scale_select_vim:
- type: boolean
- required: false
- vdu_type:
- type: string
- required: false
- watchdog:
- type: tosca.datatypes.nfv.ext.zte.WatchDog
- required: false
- name:
- type: string
- required: false
- local_affinity_antiaffinity_rule:
- type: tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule
- required: false
- support_scaling:
- type: boolean
- required: false
- storage_policy:
- type: string
- required: false
- key_vdu:
- type: boolean
- required: false
- location_info:
- type: tosca.datatypes.nfv.ext.LocationInfo
- required: false
- inject_data_list:
- type: list
- required: false
- entry_schema:
- type: tosca.datatypes.nfv.ext.InjectData
- requirements:
- - guest_os:
- capability: tosca.capabilities.nfv.ext.GuestOs
- occurrences:
- - 0
- - UNBOUNDED
- - local_storage:
- capability: tosca.capabilities.nfv.ext.LocalAttachment
- occurrences:
- - 0
- - UNBOUNDED
- - volume_storage:
- capability: tosca.capabilities.Attachment
- occurrences:
- - 0
- - UNBOUNDED
- - dependency:
- capability: tosca.capabilities.Node
- occurrences:
- - 0
- - UNBOUNDED
- capabilities:
- scalable:
- type: tosca.capabilities.Scalable
- monitoring_parameter:
- type: tosca.capabilities.nfv.Metric
- nfv_compute:
- type: tosca.capabilities.nfv.ext.Compute.Container.Architecture
- virtualbinding:
- type: tosca.capabilities.nfv.VirtualBindable \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip
deleted file mode 100644
index 2bf0f54ea3..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.json b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.json
deleted file mode 100644
index 0104a79c21..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "extZteVL.yml",
- "contactId": "jh0003",
- "name": "ext ZTE VL",
- "description": "Ext ZTE VL",
- "resourceIconPath": "network",
- "resourceType": "VL",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Network Elements"
- }]
- }],
- "tags": ["ext ZTE VL"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.yml
deleted file mode 100644
index 8618019587..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.yml
+++ /dev/null
@@ -1,69 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.ext.zte.VL:
- derived_from: tosca.nodes.Root
- properties:
- segmentation_id:
- type: string
- required: false
- network_name:
- type: string
- required: false
- is_predefined:
- type: boolean
- required: false
- mtu:
- type: integer
- required: false
- dns_nameservers:
- type: list
- required: false
- entry_schema:
- type: string
- physical_network:
- type: string
- required: false
- dhcp_enabled:
- type: boolean
- required: false
- network_id:
- type: string
- required: false
- host_routes:
- type: list
- required: false
- entry_schema:
- type: tosca.datatypes.nfv.ext.HostRouteInfo
- ip_version:
- type: integer
- required: false
- vendor:
- type: string
- required: false
- name:
- type: string
- required: false
- start_ip:
- type: string
- required: false
- vlan_transparent:
- type: boolean
- required: false
- cidr:
- type: string
- required: false
- gateway_ip:
- type: string
- required: false
- network_type:
- type: string
- required: false
- end_ip:
- type: string
- required: false
- location_info:
- type: tosca.datatypes.nfv.ext.LocationInfo
- required: false
- capabilities:
- virtual_linkable:
- type: tosca.capabilities.nfv.VirtualLinkable \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.zip
deleted file mode 100644
index 5f04404f25..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVL/extZteVL.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.json b/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.json
deleted file mode 100644
index 42f5978ad1..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "vduCompute.yml",
- "contactId": "jh0003",
- "name": "VDU Compute",
- "description": "VDU Compute",
- "resourceIconPath": "compute",
- "resourceType": "VFC",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Infrastructure"
- }]
- }],
- "tags": ["VDU Compute"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.yml b/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.yml
deleted file mode 100644
index a1c4b486b6..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.yml
+++ /dev/null
@@ -1,96 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.VDU.Compute:
- derived_from: tosca.nodes.Root
- properties:
- configurable_properties:
- type: map
- required: true
- status: SUPPORTED
- entry_schema:
- type: tosca.datatypes.nfv.VnfcConfigurableProperties
- name:
- type: string
- required: true
- status: SUPPORTED
- nfvi_constraints:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
- type: string
- descrption:
- type: string
- required: true
- status: SUPPORTED
- boot_order:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
- type: string
- attributes:
- private_address:
- type: string
- status: SUPPORTED
- public_address:
- type: string
- status: SUPPORTED
- networks:
- type: string
- status: SUPPORTED
- ports:
- type: string
- status: SUPPORTED
- requirements:
- - local_storage:
- capability: tosca.capabilities.Attachment
- occurrences:
- - 0
- - UNBOUNDED
- - virtual_storage:
- capability: tosca.capabilities.nfv.VirtualStorage
- occurrences:
- - 0
- - UNBOUNDED
- capabilities:
- scalable:
- type: tosca.capabilities.Scalable
- occurrences:
- - 1
- - UNBOUNDED
- virtual_compute:
- type: tosca.capabilities.nfv.VirtualCompute
- occurrences:
- - 1
- - UNBOUNDED
- endpoint:
- type: tosca.capabilities.Endpoint.Admin
- occurrences:
- - 1
- - UNBOUNDED
- os:
- type: tosca.capabilities.OperatingSystem
- occurrences:
- - 1
- - UNBOUNDED
- virtual_binding:
- type: tosca.capabilities.nfv.VirtualBindable
- occurrences:
- - 1
- - UNBOUNDED
- host:
- type: tosca.capabilities.Container
- occurrences:
- - 1
- - UNBOUNDED
- binding:
- type: tosca.capabilities.network.Bindable
- occurrences:
- - 1
- - UNBOUNDED
- monitoring_parameter:
- type: tosca.capabilities.nfv.Metric
- occurrences:
- - 1
- - UNBOUNDED \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.zip b/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.zip
deleted file mode 100644
index 311062658f..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCompute/vduCompute.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.json b/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.json
deleted file mode 100644
index f8d2254472..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "vduCpd.yml",
- "contactId": "jh0003",
- "name": "VDU Cpd",
- "description": "VDU Cpd",
- "resourceIconPath": "port",
- "resourceType": "CP",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Network Elements"
- }]
- }],
- "tags": ["VDU Cpd"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml b/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml
deleted file mode 100644
index 673e923182..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-#NOT SPEC COMPLAINT!!!!!!!!!!!!!!!!!!!!!!
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.VduCpd:
- derived_from: tosca.nodes.Root
- properties:
- virtual_network_interface_requirements:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
- type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
- role:
- type: string
- required: false
- status: SUPPORTED
- constraints:
- - valid_values:
- - root
- - leaf
- bitrate_requirement:
- type: integer
- required: false
- status: SUPPORTED
- description:
- type: string
- required: false
- status: SUPPORTED
- layer_protocol:
- type: string
- required: true
- status: SUPPORTED
- constraints:
- - valid_values:
- - ethernet
- - mpls
- - odu2
- - ipv4
- - ipv6
- - pseudo_wire
- address_data:
- type: list
- required: false
- status: SUPPORTED
- entry_schema:
- type: tosca.datatype.nfv.AddressData
- requirements:
- - virtual_binding:
- capability: tosca.capabilities.nfv.VirtualBindable
- occurrences:
- - 0
- - UNBOUNDED
- - virtual_link:
- capability: tosca.capabilities.nfv.VirtualLinkable
- occurrences:
- - 0
- - UNBOUNDED \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.zip b/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.zip
deleted file mode 100644
index e1bb32dd23..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.json b/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.json
deleted file mode 100644
index 7dab2ece94..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "payloadName": "vduVirtualStorage.yml",
- "contactId": "jh0003",
- "name": "VDU VirtualStorage",
- "description": "VDU VirtualStorage",
- "resourceIconPath": "objectStorage",
- "resourceType": "VFC",
- "categories": [{
- "name": "Generic",
- "subcategories": [{
- "name": "Infrastructure"
- }]
- }],
- "tags": ["VDU VirtualStorage"]
-} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.yml b/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.yml
deleted file mode 100644
index 5d22e1e6d4..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.VDU.VirtualStorage:
- derived_from: tosca.nodes.Root
- properties:
- id:
- type: string
- required: true
- status: SUPPORTED
- size_of_storage:
- type: string
- required: true
- status: SUPPORTED
- rdma_enabled:
- type: boolean
- required: false
- status: SUPPORTED
- type_of_storage:
- type: string
- required: true
- status: SUPPORTED
- capabilities:
- virtual_storage:
- type: tosca.capabilities.nfv.VirtualStorage
- occurrences:
- - 1
- - UNBOUNDED
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.zip b/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.zip
deleted file mode 100644
index fb92ab45d9..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduVirtualStorage/vduVirtualStorage.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml b/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml
deleted file mode 100644
index ecb5e0bb52..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-node_types:
- tosca.nodes.nfv.VnfVirtualLinkDesc:
- derived_from: tosca.nodes.Root
- properties:
- connectivity_type:
- type: tosca.datatypes.nfv.ConnectivityType
- required: true
- description:
- type: string
- required: false
- test_access:
- type: list
- entry_schema:
- type: string
- required: false
- vl_flavours:
- type: map
- entry_schema:
- type: tosca.datatypes.nfv.VlFlavour
- required: true
- capabilities:
- #monitoring_parameters:
- # modeled as ad hoc (named) capabilities in node template
- virtual_linkable:
- type: tosca.capabilities.nfv.VirtualLinkable \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.zip b/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.zip
deleted file mode 100644
index 3d29909033..0000000000
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vnfVirtualLinkDesc/vnfVirtualLinkDesc.zip
+++ /dev/null
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml b/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml
index 36325ba8e6..fa4d5b7671 100644
--- a/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.yml
@@ -111,4 +111,15 @@
required: false
org.openecomp.relationships.ForwardsTo:
derived_from: tosca.relationships.Root
- valid_target_types: [org.openecomp.capabilities.Forwarder] \ No newline at end of file
+ valid_target_types:
+ - org.openecomp.capabilities.Forwarder
+
+ tosca.relationships.nfv.VirtualBindsTo:
+ derived_from: tosca.relationships.DependsOn
+ valid_target_types:
+ - tosca.capabilities.nfv.VirtualBindable
+
+ tosca.relationships.nfv.VirtualLinksTo:
+ derived_from: tosca.relationships.DependsOn
+ valid_target_types:
+ - tosca.capabilities.nfv.VirtualLinkable \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.zip b/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.zip
index d8eb62d4d3..bc709874a0 100644
--- a/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.zip
+++ b/catalog-be/src/main/resources/import/tosca/relationship-types/relationshipTypes.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/scripts/import/tosca/importNfvTypes.py b/catalog-be/src/main/resources/scripts/import/tosca/importNfvTypes.py
index 019067b849..8e63d86140 100644
--- a/catalog-be/src/main/resources/scripts/import/tosca/importNfvTypes.py
+++ b/catalog-be/src/main/resources/scripts/import/tosca/importNfvTypes.py
@@ -22,21 +22,24 @@ import importCommon
def importNfvTypes(scheme, beHost, bePort, adminUser, fileDir, updateversion):
nfvTypes = [ "underlayVpn",
- "overlayTunnel",
- "genericNeutronNet",
- "allottedResource",
- "extImageFile",
- "extLocalStorage",
- "extZteCP",
- "extZteVDU",
- "extZteVL",
- "NSD",
- "VDU",
- "vduCompute",
- "vduCpd",
- "vduVirtualStorage",
- "vnfVirtualLinkDesc"
- ]
+ "overlayTunnel",
+ "genericNeutronNet",
+ "allottedResource",
+ "extImageFile",
+ "extLocalStorage",
+ "extZteCP",
+ "extZteVDU",
+ "extZteVL",
+ "NSD",
+ "VDU",
+ "vduCompute",
+ "Cp",
+ "vduVirtualStorage",
+ "vnfVirtualLinkDesc",
+ "vnfVirtualLink",
+ "vduCp",
+ "VNF"
+ ]
responseCodes = [200, 201]