-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[yang][smartswitch] Add YANG model for MID_PLANE_BRIDGE and DPU tables. #17311
[yang][smartswitch] Add YANG model for MID_PLANE_BRIDGE and DPU tables. #17311
Conversation
@yaqiangz could you please review following the changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ganglyu Could you help to review this PR? |
} | ||
} | ||
|
||
leaf midplane_interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
midplane_interface value is the same as dpu_name, why do we still need this leaf?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dpu_name
is a key of the table and represents the name of the DPU.
midplane_interface
is the attribute of the DPU and represents the name of the midplane (PCIe) interface.
Even though they share the same name (for convenience) they represent the different entities.
Would you please update src/sonic-yang-models/doc/Configuration.md? |
4183906
to
bee9588
Compare
@ganglyu done |
/azp run Azure.sonic-buildimage |
Commenter does not have sufficient privileges for PR 17311 in repo sonic-net/sonic-buildimage |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it
Add the YANG model according to Smart Switch IP address assignment HDL.
Work item tracking
How I did it
Implement new YANG model containers.
How to verify it
Run YANG model unit tests. The changes add new unit tests to cover new functionality.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)