Skip to content

[yang]Add missing fields in PortChannel yang model #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

dgsudharsan
Copy link
Owner

Why I did it

Added Missing fields in sonic-portchannel yang model.
"fallback" and "fast_rate" fields are present in configuration schema but not in yang model. This leads to traceback when yang is validated

sonic_yang(3):All Keys are not parsed in PORTCHANNEL
dict_keys(['PortChannel100'])
sonic_yang(3):exceptionList:["'fast_rate'"]
sonic_yang(3):Data Loading Failed:All Keys are not parsed in PORTCHANNEL
dict_keys(['PortChannel100'])
exceptionList:["'fast_rate'"]
Data Loading Failed
All Keys are not parsed in PORTCHANNEL
dict_keys(['PortChannel100'])
exceptionList:["'fast_rate'"]
ConfigMgmt Class creation failed
Failed to break out Port. Error: Failed to load the config. Error: ConfigMgmtDPB Class creation failed

How I did it

Updated yang model

How to verify it

Added tests to verify

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

Part of the PR

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

@dgsudharsan dgsudharsan closed this Mar 1, 2023
@dgsudharsan dgsudharsan deleted the lag_yang_fix branch March 9, 2023 01:59
dgsudharsan pushed a commit that referenced this pull request Jan 15, 2025
…ly (sonic-net#21230)

#### Why I did it
src/dhcprelay
```
* b242307 - (HEAD -> master, origin/master, origin/HEAD) Revert "Fail build when test fail (#53)" (#62) (19 hours ago) [Yaqiang Zhu]
* dbaee8b - Fail build when test fail (#53) (6 days ago) [Yaqiang Zhu]
* ef7b972 - [Build] Update to build bookworm debian package (#55) (8 days ago) [Yaqiang Zhu]
* 011066a - Add wait and check ip address check when dhcp6relay init (#52) (11 days ago) [Yaqiang Zhu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
dgsudharsan pushed a commit that referenced this pull request Mar 17, 2025
…lly (sonic-net#808)

#### Why I did it
src/sonic-swss
```
* 4bd7d81 - (HEAD -> 202412, origin/202412) [code sync] Merge code from sonic-net/sonic-swss:202411 to 202412 (#53) (16 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
dgsudharsan pushed a commit that referenced this pull request Mar 31, 2025
…ly (sonic-net#22145)

#### Why I did it
src/sonic-stp
```
* 9949755 - (HEAD -> master, origin/master, origin/HEAD) MSTP PTX/PRX state machine APIs (#53) (18 hours ago) [Divya Kumaran Chandralekha]
* 12cb28f - Mstp feature - State machine APIs (#51) (23 hours ago) [Divya Kumaran Chandralekha]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

2 participants