Skip to content

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

Closed
dgsudharsan wants to merge 2 commits intomasterfrom
lag_yang_fix
Closed

[yang]Add missing fields in PortChannel yang model#53
dgsudharsan wants to merge 2 commits intomasterfrom
lag_yang_fix

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
dgsudharsan pushed a commit that referenced this pull request Sep 24, 2025
…sonic-net#23964)

#### Why I did it
src/dhcpmon
```
* 4531323 - (HEAD -> master, origin/master, origin/HEAD) [init] Init physical interfaces without portchannel in counter (#53) (2 days ago) [Yaqiang Zhu]
* 84d8d1c - Add a dhcp type validation when increasing cache counter (#52) (4 days ago) [Yanpeng Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
dgsudharsan pushed a commit that referenced this pull request Feb 5, 2026
…tically (sonic-net#24642)

#### Why I did it
src/sonic-dash-api
```
* 3f22b2c - (HEAD -> 202511, origin/202511) [action] [PR:51] Modify dependencies to fix broken parallel build (#53) (7 days ago) [mssonicbld]
* e7bf8e4 - Automated agent pool migration for branch 202511 (#52) (2 weeks ago) [yijingyan2]
```
#### 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