-
Notifications
You must be signed in to change notification settings - Fork 731
remove quagga for bgp show cli #3982
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
base: master
Are you sure you want to change the base?
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Makes the code cleaner
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
|
||
return result | ||
|
||
return "frr" |
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.
Can we move the get_routing-stack function to utilities_common?
@@ -88,17 +88,7 @@ | |||
# location (configdb?), so that we prevent the continous execution of this | |||
# bash oneliner. To be revisited once routing-stack info is tracked somewhere. | |||
def get_routing_stack(): |
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.
If we directly return frr, the show ip bgp command will become callable on any SONiC device even if the BGP container is not running on that device. This is different than before. For example, on the DPUs of smartswitches, are show ip bgp commands valid to execute?
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.
Good point, thanks for reminder, let me check it first. thanks.
What I did
The PR #3960 check the docker container's name.
Check the docker's name whether is exactly same with "bgp"
However, on multiple asic devices, there are several bgp containers, and named bgp0, bgp1 ....
How I did it
In master, return frr directly since there would no quagga in new release version and Remove quagga related UT code
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)