Skip to content

Commit

Permalink
imagestatus.v1: Add ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE
Browse files Browse the repository at this point in the history
Add a new error code ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE in
imagestatus.proto to raise an error if the extension TerminAttr version
is lower than embedded TerminAttr.

Fixes: Fixes: BUG924126
Change-Id: Ie08029e2cda62d16cd0270a8e18bd445928ab618
  • Loading branch information
Yuki771 committed Mar 13, 2024
1 parent c317946 commit 49f7613
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 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: 2024-03-06
description: Add a new error code ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE
version: 1.8.0
cvaas: true
- date: 2024-02-08
description: Add a new warning code WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION
version: 1.7.0
Expand Down
3 changes: 3 additions & 0 deletions arista/imagestatus.v1/imagestatus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ enum ErrorCode {
// ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE represents the case where the physical device
// does not support the given EOS type.
ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE = 13;
// ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE represents the case where the extension TerminAttr
// version is lower than the embedded TerminAttr version in SWI.
ERROR_CODE_TA_EMBEDDEDEXT_INCOMPATIBLE = 14;
}

// ImageError wraps `ErrorCode` enum with a reason string.
Expand Down

0 comments on commit 49f7613

Please sign in to comment.