X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Swagger%2FE2Manager_API.yaml;h=7ee4a302f73c9e5ef79aa925dfa8907c786865da;hb=fe8d481d7f3e8d4b889ee3dcd995984eeb64cc6e;hp=536eadd4aa65e669a246c748de33debe0d0a043c;hpb=a26ec7357a7d884d990703eefd3f85480c1d22d6;p=ric-plt%2Fe2mgr.git diff --git a/Swagger/E2Manager_API.yaml b/Swagger/E2Manager_API.yaml index 536eadd..7ee4a30 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.12 + version: 5.4.5 servers: - url: 'http://{apiRoot}/v1' variables: @@ -28,7 +28,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetNodebResponse' + $ref: '#/components/schemas/NodebResponse' '400': description: The specified RAN name is invalid content: @@ -47,11 +47,43 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' + /nodeb/enb: + post: + summary: Add eNB + tags: + - nodeb + operationId: AddEnb + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddEnbRequest' + required: true + responses: + '200': + description: Successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/NodebResponse' + '400': + description: Invalid input + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal error + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '/nodeb/enb/{ranName}': delete: tags: - nodeb - summary: Delete ENB + summary: Delete eNB operationId: DeleteEnb parameters: - name: ranName @@ -66,7 +98,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteEnbResponse' + $ref: '#/components/schemas/NodebResponse' '400': description: The specified RAN is not ENB content: @@ -88,7 +120,7 @@ paths: put: tags: - nodeb - summary: Update ENB + summary: Update eNB operationId: UpdateEnb parameters: - name: ranName @@ -122,9 +154,9 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - '/nodeb/{ranName}/update': + '/nodeb/gnb/{ranName}': put: - summary: Update GNB + summary: Update gNB Cells tags: - nodeb operationId: UpdateGnb @@ -147,7 +179,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateGnbResponse' + $ref: '#/components/schemas/NodebResponse' '400': description: Invalid input content: @@ -180,7 +212,7 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - /nodeb/ids: + /nodeb/states: get: tags: - nodeb @@ -260,37 +292,6 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - /nodeb/enb: - post: - summary: Add ENB - tags: - - nodeb - operationId: AddEnb - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddEnbRequest' - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/AddEnbResponse' - '400': - description: Invalid input - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal error - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ErrorResponse' components: schemas: UpdateGnbRequest: @@ -301,40 +302,6 @@ components: servedNrCells: $ref: '#/components/schemas/ServedNrCells' additionalProperties: false - UpdateGnbResponse: - 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 - gnb: - $ref: '#/components/schemas/Gnb' - ip: - type: string - nodeType: - oneOf: - - type: string - - type: integer - port: - type: integer - ranName: - type: string - setupFailure: - $ref: '#/components/schemas/SetupFailure' - additionalProperties: false - type: object UpdateEnbRequest: type: object required: @@ -362,41 +329,8 @@ components: type: object inventoryName: type: string - type: object - GetNodebResponse: - properties: connectionStatus: - oneOf: - - type: string - - type: integer - enb: - $ref: '#/components/schemas/Enb' - failureType: - oneOf: - - type: string - - type: integer - globalNbId: - properties: - nbId: - type: string - plmnId: - type: string - type: object - gnb: - $ref: '#/components/schemas/Gnb' - ip: - type: string - nodeType: - oneOf: - - type: string - - type: integer - port: - type: integer - ranName: type: string - setupFailure: - $ref: '#/components/schemas/SetupFailure' - additionalProperties: false type: object ErrorResponse: type: object @@ -625,6 +559,10 @@ components: type: object Gnb: properties: + gnbType: + oneOf: + - type: string + - type: integer servedNrCells: $ref: '#/components/schemas/ServedNrCells' ranFunctions: @@ -1055,74 +993,6 @@ components: enb: $ref: '#/components/schemas/Enb' additionalProperties: false - AddEnbResponse: - 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 - 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 AdditionalCellInformation: properties: cellLatitude: @@ -1175,5 +1045,7 @@ components: type: string setupFailure: $ref: '#/components/schemas/SetupFailure' + setupFromNetwork: + type: boolean additionalProperties: false - type: object \ No newline at end of file + type: object