Adding ETSI NS types
[sdc.git] / catalog-be / src / main / resources / import / tosca / data-types / dataTypes.yml
index 76016bf..50da026 100644 (file)
@@ -2258,6 +2258,70 @@ tosca.datatypes.nfv.SwImageData:
       required: false
       entry_schema:
         type: string
+tosca.datatypes.nfv.NsVirtualLinkQos:
+  derived_from: tosca.datatypes.nfv.Qos
+  description: describes QoS data for a given VL used in a VNF deployment flavour
+  properties:
+    priority:
+      type: integer
+      constraints:
+        - greater_or_equal: 0
+      description: Specifies the priority level in case of congestion on the underlying physical links
+      required: false
+tosca.datatypes.nfv.ServiceAvailability:
+  derived_from: tosca.datatypes.Root
+  description: service availability
+  properties:
+    level:
+      type: string
+      description: service availability levels
+      required: true
+      constraints:
+        - valid_values: [ level1, level2, level3 ]
+tosca.datatypes.nfv.NsVlProfile:
+  derived_from: tosca.datatypes.Root
+  description: Describes additional instantiation data for a given NsVirtualLink used in a specific NS deployment flavour.
+  properties:
+    max_bitrate_requirements:
+      type: tosca.datatypes.nfv.LinkBitrateRequirements
+      description: Specifies the maximum bitrate requirements for a VL instantiated according to this profile.
+      required: true
+    min_bitrate_requirements:
+      type: tosca.datatypes.nfv.LinkBitrateRequirements
+      description: Specifies the minimum bitrate requirements for a VL instantiated according to this profile.
+      required: true
+    qos:
+      type: tosca.datatypes.nfv.NsVirtualLinkQos
+      description: Specifies the QoS requirements of a VL instantiated according to this profile.
+      required: false
+    service_availability:
+      type: tosca.datatypes.nfv.ServiceAvailability
+      description: Network service virtual link service availability levels, as described in ETSI GS NFV-REL 001
+      required: false 
+tosca.datatypes.nfv.NsProfile:
+  derived_from: tosca.datatypes.Root
+  description: describes a profile for instantiating NSs of a particular NS DF according to a specific NSD and NS DF.
+  properties: 
+    ns_instantiation_level:
+      type: string
+      description: Identifier of the instantiation level of the NS DF to be used for instantiation. If not present, the default instantiation level as declared in the NSD shall be used.
+      required: false
+    min_number_of_instances:
+      type: integer
+      description: Minimum number of instances of the NS based on this NSD that is permitted to exist for this NsProfile.
+      required: true
+      constraints:
+        - greater_or_equal: 0
+    max_number_of_instances:
+      type: integer
+      description: Maximum number of instances of the NS based on this NSD that is permitted to exist for this NsProfile.
+      required: true
+      constraints:
+        - greater_or_equal: 0
+    flavour_id:
+      type: string
+      description: Identifies the applicable network service DF within the scope of the NSD.
+      required: true
 
 ### Data types used by Policy PM Mapper for closed loop ###