Update PMSH Data Types
[sdc.git] / catalog-be / src / main / resources / import / tosca / data-types / dataTypes.yml
index f1dab7d..a07ddc1 100644 (file)
@@ -2295,6 +2295,130 @@ onap.datatypes.monitoring.filters:
       entry_schema:
         type: string
 
+### Data types used by Policy PM Subscription Handler for closed loop ###
+
+onap.datatypes.monitoring.subscription:
+  derived_from: tosca.datatypes.Root
+  properties:
+    subscriptionName:
+      type: string
+      description: Name of the subscription
+      required: true
+    administrativeState:
+      type: string
+      description: State of the subscription
+      required: true
+      constraints:
+        - valid_values:
+            - LOCKED
+            - UNLOCKED
+    fileBasedGP:
+      type: integer
+      description: File based granularity period
+      required: true
+    fileLocation:
+      type: string
+      description: ROP file location
+      required: true
+    nfTypeModelInvariantId:
+      type: string
+      description: Network function invariant ID
+      required: true
+    nfFilter:
+      type: map
+      description: Network function filter
+      required: true
+      entry_schema:
+        type: onap.datatypes.monitoring.nfFilter
+    measurementGroups:
+      type: list
+      description: Measurement Groups
+      required: true
+      entry_schema:
+        type: onap.datatypes.monitoring.measurementGroups
+
+onap.datatypes.monitoring.nfFilter:
+  derived_from: tosca.datatypes.Root
+  properties:
+    nfNames:
+      type: list
+      description: List of network functions
+      required: true
+      default: []
+      entry_schema:
+        type: string
+    swVersions:
+      type: list
+      description: List of software versions
+      required: true
+      default: []
+      entry_schema:
+        type: string
+
+onap.datatypes.monitoring.measurementGroups:
+  derived_from: tosca.datatypes.Root
+  properties:
+    measurementGroup:
+      type: map
+      description: Measurement Group
+      required: true
+      entry_schema:
+        type: onap.datatypes.monitoring.measurementGroup
+
+onap.datatypes.monitoring.MeasurementGroup:
+  derived_from: tosca.datatypes.Root
+  properties:
+    measurementTypes:
+      type: list
+      description: List of measurement types
+      required: true
+      default: []
+      entry_schema:
+        type: onap.datatypes.monitoring.measurementTypes
+    managedObjectDNsBasic:
+      type: list
+      description: List of managed object distinguished names
+      required: true
+      default: []
+      entry_schema:
+        type: onap.datatypes.monitoring.managedObjectDNSBasics
+
+onap.datatypes.monitoring.measurementTypes:
+  derived_from: tosca.datatypes.Root
+  properties:
+    measurementType:
+      type: map
+      description: Measurement type object
+      required: true
+      entry_schema:
+        type: onap.dataypes.monitoring.measurementType
+
+onap.datatypes.monitoring.measurementType:
+  derived_from: tosca.datatypes.Root
+  properties:
+    measurementType:
+      type: string
+      description: Measurement type
+      required: true
+
+onap.datatypes.monitoring.managedObjectDNsBasics:
+  derived_from: tosca.datatypes.Root
+  properties:
+    managedObjectDNsBasic:
+      type: map
+      description: Managed object distinguished name object
+      required: true
+      entry_schema:
+        type: onap.dataypes.monitoring.managedObjectDNsBasic
+
+onap.datatypes.monitoring.managedObjectDNsBasic:
+  derived_from: tosca.datatypes.Root
+  properties:
+    DN:
+      type: string
+      description: Managed object distinguished name
+      required: true
+
 ### Data types used by Policy TCA model for closed loop ###
 
 onap.datatypes.monitoring.metricsPerEventName:
@@ -2330,6 +2454,7 @@ onap.datatypes.monitoring.metricsPerEventName:
         type: onap.datatypes.monitoring.thresholds
       required: true
       type: list
+
 onap.datatypes.monitoring.tca_policy:
   derived_from: tosca.datatypes.Root
   properties:
@@ -2346,6 +2471,7 @@ onap.datatypes.monitoring.tca_policy:
         type: onap.datatypes.monitoring.metricsPerEventName
       required: true
       type: list
+
 onap.datatypes.monitoring.thresholds:
   derived_from: tosca.datatypes.Root
   properties:
@@ -2549,3 +2675,152 @@ onap.datatypes.monitoring.rcc_event_details:
       description: The user specific data
       required: false
 
+##### Partner service domain datatypes ######
+
+onap.datatypes.partner.access_details:
+  derived_from: tosca.datatypes.Root
+  properties:
+    addressId:
+      type: string
+      description: id of the site
+      required: true
+    dsl_stability_profile:
+      type: string
+      description: profile of stability
+      required: false
+      default: standard
+      constraints:
+        - valid_values:
+            - standard
+            - stable
+    partner_priorty_assist:
+      type: boolean
+      description: assistance flag
+      required: false
+      default: true
+    battery_backup:
+      type: boolean
+      description: backup requirement flag
+      required: false
+      default: true
+    central_splitter:
+      type: boolean
+      description: applicable to FTTN service
+      required: false
+      default: true
+    service_restoration_sla:
+      type: string
+      description: This is the service restoration SLA from an partner perspective.
+      required: false
+      default: Standard
+      constraints:
+        - valid_values:
+            - Standard
+            - Enhanced
+
+onap.datatypes.partner.bandwidth:
+  derived_from: tosca.datatypes.Root
+  properties:
+    bandwidth_type:
+      type: string
+      description: type of bandwidth
+      required: true
+      default: standard
+      constraints:
+        - valid_values:
+            - standard
+            - guaranteed
+    downstream:
+      type: string
+      description: down speed
+      required: true
+      constraints:
+        - valid_values:
+            - 128
+            - 512
+            - 1
+            - 2
+            - 5
+            - 10
+            - 20
+            - 25
+            - 30
+            - 40
+            - 50
+            - 100
+            - 250
+            - 500
+            - 1000
+    upstream:
+      type: string
+      description: up speed
+      required: false
+      constraints:
+        - valid_values:
+            - 128
+            - 512
+            - 1
+            - 2
+            - 5
+            - 10
+            - 20
+            - 25
+            - 30
+            - 40
+            - 50
+            - 100
+            - 250
+            - 500
+            - 1000
+    units:
+      type: string
+      description: unit of speed
+      required: true
+      constraints:
+        - valid_values:
+            - k
+            - M
+    service_alias:
+      type: string
+      description: 16 digit id
+      required: false
+
+onap.datatypes.partner.service_details:
+  derived_from: tosca.datatypes.Root
+  properties:
+    bandwidth:
+      type: onap.datatypes.partner.bandwidth
+      description: bandwidth details for access
+      required: false
+    line_of_business:
+      type: string
+      description: LOB
+      required: false
+      constraints:
+        - valid_values:
+            - CONSUMER
+            - WHOLESALE
+            - BUSINESS
+    access_details:
+      type: onap.datatypes.partner.access_details
+      required: false
+
+onap.datatypes.partner.sppartner_details:
+  derived_from: tosca.datatypes.Root
+  properties:
+    partner_url:
+      type: string
+      description: Partner URL to access and provision the service
+      required: false
+    uuid:
+      type: string
+      description: UUID of the service definition defined in the partner catalog
+      required: false
+    auth_user:
+      type: string
+      description: Authentication  details to access the Service URL
+      required: false
+    auth_password:
+      type: string
+      description: Authentication  details to access the Service URL
+      required: false