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

[202205] Don't create the members@ array in config_db for PC when reading from… #14028

Merged

Conversation

saiarcot895
Copy link
Contributor

… minigraph (#13660)

Fixes #11873.

When loading from minigraph, for port channels, don't create the members@ array in config_db in the PORTCHANNEL table. This is no longer needed or used.

In addition, when adding a port channel member from the CLI, that member doesn't get added into the members@ array, resulting in a bit of inconsistency. This gets rid of that inconsistency.

Cherry-pick of #13660.

Why I did it

How I did it

How to verify it

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

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

… minigraph (sonic-net#13660)

Fixes sonic-net#11873.

When loading from minigraph, for port channels, don't create the members@ array in config_db in the PORTCHANNEL table. This is no longer needed or used.

In addition, when adding a port channel member from the CLI, that member doesn't get added into the members@ array, resulting in a bit of inconsistency. This gets rid of that inconsistency.
@saiarcot895 saiarcot895 requested a review from qiluo-msft as a code owner March 1, 2023 00:28
@yxieca yxieca enabled auto-merge (squash) March 1, 2023 04:37
@yxieca yxieca merged commit 052cf9a into sonic-net:202205 Mar 1, 2023
@saiarcot895 saiarcot895 deleted the 202205-port-channel-dont-create-members branch March 1, 2023 19:42
arlakshm pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Mar 6, 2023
Description of PR
With sonic-net/sonic-buildimage#14028, lag members are not added in PORTCHANNEL table in config_db anymore. Fix Fix test_voq_intfs to retrieve lag members from PORTCHANNEL_MEMBER table.
wangxin pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Mar 7, 2023
Description of PR
With sonic-net/sonic-buildimage#14028, lag members are not added in PORTCHANNEL table in config_db anymore. Fix Fix test_voq_intfs to retrieve lag members from PORTCHANNEL_MEMBER table.
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