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

[bgp] Don't use portchannel members entry #7568

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

saiarcot895
Copy link
Contributor

Description of PR

Summary:
Fixes sonic-net/sonic-buildimage#11873

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

The members entry in the PORTCHANNEL table has been removed. Switch to using PORTCHANNEL_MEMBERS instead.

Related to sonic-net/sonic-buildimage#13660

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

The `members` entry in the `PORTCHANNEL` table has been removed. Switch
to using `PORTCHANNEL_MEMBERS` instead.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@saiarcot895 saiarcot895 marked this pull request as ready for review February 26, 2023 07:30
@@ -104,7 +104,7 @@ def _verify_prefix_counters_from_neighbor_after_graceful_restart(duthost, bgp_ne

config_facts = duthost.config_facts(host=duthost.hostname, source="running")['ansible_facts']
bgp_neighbors = config_facts.get('BGP_NEIGHBOR', {})
portchannels = config_facts.get('PORTCHANNEL', {})
Copy link
Collaborator

Choose a reason for hiding this comment

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

Likely some change in the image changed the naming convention?
Do you know if other test modules need such naming changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yejianquan
Copy link
Collaborator

Hi @saiarcot895 , should we cherry-pick this change to other branches?

@saiarcot895
Copy link
Contributor Author

Probably yes. The original PR will be going to the 202205 and 202211 branches, but I forgot to set the labels there, so they're not yet marked for cherry-pick. Regardless, this change can and should go into sonic-mgmt's 202205 branch before sonic-net/sonic-buildimage#13660 gets cherry-picked to 202205.

Copy link
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

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

LGTM

@yejianquan yejianquan merged commit 21c2137 into sonic-net:master Feb 27, 2023
yejianquan pushed a commit that referenced this pull request Feb 27, 2023
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

Description of PR
Summary:
Fixes sonic-net/sonic-buildimage#11873
sonic-net/sonic-buildimage#11873

Approach
What is the motivation for this PR?
The members entry in the PORTCHANNEL table has been removed. Switch to using PORTCHANNEL_MEMBERS instead.

Related to sonic-net/sonic-buildimage#13660
sonic-net/sonic-buildimage#13660
@saiarcot895 saiarcot895 deleted the fix-bgp-gr-portchannel-test branch February 27, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[LAG] Inconsistency in LAG members configuration in config DB
2 participants