Skip to content

Commit 2c3d669

Browse files
Arista Jenkinsankita-mehta-bsn
authored andcommitted
update/configstatus.v1: Add Error_Code_Proposed_Config_Check
Add a new error code to classify issues originating from proposed configuration. [GENERATED_COMMIT] Change-Id: I976b57654618b5bf2b3b5e47ce004709ffa9ea5f
1 parent 09c5086 commit 2c3d669

5 files changed

Lines changed: 89 additions & 92 deletions

File tree

arista/configstatus/v1/configstatus_pb2.py

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arista/configstatus/v1/configstatus_pb2.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class _ErrorCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enum
4242
"""ERROR_CODE_CONFIG_FILTER_ERROR indicates error from partial config management filters"""
4343
ERROR_CODE_INTERNAL: _ErrorCode.ValueType # 5
4444
"""ERROR_CODE_INTERNAL indicates internal errors"""
45+
ERROR_CODE_PROPOSED_CONFIG_CHECK: _ErrorCode.ValueType # 6
46+
"""ERROR_CODE_PROPOSED_CONFIG_CHECK indicates an issue with the content of proposed configuration."""
4547

4648
class ErrorCode(_ErrorCode, metaclass=_ErrorCodeEnumTypeWrapper):
4749
"""ErrorCode indicates warnings and errors produced during computing config"""
@@ -58,6 +60,8 @@ ERROR_CODE_CONFIG_FILTER_ERROR: ErrorCode.ValueType # 4
5860
"""ERROR_CODE_CONFIG_FILTER_ERROR indicates error from partial config management filters"""
5961
ERROR_CODE_INTERNAL: ErrorCode.ValueType # 5
6062
"""ERROR_CODE_INTERNAL indicates internal errors"""
63+
ERROR_CODE_PROPOSED_CONFIG_CHECK: ErrorCode.ValueType # 6
64+
"""ERROR_CODE_PROPOSED_CONFIG_CHECK indicates an issue with the content of proposed configuration."""
6165
global___ErrorCode = ErrorCode
6266

6367
class _DiffOp:

0 commit comments

Comments
 (0)