From d57f7c0005e0336ffb5ec3ba81bdba14ac26204b Mon Sep 17 00:00:00 2001 From: Sagar Date: Tue, 26 Sep 2023 01:55:02 -0700 Subject: [PATCH] Updated assets for swagger Signed-off-by: Sagar --- swagger/Alert.json | 78 ++-- swagger/Alert.yaml | 78 ++-- swagger/ServiceEngineGroupInventory.json | 52 +-- swagger/ServiceEngineGroupInventory.yaml | 52 +-- swagger/avi_global_spec.json | 518 +++++++++++------------ swagger/avi_global_spec.yaml | 418 +++++++++--------- 6 files changed, 598 insertions(+), 598 deletions(-) diff --git a/swagger/Alert.json b/swagger/Alert.json index 699b007b08..327fb9a72f 100644 --- a/swagger/Alert.json +++ b/swagger/Alert.json @@ -982,7 +982,7 @@ } } }, - "/virtualservice": { + "/debugvirtualservice": { "get": { "consumes": [ "application/json" @@ -1074,7 +1074,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualServiceApiResponse" + "$ref": "#/definitions/DebugVirtualServiceApiResponse" } }, "401": { @@ -1121,10 +1121,10 @@ { "in": "body", "name": "body", - "description": "VirtualService object creation", + "description": "DebugVirtualService object creation", "required": true, "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } } ], @@ -1137,7 +1137,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } }, "401": { @@ -1146,7 +1146,7 @@ } } }, - "/virtualservice/{uuid}": { + "/debugvirtualservice/{uuid}": { "get": { "consumes": [ "application/json" @@ -1233,7 +1233,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } }, "401": { @@ -1287,10 +1287,10 @@ { "in": "body", "name": "body", - "description": "VirtualService object creation", + "description": "DebugVirtualService object creation", "required": true, "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } }, { @@ -1310,7 +1310,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } }, "401": { @@ -1364,10 +1364,10 @@ { "in": "body", "name": "body", - "description": "VirtualService object creation", + "description": "DebugVirtualService object creation", "required": true, "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } }, { @@ -1387,7 +1387,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualService" + "$ref": "#/definitions/DebugVirtualService" } }, "401": { @@ -1464,7 +1464,7 @@ } } }, - "/debugvirtualservice": { + "/albservicesfileupload": { "get": { "consumes": [ "application/json" @@ -1556,7 +1556,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DebugVirtualServiceApiResponse" + "$ref": "#/definitions/ALBServicesFileUploadApiResponse" } }, "401": { @@ -1603,10 +1603,10 @@ { "in": "body", "name": "body", - "description": "DebugVirtualService object creation", + "description": "ALBServicesFileUpload object creation", "required": true, "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } } ], @@ -1619,7 +1619,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } }, "401": { @@ -1628,7 +1628,7 @@ } } }, - "/debugvirtualservice/{uuid}": { + "/albservicesfileupload/{uuid}": { "get": { "consumes": [ "application/json" @@ -1715,7 +1715,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } }, "401": { @@ -1769,10 +1769,10 @@ { "in": "body", "name": "body", - "description": "DebugVirtualService object creation", + "description": "ALBServicesFileUpload object creation", "required": true, "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } }, { @@ -1792,7 +1792,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } }, "401": { @@ -1846,10 +1846,10 @@ { "in": "body", "name": "body", - "description": "DebugVirtualService object creation", + "description": "ALBServicesFileUpload object creation", "required": true, "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } }, { @@ -1869,7 +1869,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DebugVirtualService" + "$ref": "#/definitions/ALBServicesFileUpload" } }, "401": { @@ -1946,7 +1946,7 @@ } } }, - "/albservicesfileupload": { + "/virtualservice": { "get": { "consumes": [ "application/json" @@ -2038,7 +2038,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ALBServicesFileUploadApiResponse" + "$ref": "#/definitions/VirtualServiceApiResponse" } }, "401": { @@ -2085,10 +2085,10 @@ { "in": "body", "name": "body", - "description": "ALBServicesFileUpload object creation", + "description": "VirtualService object creation", "required": true, "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } } ], @@ -2101,7 +2101,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } }, "401": { @@ -2110,7 +2110,7 @@ } } }, - "/albservicesfileupload/{uuid}": { + "/virtualservice/{uuid}": { "get": { "consumes": [ "application/json" @@ -2197,7 +2197,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } }, "401": { @@ -2251,10 +2251,10 @@ { "in": "body", "name": "body", - "description": "ALBServicesFileUpload object creation", + "description": "VirtualService object creation", "required": true, "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } }, { @@ -2274,7 +2274,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } }, "401": { @@ -2328,10 +2328,10 @@ { "in": "body", "name": "body", - "description": "ALBServicesFileUpload object creation", + "description": "VirtualService object creation", "required": true, "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } }, { @@ -2351,7 +2351,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ALBServicesFileUpload" + "$ref": "#/definitions/VirtualService" } }, "401": { diff --git a/swagger/Alert.yaml b/swagger/Alert.yaml index 3b3481cc6b..2ee326d334 100644 --- a/swagger/Alert.yaml +++ b/swagger/Alert.yaml @@ -667,7 +667,7 @@ paths: description: not found - /virtualservice: + /debugvirtualservice: get: consumes: - application/json @@ -731,7 +731,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/VirtualServiceApiResponse" + $ref: "#/definitions/DebugVirtualServiceApiResponse" 401: description: log in failed post: @@ -762,20 +762,20 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: VirtualService object creation + description: DebugVirtualService object creation required: true schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" 401: description: log in failed - /virtualservice/{uuid}: + /debugvirtualservice/{uuid}: get: consumes: - application/json @@ -836,7 +836,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" 401: description: log in failed put: @@ -872,10 +872,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: VirtualService object creation + description: DebugVirtualService object creation required: true schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" - in: path name: uuid description: UUID of the object to fetch @@ -887,7 +887,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" 401: description: log in failed patch: @@ -923,10 +923,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: VirtualService object creation + description: DebugVirtualService object creation required: true schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" - in: path name: uuid description: UUID of the object to fetch @@ -938,7 +938,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/VirtualService" + $ref: "#/definitions/DebugVirtualService" 401: description: log in failed delete: @@ -988,7 +988,7 @@ paths: description: not found - /debugvirtualservice: + /albservicesfileupload: get: consumes: - application/json @@ -1052,7 +1052,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/DebugVirtualServiceApiResponse" + $ref: "#/definitions/ALBServicesFileUploadApiResponse" 401: description: log in failed post: @@ -1083,20 +1083,20 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: DebugVirtualService object creation + description: ALBServicesFileUpload object creation required: true schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" 401: description: log in failed - /debugvirtualservice/{uuid}: + /albservicesfileupload/{uuid}: get: consumes: - application/json @@ -1157,7 +1157,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" 401: description: log in failed put: @@ -1193,10 +1193,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: DebugVirtualService object creation + description: ALBServicesFileUpload object creation required: true schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" - in: path name: uuid description: UUID of the object to fetch @@ -1208,7 +1208,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" 401: description: log in failed patch: @@ -1244,10 +1244,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: DebugVirtualService object creation + description: ALBServicesFileUpload object creation required: true schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" - in: path name: uuid description: UUID of the object to fetch @@ -1259,7 +1259,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/DebugVirtualService" + $ref: "#/definitions/ALBServicesFileUpload" 401: description: log in failed delete: @@ -1309,7 +1309,7 @@ paths: description: not found - /albservicesfileupload: + /virtualservice: get: consumes: - application/json @@ -1373,7 +1373,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ALBServicesFileUploadApiResponse" + $ref: "#/definitions/VirtualServiceApiResponse" 401: description: log in failed post: @@ -1404,20 +1404,20 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ALBServicesFileUpload object creation + description: VirtualService object creation required: true schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" 401: description: log in failed - /albservicesfileupload/{uuid}: + /virtualservice/{uuid}: get: consumes: - application/json @@ -1478,7 +1478,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" 401: description: log in failed put: @@ -1514,10 +1514,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ALBServicesFileUpload object creation + description: VirtualService object creation required: true schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" - in: path name: uuid description: UUID of the object to fetch @@ -1529,7 +1529,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" 401: description: log in failed patch: @@ -1565,10 +1565,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ALBServicesFileUpload object creation + description: VirtualService object creation required: true schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" - in: path name: uuid description: UUID of the object to fetch @@ -1580,7 +1580,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ALBServicesFileUpload" + $ref: "#/definitions/VirtualService" 401: description: log in failed delete: diff --git a/swagger/ServiceEngineGroupInventory.json b/swagger/ServiceEngineGroupInventory.json index ff1f0bd6fb..917e2c849c 100644 --- a/swagger/ServiceEngineGroupInventory.json +++ b/swagger/ServiceEngineGroupInventory.json @@ -500,7 +500,7 @@ } } }, - "/upgradestatussummary": { + "/serviceenginegroup": { "get": { "consumes": [ "application/json" @@ -592,7 +592,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummaryApiResponse" + "$ref": "#/definitions/ServiceEngineGroupApiResponse" } }, "401": { @@ -639,10 +639,10 @@ { "in": "body", "name": "body", - "description": "UpgradeStatusSummary object creation", + "description": "ServiceEngineGroup object creation", "required": true, "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } } ], @@ -655,7 +655,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -664,7 +664,7 @@ } } }, - "/upgradestatussummary/{uuid}": { + "/serviceenginegroup/{uuid}": { "get": { "consumes": [ "application/json" @@ -751,7 +751,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -805,10 +805,10 @@ { "in": "body", "name": "body", - "description": "UpgradeStatusSummary object creation", + "description": "ServiceEngineGroup object creation", "required": true, "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, { @@ -828,7 +828,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -882,10 +882,10 @@ { "in": "body", "name": "body", - "description": "UpgradeStatusSummary object creation", + "description": "ServiceEngineGroup object creation", "required": true, "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, { @@ -905,7 +905,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -982,7 +982,7 @@ } } }, - "/serviceenginegroup": { + "/upgradestatussummary": { "get": { "consumes": [ "application/json" @@ -1074,7 +1074,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroupApiResponse" + "$ref": "#/definitions/UpgradeStatusSummaryApiResponse" } }, "401": { @@ -1121,10 +1121,10 @@ { "in": "body", "name": "body", - "description": "ServiceEngineGroup object creation", + "description": "UpgradeStatusSummary object creation", "required": true, "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } } ], @@ -1137,7 +1137,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { @@ -1146,7 +1146,7 @@ } } }, - "/serviceenginegroup/{uuid}": { + "/upgradestatussummary/{uuid}": { "get": { "consumes": [ "application/json" @@ -1233,7 +1233,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { @@ -1287,10 +1287,10 @@ { "in": "body", "name": "body", - "description": "ServiceEngineGroup object creation", + "description": "UpgradeStatusSummary object creation", "required": true, "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } }, { @@ -1310,7 +1310,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { @@ -1364,10 +1364,10 @@ { "in": "body", "name": "body", - "description": "ServiceEngineGroup object creation", + "description": "UpgradeStatusSummary object creation", "required": true, "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } }, { @@ -1387,7 +1387,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { diff --git a/swagger/ServiceEngineGroupInventory.yaml b/swagger/ServiceEngineGroupInventory.yaml index 33f58d46fd..830674135b 100644 --- a/swagger/ServiceEngineGroupInventory.yaml +++ b/swagger/ServiceEngineGroupInventory.yaml @@ -345,7 +345,7 @@ paths: description: not found - /upgradestatussummary: + /serviceenginegroup: get: consumes: - application/json @@ -409,7 +409,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummaryApiResponse" + $ref: "#/definitions/ServiceEngineGroupApiResponse" 401: description: log in failed post: @@ -440,20 +440,20 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: UpgradeStatusSummary object creation + description: ServiceEngineGroup object creation required: true schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed - /upgradestatussummary/{uuid}: + /serviceenginegroup/{uuid}: get: consumes: - application/json @@ -514,7 +514,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed put: @@ -550,10 +550,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: UpgradeStatusSummary object creation + description: ServiceEngineGroup object creation required: true schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" - in: path name: uuid description: UUID of the object to fetch @@ -565,7 +565,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed patch: @@ -601,10 +601,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: UpgradeStatusSummary object creation + description: ServiceEngineGroup object creation required: true schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" - in: path name: uuid description: UUID of the object to fetch @@ -616,7 +616,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed delete: @@ -666,7 +666,7 @@ paths: description: not found - /serviceenginegroup: + /upgradestatussummary: get: consumes: - application/json @@ -730,7 +730,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroupApiResponse" + $ref: "#/definitions/UpgradeStatusSummaryApiResponse" 401: description: log in failed post: @@ -761,20 +761,20 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ServiceEngineGroup object creation + description: UpgradeStatusSummary object creation required: true schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed - /serviceenginegroup/{uuid}: + /upgradestatussummary/{uuid}: get: consumes: - application/json @@ -835,7 +835,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed put: @@ -871,10 +871,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ServiceEngineGroup object creation + description: UpgradeStatusSummary object creation required: true schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" - in: path name: uuid description: UUID of the object to fetch @@ -886,7 +886,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed patch: @@ -922,10 +922,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ServiceEngineGroup object creation + description: UpgradeStatusSummary object creation required: true schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" - in: path name: uuid description: UUID of the object to fetch @@ -937,7 +937,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed delete: diff --git a/swagger/avi_global_spec.json b/swagger/avi_global_spec.json index 40a1c7635d..007c6a2e6c 100644 --- a/swagger/avi_global_spec.json +++ b/swagger/avi_global_spec.json @@ -25987,7 +25987,7 @@ } } }, - "/upgradestatussummary": { + "/serviceenginegroup": { "get": { "consumes": [ "application/json" @@ -26068,6 +26068,18 @@ "type": "string", "required": false, "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." + }, + { + "name": "cloud_uuid", + "in": "query", + "description": "Filter to get objects that belongs to a specific cloud using its uuid. Eg. cloud_uuid=cloud-xyz.", + "type": "string" + }, + { + "name": "cloud_ref.name", + "in": "query", + "description": "Filter to get objects that belongs to a specific cloud usings its name. This uses cloud name rather than uuid. Eg. cloud_ref.name=Default-Cloud.", + "type": "string" } ], "security": [ @@ -26079,7 +26091,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummaryApiResponse" + "$ref": "#/definitions/ServiceEngineGroupApiResponse" } }, "401": { @@ -26126,10 +26138,10 @@ { "in": "body", "name": "body", - "description": "UpgradeStatusSummary object creation", + "description": "ServiceEngineGroup object creation", "required": true, "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } } ], @@ -26142,7 +26154,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -26151,7 +26163,7 @@ } } }, - "/upgradestatussummary/{uuid}": { + "/serviceenginegroup/{uuid}": { "get": { "consumes": [ "application/json" @@ -26238,7 +26250,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -26292,10 +26304,10 @@ { "in": "body", "name": "body", - "description": "UpgradeStatusSummary object creation", + "description": "ServiceEngineGroup object creation", "required": true, "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, { @@ -26315,7 +26327,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -26369,10 +26381,10 @@ { "in": "body", "name": "body", - "description": "UpgradeStatusSummary object creation", + "description": "ServiceEngineGroup object creation", "required": true, "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, { @@ -26392,7 +26404,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/UpgradeStatusSummary" + "$ref": "#/definitions/ServiceEngineGroup" } }, "401": { @@ -26469,8 +26481,8 @@ } } }, - "/serviceenginegroup": { - "get": { + "/serviceenginegroup/{uuid}/redistribute": { + "post": { "consumes": [ "application/json" ], @@ -26479,53 +26491,8 @@ ], "parameters": [ { - "name": "name", - "in": "query", - "description": "object name", - "required": false, - "type": "string" - }, - { - "name": "refers_to", - "in": "query", - "description": "Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=:. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid", - "type": "string" - }, - { - "name": "referred_by", - "in": "query", - "description": "Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=:. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid", - "type": "string" - }, - { - "name": "fields", - "in": "query", - "description": "List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.", - "type": "string" - }, - { - "name": "include_name", - "in": "query", - "description": "All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.", - "required": false, - "type": "boolean" - }, - { - "name": "skip_default", - "in": "query", - "description": "Default values are not set.", - "required": false, - "type": "boolean" - }, - { - "name": "join_subresources", - "in": "query", - "description": "It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.", - "type": "string" - }, - { - "name": "X-Avi-Tenant", "in": "header", + "name": "X-Avi-Tenant", "type": "string", "required": false, "description": "Avi Tenant Header" @@ -26552,15 +26519,22 @@ "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "name": "cloud_uuid", - "in": "query", - "description": "Filter to get objects that belongs to a specific cloud using its uuid. Eg. cloud_uuid=cloud-xyz.", - "type": "string" + "in": "body", + "name": "body", + "description": "empty", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } }, { - "name": "cloud_ref.name", - "in": "query", - "description": "Filter to get objects that belongs to a specific cloud usings its name. This uses cloud name rather than uuid. Eg. cloud_ref.name=Default-Cloud.", + "in": "path", + "name": "uuid", + "description": "UUID of the object to fetch", + "required": true, "type": "string" } ], @@ -26573,14 +26547,16 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroupApiResponse" + "type": "string" } }, "401": { "description": "log in failed" } } - }, + } + }, + "/serviceenginegroup/clear": { "post": { "consumes": [ "application/json" @@ -26590,8 +26566,8 @@ ], "parameters": [ { - "name": "X-Avi-Tenant", "in": "header", + "name": "X-Avi-Tenant", "type": "string", "required": false, "description": "Avi Tenant Header" @@ -26620,10 +26596,13 @@ { "in": "body", "name": "body", - "description": "ServiceEngineGroup object creation", + "description": "empty", "required": true, "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "type": "object", + "additionalProperties": { + "type": "string" + } } } ], @@ -26636,7 +26615,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "type": "string" } }, "401": { @@ -26645,7 +26624,7 @@ } } }, - "/serviceenginegroup/{uuid}": { + "/serviceenginegroup/{uuid}/runtime/": { "get": { "consumes": [ "application/json" @@ -26655,15 +26634,8 @@ ], "parameters": [ { - "name": "name", - "in": "query", - "description": "object name", - "required": false, - "type": "string" - }, - { - "name": "X-Avi-Tenant", "in": "header", + "name": "X-Avi-Tenant", "type": "string", "required": false, "description": "Avi Tenant Header" @@ -26676,51 +26648,25 @@ "description": "Avi Tenant Header UUID" }, { - "name": "X-Avi-Version", + "name": "X-CSRFToken", "in": "header", "type": "string", - "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + "required": false, + "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "name": "X-CSRFToken", + "name": "X-Avi-Version", "in": "header", "type": "string", - "required": false, - "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." + "required": true, + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." }, { - "name": "uuid", "in": "path", + "name": "uuid", "description": "UUID of the object to fetch", "required": true, "type": "string" - }, - { - "name": "fields", - "in": "query", - "description": "List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.", - "type": "string" - }, - { - "name": "include_name", - "in": "query", - "description": "All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.", - "required": false, - "type": "boolean" - }, - { - "name": "skip_default", - "in": "query", - "description": "Default values are not set.", - "required": false, - "type": "boolean" - }, - { - "name": "join_subresources", - "in": "query", - "description": "It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.", - "type": "string" } ], "security": [ @@ -26732,15 +26678,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "type": "string" } }, "401": { "description": "log in failed" } } - }, - "put": { + } + }, + "/serviceenginegroup/{uuid}/placement/summary/": { + "get": { "consumes": [ "application/json" ], @@ -26748,13 +26696,6 @@ "application/json" ], "parameters": [ - { - "in": "query", - "name": "name", - "description": "object name", - "required": false, - "type": "string" - }, { "in": "header", "name": "X-Avi-Tenant", @@ -26769,13 +26710,6 @@ "required": false, "description": "Avi Tenant Header UUID" }, - { - "name": "X-Avi-Version", - "in": "header", - "type": "string", - "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." - }, { "name": "X-CSRFToken", "in": "header", @@ -26784,13 +26718,11 @@ "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "in": "body", - "name": "body", - "description": "ServiceEngineGroup object creation", + "name": "X-Avi-Version", + "in": "header", + "type": "string", "required": true, - "schema": { - "$ref": "#/definitions/ServiceEngineGroup" - } + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." }, { "in": "path", @@ -26809,15 +26741,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "type": "string" } }, "401": { "description": "log in failed" } } - }, - "patch": { + } + }, + "/serviceenginegroup/{uuid}/placement/detail/": { + "get": { "consumes": [ "application/json" ], @@ -26825,13 +26759,6 @@ "application/json" ], "parameters": [ - { - "in": "query", - "name": "name", - "description": "object name", - "required": false, - "type": "string" - }, { "in": "header", "name": "X-Avi-Tenant", @@ -26846,13 +26773,6 @@ "required": false, "description": "Avi Tenant Header UUID" }, - { - "name": "X-Avi-Version", - "in": "header", - "type": "string", - "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." - }, { "name": "X-CSRFToken", "in": "header", @@ -26861,13 +26781,11 @@ "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "in": "body", - "name": "body", - "description": "ServiceEngineGroup object creation", + "name": "X-Avi-Version", + "in": "header", + "type": "string", "required": true, - "schema": { - "$ref": "#/definitions/ServiceEngineGroup" - } + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." }, { "in": "path", @@ -26886,15 +26804,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ServiceEngineGroup" + "type": "string" } }, "401": { "description": "log in failed" } } - }, - "delete": { + } + }, + "/serviceenginegroup/{uuid}/placement/ineligible/": { + "get": { "consumes": [ "application/json" ], @@ -26903,25 +26823,25 @@ ], "parameters": [ { - "in": "query", - "name": "name", - "description": "object name", + "in": "header", + "name": "X-Avi-Tenant", + "type": "string", "required": false, - "type": "string" + "description": "Avi Tenant Header" }, { + "name": "X-Avi-Tenant-UUID", "in": "header", - "name": "X-Avi-Tenant", "type": "string", "required": false, - "description": "Avi Tenant Header" + "description": "Avi Tenant Header UUID" }, { - "name": "X-Avi-Tenant-UUID", + "name": "X-CSRFToken", "in": "header", "type": "string", "required": false, - "description": "Avi Tenant Header UUID" + "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { "name": "X-Avi-Version", @@ -26930,13 +26850,6 @@ "required": true, "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." }, - { - "name": "X-CSRFToken", - "in": "header", - "type": "string", - "required": false, - "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." - }, { "in": "path", "name": "uuid", @@ -26951,20 +26864,20 @@ } ], "responses": { - "204": { - "description": "object deleted", + "200": { + "description": "OK", "schema": { "type": "string" } }, - "404": { - "description": "not found" + "401": { + "description": "log in failed" } } } }, - "/serviceenginegroup/{uuid}/redistribute": { - "post": { + "/upgradestatussummary": { + "get": { "consumes": [ "application/json" ], @@ -26973,8 +26886,53 @@ ], "parameters": [ { - "in": "header", + "name": "name", + "in": "query", + "description": "object name", + "required": false, + "type": "string" + }, + { + "name": "refers_to", + "in": "query", + "description": "Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=:. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid", + "type": "string" + }, + { + "name": "referred_by", + "in": "query", + "description": "Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=:. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid", + "type": "string" + }, + { + "name": "fields", + "in": "query", + "description": "List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.", + "type": "string" + }, + { + "name": "include_name", + "in": "query", + "description": "All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.", + "required": false, + "type": "boolean" + }, + { + "name": "skip_default", + "in": "query", + "description": "Default values are not set.", + "required": false, + "type": "boolean" + }, + { + "name": "join_subresources", + "in": "query", + "description": "It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.", + "type": "string" + }, + { "name": "X-Avi-Tenant", + "in": "header", "type": "string", "required": false, "description": "Avi Tenant Header" @@ -26999,25 +26957,6 @@ "type": "string", "required": false, "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." - }, - { - "in": "body", - "name": "body", - "description": "empty", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - { - "in": "path", - "name": "uuid", - "description": "UUID of the object to fetch", - "required": true, - "type": "string" } ], "security": [ @@ -27029,16 +26968,14 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/UpgradeStatusSummaryApiResponse" } }, "401": { "description": "log in failed" } } - } - }, - "/serviceenginegroup/clear": { + }, "post": { "consumes": [ "application/json" @@ -27048,8 +26985,8 @@ ], "parameters": [ { - "in": "header", "name": "X-Avi-Tenant", + "in": "header", "type": "string", "required": false, "description": "Avi Tenant Header" @@ -27078,13 +27015,10 @@ { "in": "body", "name": "body", - "description": "empty", + "description": "UpgradeStatusSummary object creation", "required": true, "schema": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/UpgradeStatusSummary" } } ], @@ -27097,7 +27031,7 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { @@ -27106,7 +27040,7 @@ } } }, - "/serviceenginegroup/{uuid}/runtime/": { + "/upgradestatussummary/{uuid}": { "get": { "consumes": [ "application/json" @@ -27116,8 +27050,15 @@ ], "parameters": [ { - "in": "header", + "name": "name", + "in": "query", + "description": "object name", + "required": false, + "type": "string" + }, + { "name": "X-Avi-Tenant", + "in": "header", "type": "string", "required": false, "description": "Avi Tenant Header" @@ -27130,25 +27071,51 @@ "description": "Avi Tenant Header UUID" }, { - "name": "X-CSRFToken", + "name": "X-Avi-Version", "in": "header", "type": "string", - "required": false, - "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." + "required": true, + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." }, { - "name": "X-Avi-Version", + "name": "X-CSRFToken", "in": "header", "type": "string", - "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + "required": false, + "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "in": "path", "name": "uuid", + "in": "path", "description": "UUID of the object to fetch", "required": true, "type": "string" + }, + { + "name": "fields", + "in": "query", + "description": "List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.", + "type": "string" + }, + { + "name": "include_name", + "in": "query", + "description": "All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.", + "required": false, + "type": "boolean" + }, + { + "name": "skip_default", + "in": "query", + "description": "Default values are not set.", + "required": false, + "type": "boolean" + }, + { + "name": "join_subresources", + "in": "query", + "description": "It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.", + "type": "string" } ], "security": [ @@ -27160,17 +27127,15 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { "description": "log in failed" } } - } - }, - "/serviceenginegroup/{uuid}/placement/summary/": { - "get": { + }, + "put": { "consumes": [ "application/json" ], @@ -27178,6 +27143,13 @@ "application/json" ], "parameters": [ + { + "in": "query", + "name": "name", + "description": "object name", + "required": false, + "type": "string" + }, { "in": "header", "name": "X-Avi-Tenant", @@ -27192,6 +27164,13 @@ "required": false, "description": "Avi Tenant Header UUID" }, + { + "name": "X-Avi-Version", + "in": "header", + "type": "string", + "required": true, + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + }, { "name": "X-CSRFToken", "in": "header", @@ -27200,11 +27179,13 @@ "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "name": "X-Avi-Version", - "in": "header", - "type": "string", + "in": "body", + "name": "body", + "description": "UpgradeStatusSummary object creation", "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + "schema": { + "$ref": "#/definitions/UpgradeStatusSummary" + } }, { "in": "path", @@ -27223,17 +27204,15 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { "description": "log in failed" } } - } - }, - "/serviceenginegroup/{uuid}/placement/detail/": { - "get": { + }, + "patch": { "consumes": [ "application/json" ], @@ -27241,6 +27220,13 @@ "application/json" ], "parameters": [ + { + "in": "query", + "name": "name", + "description": "object name", + "required": false, + "type": "string" + }, { "in": "header", "name": "X-Avi-Tenant", @@ -27255,6 +27241,13 @@ "required": false, "description": "Avi Tenant Header UUID" }, + { + "name": "X-Avi-Version", + "in": "header", + "type": "string", + "required": true, + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + }, { "name": "X-CSRFToken", "in": "header", @@ -27263,11 +27256,13 @@ "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { - "name": "X-Avi-Version", - "in": "header", - "type": "string", + "in": "body", + "name": "body", + "description": "UpgradeStatusSummary object creation", "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + "schema": { + "$ref": "#/definitions/UpgradeStatusSummary" + } }, { "in": "path", @@ -27286,17 +27281,15 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/UpgradeStatusSummary" } }, "401": { "description": "log in failed" } } - } - }, - "/serviceenginegroup/{uuid}/placement/ineligible/": { - "get": { + }, + "delete": { "consumes": [ "application/json" ], @@ -27304,6 +27297,13 @@ "application/json" ], "parameters": [ + { + "in": "query", + "name": "name", + "description": "object name", + "required": false, + "type": "string" + }, { "in": "header", "name": "X-Avi-Tenant", @@ -27319,18 +27319,18 @@ "description": "Avi Tenant Header UUID" }, { - "name": "X-CSRFToken", + "name": "X-Avi-Version", "in": "header", "type": "string", - "required": false, - "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." + "required": true, + "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." }, { - "name": "X-Avi-Version", + "name": "X-CSRFToken", "in": "header", "type": "string", - "required": true, - "description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version." + "required": false, + "description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests." }, { "in": "path", @@ -27346,14 +27346,14 @@ } ], "responses": { - "200": { - "description": "OK", + "204": { + "description": "object deleted", "schema": { "type": "string" } }, - "401": { - "description": "log in failed" + "404": { + "description": "not found" } } } diff --git a/swagger/avi_global_spec.yaml b/swagger/avi_global_spec.yaml index 1c1ccd9783..155bf37c7d 100644 --- a/swagger/avi_global_spec.yaml +++ b/swagger/avi_global_spec.yaml @@ -17301,7 +17301,7 @@ paths: description: not found - /upgradestatussummary: + /serviceenginegroup: get: consumes: - application/json @@ -17359,13 +17359,21 @@ paths: type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. + - name: cloud_uuid + in: query + description: Filter to get objects that belongs to a specific cloud using its uuid. Eg. cloud_uuid=cloud-xyz. + type: string + - name: cloud_ref.name + in: query + description: Filter to get objects that belongs to a specific cloud usings its name. This uses cloud name rather than uuid. Eg. cloud_ref.name=Default-Cloud. + type: string security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummaryApiResponse" + $ref: "#/definitions/ServiceEngineGroupApiResponse" 401: description: log in failed post: @@ -17396,20 +17404,20 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: UpgradeStatusSummary object creation + description: ServiceEngineGroup object creation required: true schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed - /upgradestatussummary/{uuid}: + /serviceenginegroup/{uuid}: get: consumes: - application/json @@ -17470,7 +17478,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed put: @@ -17506,10 +17514,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: UpgradeStatusSummary object creation + description: ServiceEngineGroup object creation required: true schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" - in: path name: uuid description: UUID of the object to fetch @@ -17521,7 +17529,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed patch: @@ -17557,10 +17565,10 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: UpgradeStatusSummary object creation + description: ServiceEngineGroup object creation required: true schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" - in: path name: uuid description: UUID of the object to fetch @@ -17572,7 +17580,7 @@ paths: 200: description: OK schema: - $ref: "#/definitions/UpgradeStatusSummary" + $ref: "#/definitions/ServiceEngineGroup" 401: description: log in failed delete: @@ -17621,47 +17629,15 @@ paths: 404: description: not found - - /serviceenginegroup: - get: + /serviceenginegroup/{uuid}/redistribute: + post: consumes: - application/json produces: - application/json parameters: - - name: name - in: query - description: object name - required: false - type: string - - name: refers_to - in: query - description: Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=:. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid - type: string - - name: referred_by - in: query - description: Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=:. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid - type: string - - name: fields - in: query - description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned. - type: string - - name: include_name - in: query - description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object. - required: false - type: boolean - - name: skip_default - in: query - description: Default values are not set. - required: false - type: boolean - - name: join_subresources - in: query - description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime. - type: string - - name: X-Avi-Tenant - in: header + - in: header + name: X-Avi-Tenant type: string required: false description: Avi Tenant Header @@ -17680,13 +17656,18 @@ paths: type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - name: cloud_uuid - in: query - description: Filter to get objects that belongs to a specific cloud using its uuid. Eg. cloud_uuid=cloud-xyz. - type: string - - name: cloud_ref.name - in: query - description: Filter to get objects that belongs to a specific cloud usings its name. This uses cloud name rather than uuid. Eg. cloud_ref.name=Default-Cloud. + - in: body + name: body + description: empty + required: true + schema: + type: object + additionalProperties: + type: string + - in: path + name: uuid + description: UUID of the object to fetch + required: true type: string security: - basicAuth: [] @@ -17694,17 +17675,18 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroupApiResponse" + type: string 401: description: log in failed + /serviceenginegroup/clear: post: consumes: - application/json produces: - application/json parameters: - - name: X-Avi-Tenant - in: header + - in: header + name: X-Avi-Tenant type: string required: false description: Avi Tenant Header @@ -17725,33 +17707,31 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: ServiceEngineGroup object creation + description: empty required: true schema: - $ref: "#/definitions/ServiceEngineGroup" + type: object + additionalProperties: + type: string security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + type: string 401: description: log in failed - /serviceenginegroup/{uuid}: + + /serviceenginegroup/{uuid}/runtime/: get: consumes: - application/json produces: - application/json parameters: - - name: name - in: query - description: object name - required: false - type: string - - name: X-Avi-Tenant - in: header + - in: header + name: X-Avi-Tenant type: string required: false description: Avi Tenant Header @@ -17760,59 +17740,37 @@ paths: type: string required: false description: Avi Tenant Header UUID - - name: X-Avi-Version - in: header - type: string - required: true - description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - name: X-CSRFToken in: header type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - name: uuid - in: path + - name: X-Avi-Version + in: header + type: string + required: true + description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. + - in: path + name: uuid description: UUID of the object to fetch required: true type: string - - name: fields - in: query - description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned. - type: string - - name: include_name - in: query - description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object. - required: false - type: boolean - - name: skip_default - in: query - description: Default values are not set. - required: false - type: boolean - - name: join_subresources - in: query - description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime. - type: string security: - basicAuth: [] responses: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + type: string 401: description: log in failed - put: + /serviceenginegroup/{uuid}/placement/summary/: + get: consumes: - application/json produces: - application/json parameters: - - in: query - name: name - description: object name - required: false - type: string - in: header name: X-Avi-Tenant type: string @@ -17823,22 +17781,16 @@ paths: type: string required: false description: Avi Tenant Header UUID - - name: X-Avi-Version - in: header - type: string - required: true - description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - name: X-CSRFToken in: header type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - in: body - name: body - description: ServiceEngineGroup object creation + - name: X-Avi-Version + in: header + type: string required: true - schema: - $ref: "#/definitions/ServiceEngineGroup" + description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - in: path name: uuid description: UUID of the object to fetch @@ -17850,20 +17802,16 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + type: string 401: description: log in failed - patch: + /serviceenginegroup/{uuid}/placement/detail/: + get: consumes: - application/json produces: - application/json parameters: - - in: query - name: name - description: object name - required: false - type: string - in: header name: X-Avi-Tenant type: string @@ -17874,22 +17822,16 @@ paths: type: string required: false description: Avi Tenant Header UUID - - name: X-Avi-Version - in: header - type: string - required: true - description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - name: X-CSRFToken in: header type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - in: body - name: body - description: ServiceEngineGroup object creation + - name: X-Avi-Version + in: header + type: string required: true - schema: - $ref: "#/definitions/ServiceEngineGroup" + description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - in: path name: uuid description: UUID of the object to fetch @@ -17901,20 +17843,16 @@ paths: 200: description: OK schema: - $ref: "#/definitions/ServiceEngineGroup" + type: string 401: description: log in failed - delete: + /serviceenginegroup/{uuid}/placement/ineligible/: + get: consumes: - application/json produces: - application/json parameters: - - in: query - name: name - description: object name - required: false - type: string - in: header name: X-Avi-Tenant type: string @@ -17925,16 +17863,16 @@ paths: type: string required: false description: Avi Tenant Header UUID - - name: X-Avi-Version - in: header - type: string - required: true - description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - name: X-CSRFToken in: header type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. + - name: X-Avi-Version + in: header + type: string + required: true + description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - in: path name: uuid description: UUID of the object to fetch @@ -17943,22 +17881,52 @@ paths: security: - basicAuth: [] responses: - 204: - description: object deleted + 200: + description: OK schema: type: string - 404: - description: not found - - /serviceenginegroup/{uuid}/redistribute: - post: + 401: + description: log in failed + /upgradestatussummary: + get: consumes: - application/json produces: - application/json parameters: - - in: header - name: X-Avi-Tenant + - name: name + in: query + description: object name + required: false + type: string + - name: refers_to + in: query + description: Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=:. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid + type: string + - name: referred_by + in: query + description: Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=:. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid + type: string + - name: fields + in: query + description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned. + type: string + - name: include_name + in: query + description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object. + required: false + type: boolean + - name: skip_default + in: query + description: Default values are not set. + required: false + type: boolean + - name: join_subresources + in: query + description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime. + type: string + - name: X-Avi-Tenant + in: header type: string required: false description: Avi Tenant Header @@ -17977,37 +17945,23 @@ paths: type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - in: body - name: body - description: empty - required: true - schema: - type: object - additionalProperties: - type: string - - in: path - name: uuid - description: UUID of the object to fetch - required: true - type: string security: - basicAuth: [] responses: 200: description: OK schema: - type: string + $ref: "#/definitions/UpgradeStatusSummaryApiResponse" 401: description: log in failed - /serviceenginegroup/clear: post: consumes: - application/json produces: - application/json parameters: - - in: header - name: X-Avi-Tenant + - name: X-Avi-Tenant + in: header type: string required: false description: Avi Tenant Header @@ -18028,31 +17982,33 @@ paths: description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: body name: body - description: empty + description: UpgradeStatusSummary object creation required: true schema: - type: object - additionalProperties: - type: string + $ref: "#/definitions/UpgradeStatusSummary" security: - basicAuth: [] responses: 200: description: OK schema: - type: string + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed - - /serviceenginegroup/{uuid}/runtime/: + /upgradestatussummary/{uuid}: get: consumes: - application/json produces: - application/json parameters: - - in: header - name: X-Avi-Tenant + - name: name + in: query + description: object name + required: false + type: string + - name: X-Avi-Tenant + in: header type: string required: false description: Avi Tenant Header @@ -18061,37 +18017,59 @@ paths: type: string required: false description: Avi Tenant Header UUID - - name: X-CSRFToken - in: header - type: string - required: false - description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - name: X-Avi-Version in: header type: string required: true description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - - in: path - name: uuid + - name: X-CSRFToken + in: header + type: string + required: false + description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. + - name: uuid + in: path description: UUID of the object to fetch required: true type: string + - name: fields + in: query + description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned. + type: string + - name: include_name + in: query + description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object. + required: false + type: boolean + - name: skip_default + in: query + description: Default values are not set. + required: false + type: boolean + - name: join_subresources + in: query + description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime. + type: string security: - basicAuth: [] responses: 200: description: OK schema: - type: string + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed - /serviceenginegroup/{uuid}/placement/summary/: - get: + put: consumes: - application/json produces: - application/json parameters: + - in: query + name: name + description: object name + required: false + type: string - in: header name: X-Avi-Tenant type: string @@ -18102,16 +18080,22 @@ paths: type: string required: false description: Avi Tenant Header UUID + - name: X-Avi-Version + in: header + type: string + required: true + description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - name: X-CSRFToken in: header type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - name: X-Avi-Version - in: header - type: string + - in: body + name: body + description: UpgradeStatusSummary object creation required: true - description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. + schema: + $ref: "#/definitions/UpgradeStatusSummary" - in: path name: uuid description: UUID of the object to fetch @@ -18123,16 +18107,20 @@ paths: 200: description: OK schema: - type: string + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed - /serviceenginegroup/{uuid}/placement/detail/: - get: + patch: consumes: - application/json produces: - application/json parameters: + - in: query + name: name + description: object name + required: false + type: string - in: header name: X-Avi-Tenant type: string @@ -18143,16 +18131,22 @@ paths: type: string required: false description: Avi Tenant Header UUID + - name: X-Avi-Version + in: header + type: string + required: true + description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. - name: X-CSRFToken in: header type: string required: false description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - - name: X-Avi-Version - in: header - type: string + - in: body + name: body + description: UpgradeStatusSummary object creation required: true - description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. + schema: + $ref: "#/definitions/UpgradeStatusSummary" - in: path name: uuid description: UUID of the object to fetch @@ -18164,16 +18158,20 @@ paths: 200: description: OK schema: - type: string + $ref: "#/definitions/UpgradeStatusSummary" 401: description: log in failed - /serviceenginegroup/{uuid}/placement/ineligible/: - get: + delete: consumes: - application/json produces: - application/json parameters: + - in: query + name: name + description: object name + required: false + type: string - in: header name: X-Avi-Tenant type: string @@ -18184,16 +18182,16 @@ paths: type: string required: false description: Avi Tenant Header UUID - - name: X-CSRFToken - in: header - type: string - required: false - description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - name: X-Avi-Version in: header type: string required: true description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version. + - name: X-CSRFToken + in: header + type: string + required: false + description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests. - in: path name: uuid description: UUID of the object to fetch @@ -18202,12 +18200,14 @@ paths: security: - basicAuth: [] responses: - 200: - description: OK + 204: + description: object deleted schema: type: string - 401: - description: log in failed + 404: + description: not found + + /networkinventory: get: consumes: