Krzysztof Kuzmicki | 11e395a | 2021-10-05 14:10:35 +0200 | [diff] [blame^] | 1 | openapi: 3.0.3 |
| 2 | |
| 3 | info: |
| 4 | title: coslaNrm |
| 5 | version: 16.4.0 |
| 6 | description: |
| 7 | OAS 3.0.1 specification of the Cosla NRM |
| 8 | © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). |
| 9 | All rights reserved. |
| 10 | |
| 11 | externalDocs: |
| 12 | description: 3GPP TS 28.536 V16.4.0; 5G NRM, Slice NRM |
| 13 | url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.536/ |
| 14 | |
| 15 | paths: {} |
| 16 | |
| 17 | components: |
| 18 | |
| 19 | schemas: |
| 20 | |
| 21 | #------------ Type definitions --------------------------------------------------- |
| 22 | |
| 23 | ControlLoopLifeCyclePhase: |
| 24 | anyOf: |
| 25 | - type: string |
| 26 | enum: |
| 27 | - PREPARATION |
| 28 | - COMMISSIONING |
| 29 | - OPERATION |
| 30 | - DECOMMISSIONING |
| 31 | - type: string |
| 32 | |
| 33 | TimeUnit: |
| 34 | anyOf: |
| 35 | - type: string |
| 36 | enum: |
| 37 | - SECOND |
| 38 | - MINUTE |
| 39 | - HOUR |
| 40 | - DAY |
| 41 | - type: string |
| 42 | |
| 43 | OperationalState: |
| 44 | anyOf: |
| 45 | - type: string |
| 46 | enum: |
| 47 | - ENABLED |
| 48 | - DISABLED |
| 49 | - type: string |
| 50 | |
| 51 | AdministrativeState: |
| 52 | anyOf: |
| 53 | - type: string |
| 54 | enum: |
| 55 | - LOCKED |
| 56 | - SHUTTING_DOWN |
| 57 | - UNLOCKED |
| 58 | - type: string |
| 59 | |
| 60 | ObservationTime: |
| 61 | type: integer |
| 62 | |
| 63 | ObservationTimePeriod: |
| 64 | type: object |
| 65 | |
| 66 | AssuranceControlLoopGoal: |
| 67 | type: object |
| 68 | |
| 69 | AssuranceGoalStatus: |
| 70 | type: object |
| 71 | |
| 72 | AssuranceGoalStatusObserved: |
| 73 | type: object |
| 74 | |
| 75 | AssuranceGoalStatusPredicted: |
| 76 | type: object |
| 77 | |
| 78 | #-------- Definition of concrete IOCs -------------------------------------------- |
| 79 | |
| 80 | AssuranceControlLoop-Single: |
| 81 | allOf: |
| 82 | - $ref: 'genericNrm.yaml#/components/schemas/SubNetwork-Attr' |
| 83 | - type: object |
| 84 | properties: |
| 85 | operationalState: |
| 86 | $ref: '#/components/schemas/OperationalState' |
| 87 | administrativeState: |
| 88 | $ref: '#/components/schemas/AdministrativeState' |
| 89 | controlLoopLifeCyclePhase: |
| 90 | $ref: '#/components/schemas/ControlLoopLifeCyclePhase' |
| 91 | observationTimePeriod: |
| 92 | allOf: |
| 93 | - $ref: '#/components/schemas/ObservationTimePeriod' |
| 94 | - type: object |
| 95 | properties: |
| 96 | observationTime: |
| 97 | $ref: '#/components/schemas/ObservationTime' |
| 98 | timeUnit: |
| 99 | $ref: '#/components/schemas/TimeUnit' |
| 100 | AssuranceGoalStatus: |
| 101 | allOf: |
| 102 | - $ref: '#/components/schemas/AssuranceGoalStatus' |
| 103 | - type: object |
| 104 | properties: |
| 105 | assuranceGoalStatusObserved: |
| 106 | $ref: '#/components/schemas/AssuranceGoalStatusObserved' |
| 107 | assuranceGoalStatusPredicted: |
| 108 | $ref: '#/components/schemas/AssuranceGoalStatusPredicted' |
| 109 | managedEntity-Multiple: |
| 110 | $ref: '#/components/schemas/ManagedEntity-Multiple' |
| 111 | assuranceControlLoopGoal: |
| 112 | $ref: '#/components/schemas/AssuranceControlLoopGoal' |
| 113 | |
| 114 | ManagedEntity-Single: |
| 115 | oneOf: |
| 116 | - $ref: 'sliceNrm.yaml#/components/schemas/NetworkSlice' |
| 117 | - $ref: 'sliceNrm.yaml#/components/schemas/NetworkSliceSubnet' |
| 118 | - $ref: 'genericNrm.yaml#/components/schemas/ManagedFunction-Attr' |
| 119 | - $ref: 'genericNrm.yaml#/components/schemas/ManagedElement-Attr' |
| 120 | |
| 121 | #-------- Definition of JSON arrays for name-contained IOCs ---------------------- |
| 122 | |
| 123 | AssuranceControlLoop-Multiple: |
| 124 | type: array |
| 125 | items: |
| 126 | $ref: '#/components/schemas/AssuranceControlLoop-Single' |
| 127 | |
| 128 | ManagedEntity-Multiple: |
| 129 | type: array |
| 130 | items: |
| 131 | $ref: '#/components/schemas/ManagedEntity-Single' |