Skip to content

Commit

Permalink
arista/workspace.v1: Add decommission incomplete response code
Browse files Browse the repository at this point in the history
- Add RESPONSE_CODE_DECOMMISSION_DEVICES_INCOMPLETE to ResponseCode

Change-Id: I4b744a56b70af789b93590f4f9db9cf9f477a8cc
  • Loading branch information
Yiwen Wu committed Aug 15, 2024
1 parent 53d5d8b commit 565d024
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arista/workspace.v1/services.gen.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions arista/workspace.v1/workspace-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions arista/workspace.v1/workspace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 565d024

Please sign in to comment.