Skip to content

Commit

Permalink
imagestatus.v1: Add a warning code WARNING_CODE_TA_STUDIO_INCOMPATIBLE
Browse files Browse the repository at this point in the history
Add a new warning code WARNING_CODE_TA_STUDIO_INCOMPATIBLE in
imagestatus.proto to raise a warning if the TerminAttr is incompatible
with Software Management Studio.

[GENERATED_COMMIT]

Change-Id: I25b3f7df90589774d8408cd7b885594de377e39b
  • Loading branch information
Arista-Jenkins authored and Yuki771 committed May 23, 2024
1 parent cae33fe commit 01e3020
Show file tree
Hide file tree
Showing 5 changed files with 352 additions and 15 deletions.
6 changes: 3 additions & 3 deletions arista/imagestatus/v1/imagestatus_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions arista/imagestatus/v1/imagestatus_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,11 @@ class _WarningCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._En
TerminAttr version is below CloudVision's minimum supported version.
"""

WARNING_CODE_TA_STUDIO_INCOMPATIBLE: _WarningCode.ValueType # 15
"""WARNING_CODE_TA_STUDIO_INCOMPATIBLE represents cases where the TerminAttr is incompatible
with Software Management Studio.
"""

class WarningCode(_WarningCode, metaclass=_WarningCodeEnumTypeWrapper):
"""WarningCode indicates warnings produced during image validations."""
pass
Expand Down Expand Up @@ -451,6 +456,11 @@ WARNING_CODE_RUNNING_TA_BELOW_MIN_SUPPORTED_VERSION: WarningCode.ValueType # 14
TerminAttr version is below CloudVision's minimum supported version.
"""

WARNING_CODE_TA_STUDIO_INCOMPATIBLE: WarningCode.ValueType # 15
"""WARNING_CODE_TA_STUDIO_INCOMPATIBLE represents cases where the TerminAttr is incompatible
with Software Management Studio.
"""

global___WarningCode = WarningCode


Expand Down
Loading

0 comments on commit 01e3020

Please sign in to comment.