Skip to content

[SY] Adding exceptlionList to validation exception#10699

Merged
ghooo merged 1 commit intosonic-net:masterfrom
ghooo:sy_ex_list
Apr 29, 2022
Merged

[SY] Adding exceptlionList to validation exception#10699
ghooo merged 1 commit intosonic-net:masterfrom
ghooo:sy_ex_list

Conversation

@ghooo
Copy link
Contributor

@ghooo ghooo commented Apr 27, 2022

Why I did it

Adding exceptlionList to validation exception

How I did it

Check code.

How to verify it

Ran manually.

  • Run full config validation from a KVM
  • Print the thrown exception

Before

Error: Data Loading Failed
All Keys are not parsed in FEATURE
dict_keys(['telemetry'])

After

Error: Data Loading Failed
All Keys are not parsed in FEATURE
dict_keys(['telemetry'])
exceptionList:["'status'"]

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@ghooo ghooo requested a review from lguohan as a code owner April 27, 2022 19:14
@ghooo ghooo requested review from praveen-li and qiluo-msft April 28, 2022 23:10
@qiluo-msft
Copy link
Collaborator

@praveen-li Could you help review?

Copy link
Member

@praveen-li praveen-li left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, no harm in keeping this.

@ghooo ghooo merged commit e0f5333 into sonic-net:master Apr 29, 2022
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jun 20, 2022
#### Why I did it
Adding exceptlionList to validation exception

#### How I did it
Check code.

#### How to verify it
Ran manually.
- Run full config validation from a KVM
- Print the thrown exception

**Before**
```
Error: Data Loading Failed
All Keys are not parsed in FEATURE
dict_keys(['telemetry'])
```
**After**
```
Error: Data Loading Failed
All Keys are not parsed in FEATURE
dict_keys(['telemetry'])
exceptionList:["'status'"]
```

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111

#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/SONiC/wiki/Configuration.
-->

#### A picture of a cute animal (not mandatory but encouraged)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants