From 565d024dc3c950ceff345be6182c535bc9a11582 Mon Sep 17 00:00:00 2001 From: Yiwen Wu Date: Wed, 14 Aug 2024 17:41:53 -0700 Subject: [PATCH] arista/workspace.v1: Add decommission incomplete response code - Add RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE to ResponseCode Change-Id: I4b744a56b70af789b93590f4f9db9cf9f477a8cc --- arista/workspace.v1/services.gen.swagger.json | 5 +++-- arista/workspace.v1/workspace-changelog.yaml | 4 ++++ arista/workspace.v1/workspace.proto | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arista/workspace.v1/services.gen.swagger.json b/arista/workspace.v1/services.gen.swagger.json index f52d11fa..4c85eb7a 100644 --- a/arista/workspace.v1/services.gen.swagger.json +++ b/arista/workspace.v1/services.gen.swagger.json @@ -3450,10 +3450,11 @@ "type": "string", "enum": [ "RESPONSE_CODE_UNSPECIFIED", - "RESPONSE_CODE_INACTIVE_DEVICES_EXIST" + "RESPONSE_CODE_INACTIVE_DEVICES_EXIST", + "RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE" ], "default": "RESPONSE_CODE_UNSPECIFIED", - "description": "ResponseCode is a code for a Response indicating a particular scenario.\n\n - RESPONSE_CODE_UNSPECIFIED: RESPONSE_CODE_UNSPECIFIED indicates unspecified response code.\n - RESPONSE_CODE_INACTIVE_DEVICES_EXIST: RESPONSE_CODE_INACTIVE_DEVICES_EXIST indicates that there are devices that have inactive\nstreaming status." + "description": "ResponseCode is a code for a Response indicating a particular scenario.\n\n - RESPONSE_CODE_UNSPECIFIED: RESPONSE_CODE_UNSPECIFIED indicates unspecified response code.\n - RESPONSE_CODE_INACTIVE_DEVICES_EXIST: RESPONSE_CODE_INACTIVE_DEVICES_EXIST indicates that there are devices that have inactive\nstreaming status.\n - RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE: RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE indicates that the decommission process is\nincomplete for devices." }, "arista.workspace.v1.ResponseStatus": { "type": "string", diff --git a/arista/workspace.v1/workspace-changelog.yaml b/arista/workspace.v1/workspace-changelog.yaml index 4dc59a19..52f647d8 100644 --- a/arista/workspace.v1/workspace-changelog.yaml +++ b/arista/workspace.v1/workspace-changelog.yaml @@ -7,6 +7,10 @@ # New entries go on top. Changes: + - date: 2024-08-05 + description: Add RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE to ResponseCode + version: 1.3.7 + cvaas: true - date: 2024-07-30 description: Add device decommissioned skip cause to ConfigValidationSkipCause version: 1.3.6 diff --git a/arista/workspace.v1/workspace.proto b/arista/workspace.v1/workspace.proto index eef6f498..9ea96b06 100644 --- a/arista/workspace.v1/workspace.proto +++ b/arista/workspace.v1/workspace.proto @@ -127,6 +127,9 @@ enum ResponseCode { // RESPONSE_CODE_INACTIVE_DEVICES_EXIST indicates that there are devices that have inactive // streaming status. RESPONSE_CODE_INACTIVE_DEVICES_EXIST = 1; + // RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE indicates that the decommission process is + // incomplete for devices. + RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE = 2; } // Responses is a collection of responses for completed requests.