-
Notifications
You must be signed in to change notification settings - Fork 732
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
[bgp] Don't use portchannel members entry #7568
Conversation
The `members` entry in the `PORTCHANNEL` table has been removed. Switch to using `PORTCHANNEL_MEMBERS` instead. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@@ -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', {}) |
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.
Likely some change in the image changed the naming convention?
Do you know if other test modules need such naming 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.
It was caused by sonic-net/sonic-buildimage#13660
Hi @saiarcot895 , should we cherry-pick this change to other branches? |
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. |
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
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
Description of PR
Summary:
Fixes sonic-net/sonic-buildimage#11873
Type of change
Back port request
Approach
What is the motivation for this PR?
The
members
entry in thePORTCHANNEL
table has been removed. Switch to usingPORTCHANNEL_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