Skip to content

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

Closed
gitsabari wants to merge 3 commits intosonic-net:masterfrom
gitsabari:mclag_enhacements
Closed

mclag enhancements as per HLD at Azure/SONIC#596#25
gitsabari wants to merge 3 commits intosonic-net:masterfrom
gitsabari:mclag_enhacements

Conversation

@gitsabari
Copy link
Contributor

@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

"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
Contributor 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
Contributor 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