X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=api%2Frouting_manager.yaml;h=fc93ab5d6de925209fa26c8c95a0d510c33f730d;hb=765b273b4444673d4e45a5f363dea28cdb6ca0bf;hp=bdf19f180917a1b311d87d841081d17262045749;hpb=d0a1df15265d8ed924a09a5e5183788821100cb9;p=ric-plt%2Frtmgr.git diff --git a/api/routing_manager.yaml b/api/routing_manager.yaml index bdf19f1..fc93ab5 100644 --- a/api/routing_manager.yaml +++ b/api/routing_manager.yaml @@ -295,6 +295,53 @@ paths: description: "Invalid data" 201: description: "ran instances disociated" + /handles/addrmrroute: + post: + tags: + - "handle" + summary: "API to add RMR routes" + description: "By performing a POST method to add RMR routes" + operationId: "add_rmr_route" + consumes: + - "application/json" + produces: + - "application/json" + parameters: + - in: body + name: routes-list + description: "list of routes to add" + required: true + schema: + $ref: "#/definitions/routelist" + responses: + 400: + description: "Invalid data" + 201: + description: "rmr routes added" + + /handles/delrmrroute: + delete: + tags: + - "handle" + summary: "API to delete RMR routes" + description: "By performing a DELETE method to add RMR routes" + operationId: "del_rmr_route" + consumes: + - "application/json" + produces: + - "application/json" + parameters: + - in: body + name: routes-list + description: "list of routes to delete" + required: true + schema: + $ref: "#/definitions/routelist" + responses: + 400: + description: "Invalid data" + 201: + description: "rmr routes added" definitions: health-status: type: "object" @@ -412,6 +459,28 @@ definitions: RouteConfigs: type: "string" + add-rmr-route: + type: "object" + required: + - "TargetEndPoint" + - "MessageType" + properties: + TargetEndPoint: + type: "string" + MessageType: + type: "integer" + format: "uint32" + SenderEndPoint: + type: "string" + SubscriptionID: + type: "integer" + format: "int32" + + routelist: + type: "array" + items: + $ref: '#/definitions/add-rmr-route' + externalDocs: description: "Routing Manager" url: "http://placeholder"