sonic-buildimage/src/sonic-yang-mgmt
Mohamed Ghoneim e0f5333d9c
[SY] Adding exceptlionList to validation exception (#10699)
#### 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)
2022-04-28 17:29:56 -07:00
..
tests [yang] Fix yang validation failure when table contains empty value (#10431) 2022-04-07 08:46:41 +08:00
.gitignore Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
AUTHORS.rst [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
LICENSE [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
README.rst [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
setup.cfg [sonic-yang-mgmt] Build PY3 & PY2 packages (#5559) 2020-11-07 13:03:41 -08:00
setup.py [YANG MGMT]: Support Grouping translation in YANG Models. (#8318) 2021-09-30 12:53:34 -07:00
sonic_yang_ext.py [SY] Adding exceptlionList to validation exception (#10699) 2022-04-28 17:29:56 -07:00
sonic_yang.py [sonic-yang-mgmt] Adding flag to disable/enable log printing (#9659) 2022-01-04 19:42:10 -08:00

"
This package includes python yang libraries which will be used with sonic utilities
pacakge to validate the config. This python libraries are written on top of libyang
and also provides functionality to translate the config from SONiC ConfigDB to SONiC
YANG and vice-versa.
"