Skip to content

Commit

Permalink
imagestatus.v1: Add WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION
Browse files Browse the repository at this point in the history
Add a warning code WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION
in imagestatus.proto to raise a warning if the running TerminAttr
version is below the minimum supported version.

Change-Id: I763215807be2efe274000cc073eefeb7b0825e25
  • Loading branch information
Yuki771 committed Feb 12, 2024
1 parent 4215c0c commit 0ffedf9
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-02-08
description: Add a new warning code WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION
version: 1.7.0
cvaas: true
- date: 2023-12-12
description: Add a new error code ERROR_CODE_PHYSICAL_DEVICE_EOS_INCOMPATIBLE
version: 1.6.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 @@ -360,6 +360,9 @@ enum WarningCode {
// WARNING_CODE_SUPPORT_REMOVED represents cases where the given EOS version no longer
// supports the SKUs.
WARNING_CODE_SUPPORT_REMOVED = 13;
// WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION represents cases where the running
// TerminAttr version is below CloudVision's minimum supported version.
WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION = 14;
}

// ImageWarning wraps `WarningCode` enum with a reason string.
Expand Down

0 comments on commit 0ffedf9

Please sign in to comment.