Commit 0ffbb71a authored by Mirko Cano Soveri's avatar Mirko Cano Soveri
Browse files

Merge branch 'CoslaNRM_baseline_after_June_2020_SA_plenary' into 'master'

Cosla NRM baseline after June 2020 SA plenary

See merge request sa5/data-models!47
parents d9cef7ea 28339a97
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,10 @@ The links below will open the Swagger Editor/UI and auto-load the OpenAPI YAML f
([Editor](https://forge.3gpp.org/swagger/tools/loader.html?yaml=OpenAPI/sliceNrm.yaml))
([UI](https://forge.3gpp.org/swagger/tools/loader.html?action=ui&yaml=OpenAPI/sliceNrm.yaml))

* Communication Service Assurance NRM (TS 28.536)
([Editor](https://forge.3gpp.org/swagger/tools/loader.html?yaml=OpenAPI/coslaNrm.yaml))
([UI](https://forge.3gpp.org/swagger/tools/loader.html?action=ui&yaml=OpenAPI/coslaNrm.yaml))

## Management Services (MnS)

* Provisioning MnS (TS 28.532)

OpenAPI/coslaNrm.yaml

0 → 100644
+131 −0
Original line number Diff line number Diff line
openapi: 3.0.3

info:
  title: coslaNrm
  version: 16.4.0
  description: 
    OAS 3.0.1 specification of the Cosla NRM
    © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.

externalDocs:
  description: 3GPP TS 28.536 V16.4.0; 5G NRM, Slice NRM
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.536/

paths: {}

components:

  schemas:

#------------ Type definitions ---------------------------------------------------

    ControlLoopLifeCyclePhase:
      anyOf: 
        - type: string
          enum:
            - PREPARATION
            - COMMISSIONING
            - OPERATION
            - DECOMMISSIONING
        - type: string

    TimeUnit:
      anyOf:
        - type: string
          enum:
            - SECOND
            - MINUTE
            - HOUR
            - DAY
        - type: string

    OperationalState:
      anyOf:
        - type: string
          enum: 
            - ENABLED
            - DISABLED
        - type: string

    AdministrativeState:
      anyOf:
        - type: string
          enum: 
            - LOCKED
            - SHUTTING_DOWN
            - UNLOCKED
        - type: string

    ObservationTime:
      type: integer

    ObservationTimePeriod:
      type: object
      
    AssuranceControlLoopGoal:
      type: object
      
    AssuranceGoalStatus:
      type: object
      
    AssuranceGoalStatusObserved:
      type: object
    
    AssuranceGoalStatusPredicted:
      type: object

#-------- Definition of concrete IOCs --------------------------------------------

    AssuranceControlLoop-Single:
      allOf:
        - $ref: 'genericNrm.yaml#/components/schemas/SubNetwork-Attr'
        - type: object
          properties:
            operationalState:
              $ref: '#/components/schemas/OperationalState'
            administrativeState:
              $ref: '#/components/schemas/AdministrativeState'
            controlLoopLifeCyclePhase:
              $ref: '#/components/schemas/ControlLoopLifeCyclePhase'
            observationTimePeriod:
              allOf:
                - $ref: '#/components/schemas/ObservationTimePeriod'
                - type: object
                  properties:
                    observationTime:
                      $ref: '#/components/schemas/ObservationTime'
                    timeUnit:
                      $ref: '#/components/schemas/TimeUnit'    
            AssuranceGoalStatus:
              allOf:
                - $ref: '#/components/schemas/AssuranceGoalStatus'
                - type: object
                  properties:
                    assuranceGoalStatusObserved:
                      $ref: '#/components/schemas/AssuranceGoalStatusObserved'
                    assuranceGoalStatusPredicted:
                      $ref: '#/components/schemas/AssuranceGoalStatusPredicted'
            managedEntity-Multiple:
              $ref: '#/components/schemas/ManagedEntity-Multiple'
            assuranceControlLoopGoal:
              $ref: '#/components/schemas/AssuranceControlLoopGoal'

    ManagedEntity-Single:
      oneOf:
        - $ref: 'sliceNrm.yaml#/components/schemas/NetworkSlice'
        - $ref: 'sliceNrm.yaml#/components/schemas/NetworkSliceSubnet'
        - $ref: 'genericNrm.yaml#/components/schemas/ManagedFunction-Attr'
        - $ref: 'genericNrm.yaml#/components/schemas/ManagedElement-Attr'
          
#-------- Definition of JSON arrays for name-contained IOCs ----------------------
                                
    AssuranceControlLoop-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/AssuranceControlLoop-Single'                 

    ManagedEntity-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ManagedEntity-Single'