Skip to content
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

mclag enhancements as per HLD at Azure/SONIC#596 #25

Closed
wants to merge 3 commits into from

Conversation

gitsabari
Copy link

@gitsabari gitsabari commented Sep 28, 2020

What I did
This PR contains the code changes to support management framework changes for mclag enhancements as per HLD sonic-net/SONiC#596

Why I did it
Implemented as per the MCLAG enhancements HLD: sonic-net/SONiC#596

How I verified it
Mclag specific VS tests included part of check-in.

Details:
The PR includes management framework changes part of MCLAG enhancements
This PR must work with submitted PR's in other sonic repositories which are listed below.
> Iccpd: sonic-net/sonic-buildimage#4819
> Swss: sonic-net/sonic-swss#1331
> swss-common: sonic-net/sonic-swss-common#405
> Mclagsyncd: sonic-net/sonic-swss#1349
> Utilities: sonic-net/sonic-utilities#1138
> Mgmt-FW: sonic-net/sonic-mgmt-framework#59

)

func init() {
XlateFuncBind("YangToDb_mclag_domainid_fld_xfmr", YangToDb_mclag_domainid_fld_xfmr)

Choose a reason for hiding this comment

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

Why these field-transformers like (YangToDb_mclag_domainid_fld_xfmr) is required, since openconfig-mclag-annot.yang is not part of this PR? Also couldn't see any other open PR for that OC-yang mclag extension. Also KLISH cmds in other PR (sonic-net/sonic-mgmt-framework#59) uses sonic-yang for configuration

translib/transformer/xfmr_mclag.go Show resolved Hide resolved
"strconv"
"strings"
"translib/db"
"translib/ocbinds"

Choose a reason for hiding this comment

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

Are you using openconfig-yang models?

Copy link
Author

Choose a reason for hiding this comment

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

yes, will udpate oc yang along with this PR

@gitsabari
Copy link
Author

since sonic-yang files got moved to sonic-buildimage removing this PR as this doesn't hold good

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.

4 participants