From 3ac39f655d1b1e72a0f840af6792c489673e457a Mon Sep 17 00:00:00 2001 From: ruiyue Date: Thu, 26 May 2022 03:52:21 +0000 Subject: [PATCH 1/3] Update sliceNrm.yaml --- OpenAPI/sliceNrm.yaml | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/OpenAPI/sliceNrm.yaml b/OpenAPI/sliceNrm.yaml index e89b0fb98..c9b90cf7e 100755 --- a/OpenAPI/sliceNrm.yaml +++ b/OpenAPI/sliceNrm.yaml @@ -582,6 +582,45 @@ components: type: array items: $ref: '#/components/schemas/SliceProfile' + FeasibilityResult: + description: -> + An attribute which specifies the feasibility check result for the feasibility check job. + type: string + enum: + - FEASIBLE + - INFEASIBLE + IUnFeasibleReason: + description: -> + An attribute that specifies the additional reason information if the feasibility check result is iunfeasible.The detailed ENUM value is FFS. + type: string + RecommendedRequirements: + description: -> + An attribute that specifies the recommended network slicing related requirements (i.e. ServiceProfile and SliceProfile information) which can be supported by the MnS producer.. + type: string + ResourceReservation: + description: -> + An attribute represents MnS consumer's requirements for resource reservation. + type: boolean + RequestedReservationExpiration: + description: -> + An attribute which specifes MnS consuner's requirements for the validity period of the resource reservation. + type: string + ResourceReservationStatus: + description: -> + An attribute which specifies the resource reservation result for the feasibility check job. + type: string + enum: + - RESERVED + - UNRESERVED + - USED + ReservationExpiration: + description: -> + An attribute which specifes the actual validity period of the resource reservation.. + type: string + ReservationFailureReason: + description: -> + An attribute that specifies the additional reason information if the reservation is failed. + type: string @@ -607,6 +646,8 @@ components: $ref: '#/components/schemas/EP_Transport-Multiple' NetworkSliceSubnetProviderCapabilities: $ref: '#/components/schemas/NetworkSliceSubnetProviderCapabilities-Multiple' + FeasibilityCheckJob: + $ref: '#/components/schemas/FeasibilityCheckJob-Multiple' NetworkSlice-Single: @@ -698,6 +739,37 @@ components: type: array items: type: string + FeasibilityCheckJob-Single: + allOf: + - $ref: 'genericNrm.yaml#/components/schemas/Top' + - type: object + properties: + attributes: + type: object + properties: + profile: + oneOf: + - $ref: '#/components/schemas/SliceProfile' + - $ref: '#/components/schemas/ServiceProfile' + resourceReservation: + $ref: '#/components/schemas/ResourceReservationIndicator' + requestedReservationExpiration: + $ref: '#/components/schemas/RequestedReservationExpiration' + processMonitor: + $ref: 'genericNrm.yaml#/components/schemas/ProcessMonitor' + feasibilityResult: + $ref: '#/components/schemas/FeasibilityResult' + inFeasibleReason: + $ref: '#/components/schemas/InFeasibleReason' + resourceReservationStatus: + $ref: '#/components/schemas/ResourceReservationStatus' + reservationFailureReason: + $ref: '#/components/schemas/ReservationFailureReason' + + reservationExpiration: + $ref: '#/components/schemas/ReservationExpiration' + recommendedRequirements: + $ref: '#/components/schemas/RecommendedRequirements' #-------- Definition of JSON arrays for name-contained IOCs ---------------------- @@ -725,6 +797,10 @@ components: type: array items: $ref: '#/components/schemas/NetworkSliceSubnetProviderCapabilities-Single' + FeasibilityCheckJob-Multiple: + type: array + items: + $ref: '#/components/schemas/FeasibilityCheckJob-Single' #------------ Definitions in TS 28.541 for TS 28.532 ----------------------------- @@ -735,3 +811,4 @@ components: - $ref: '#/components/schemas/NetworkSliceSubnet-Single' - $ref: '#/components/schemas/EP_Transport-Single' - $ref: '#/components/schemas/NetworkSliceSubnetProviderCapabilities-Single' + - $ref: '#/components/schemas/FeasibilityCheckJob-Single' -- GitLab From 9a14f8235acc23295ee419ec3b2657996037a1ed Mon Sep 17 00:00:00 2001 From: ruiyue Date: Thu, 26 May 2022 04:02:43 +0000 Subject: [PATCH 2/3] Update sliceNrm.yaml --- OpenAPI/sliceNrm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAPI/sliceNrm.yaml b/OpenAPI/sliceNrm.yaml index c9b90cf7e..b44258a2e 100755 --- a/OpenAPI/sliceNrm.yaml +++ b/OpenAPI/sliceNrm.yaml @@ -752,7 +752,7 @@ components: - $ref: '#/components/schemas/SliceProfile' - $ref: '#/components/schemas/ServiceProfile' resourceReservation: - $ref: '#/components/schemas/ResourceReservationIndicator' + $ref: '#/components/schemas/ResourceReservation' requestedReservationExpiration: $ref: '#/components/schemas/RequestedReservationExpiration' processMonitor: -- GitLab From 5ca1b0ef8eca6d8379311d5d6c8e8e65711e6b1f Mon Sep 17 00:00:00 2001 From: ruiyue Date: Thu, 26 May 2022 04:09:11 +0000 Subject: [PATCH 3/3] Update sliceNrm.yaml --- OpenAPI/sliceNrm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAPI/sliceNrm.yaml b/OpenAPI/sliceNrm.yaml index b44258a2e..8ba16af16 100755 --- a/OpenAPI/sliceNrm.yaml +++ b/OpenAPI/sliceNrm.yaml @@ -589,9 +589,9 @@ components: enum: - FEASIBLE - INFEASIBLE - IUnFeasibleReason: + InFeasibleReason: description: -> - An attribute that specifies the additional reason information if the feasibility check result is iunfeasible.The detailed ENUM value is FFS. + An attribute that specifies the additional reason information if the feasibility check result is infeasible.The detailed ENUM value is FFS. type: string RecommendedRequirements: description: -> -- GitLab