From a0a0af06b43d30f837a8865e924f8587fb42c3f3 Mon Sep 17 00:00:00 2001 From: Amichai Date: Thu, 9 Jul 2020 11:28:36 +0000 Subject: [PATCH] [RIC-433] Add DeleteEnb to Swagger Change-Id: I86460a1a12a7950e9197c278b97c83edaf83fc3d Signed-off-by: Amichai --- Swagger/E2Manager_API.yaml | 76 ++++++++++++++++++++++++++- releases/container-release-ric-plt-e2mgr.yaml | 4 +- 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/Swagger/E2Manager_API.yaml b/Swagger/E2Manager_API.yaml index 285f2d8..ab9ae54 100644 --- a/Swagger/E2Manager_API.yaml +++ b/Swagger/E2Manager_API.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: E2 Manager Service description: E2 Manager Service APIs - version: 5.2.9 + version: 5.2.10 servers: - url: 'http://{apiRoot}/v1' variables: @@ -116,7 +116,44 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - + '/nodeb/enb/{ranName}': + delete: + tags: + - nodeb + summary: Delete ENB + operationId: DeleteEnb + parameters: + - name: ranName + in: path + required: true + description: Name of RAN to delete + schema: + type: string + responses: + '200': + description: Successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/DeleteEnbResponse' + '400': + description: The specified RAN is not ENB + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '404': + description: A RAN with the specified name was not found + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal Error + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' /nodeb/shutdown: put: tags: @@ -277,6 +314,41 @@ components: additionalProperties: false type: object + DeleteEnbResponse: + properties: + connectionStatus: + oneOf: + - type: string + - type: integer + failureType: + oneOf: + - type: string + - type: integer + globalNbId: + properties: + nbId: + type: string + plmnId: + type: string + additionalProperties: false + type: object + enb: + $ref: '#/components/schemas/Enb' + ip: + type: string + nodeType: + oneOf: + - type: string + - type: integer + port: + type: integer + ranName: + type: string + setupFailure: + $ref: '#/components/schemas/SetupFailure' + additionalProperties: false + type: object + UpdateGnbRequest: type: object required: diff --git a/releases/container-release-ric-plt-e2mgr.yaml b/releases/container-release-ric-plt-e2mgr.yaml index 3738bcd..cf88700 100644 --- a/releases/container-release-ric-plt-e2mgr.yaml +++ b/releases/container-release-ric-plt-e2mgr.yaml @@ -1,10 +1,10 @@ --- distribution_type: container -container_release_tag: 5.2.9 +container_release_tag: 5.2.10 container_pull_registry: nexus3.o-ran-sc.org:10004 container_push_registry: nexus3.o-ran-sc.org:10002 project: ric-plt/e2mgr ref: bc966a778e96ab13590722c140489e8ef053a6f0 containers: - name: ric-plt-e2mgr - version: 5.2.9 + version: 5.2.10 -- 2.16.6