[RIC-433] Add DeleteEnb to Swagger 60/4360/1
authorAmichai <amichai.sichel@intl.att.com>
Thu, 9 Jul 2020 11:28:36 +0000 (11:28 +0000)
committerAmichai <amichai.sichel@intl.att.com>
Thu, 9 Jul 2020 11:28:44 +0000 (11:28 +0000)
Change-Id: I86460a1a12a7950e9197c278b97c83edaf83fc3d
Signed-off-by: Amichai <amichai.sichel@intl.att.com>
Swagger/E2Manager_API.yaml
releases/container-release-ric-plt-e2mgr.yaml

index 285f2d8..ab9ae54 100644 (file)
@@ -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:
index 3738bcd..cf88700 100644 (file)
@@ -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