Skip to content

Commit

Permalink
imagestatus: Remove supervisor related errors from imagestatus proto
Browse files Browse the repository at this point in the history
- The supervisor related error are transferred to device unreachable error
- Supervisors will be reflected on error messages now

Change-Id: Ic2b9436f4d25b7642c3bc6d75aeb014b24fad225
  • Loading branch information
JamesZ0303 committed Nov 8, 2023
1 parent 7344bae commit cf3b54a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions arista/imagestatus.v1/imagestatus-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: 2023-10-18
description: Remove supervisor related errors
version: 1.2.1
cvaas: true
- date: 2023-09-20
description: Add embedded information to extensions
version: 1.2.0
Expand Down
4 changes: 2 additions & 2 deletions arista/imagestatus.v1/imagestatus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ enum ErrorCode {
ERROR_CODE_GET_PROPOSED_IMAGE_INFO_FAILED = 5;
// ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED represents case where we
// fail to get running image information from an active supervisor.
ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED = 6;
ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_ACTIVE_SUPERVISOR_FAILED = 6 [deprecated=true];
// ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED represents case when we
// fail to get information from peer supervisor.
ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED = 7;
ERROR_CODE_GET_RUNNING_IMAGE_INFO_FROM_PEER_SUPERVISOR_FAILED = 7 [deprecated=true];
// ERROR_CODE_EOS_TA_ARCHITECTURE_INCOMPATIBLE represents the case where EOS architecture and
// TerminAttr architecture are incompatible.
ERROR_CODE_EOS_TA_ARCHITECTURE_INCOMPATIBLE = 8;
Expand Down

0 comments on commit cf3b54a

Please sign in to comment.