-
Notifications
You must be signed in to change notification settings - Fork 30
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
Running BGP health test on switch without multi-agent #943
Comments
Hi @kosichd, These tests are indeed only supported on switches running with The We have simpified the logic of this in PR #888, where we now use |
Thanks for the quick reply @carl-baillargeon |
Anytime @kosichd. I will add a note in our documentation around this. Thanks! |
The goal for this one would be to write two new tests in parallel of The documentation warning needs to be updated |
@kosichd please give these new tests a run and lets us know if that works for you! You need to install ANTA from main. |
Hi @gmuloc the below works:
But does the neighbor have to be explicitly defined? Or can you just specify the VRF like in VerifyBGPPeersHealth and have it check all neighbors in that VRF?
|
Sorry @gmuloc i see there are two tests, VerifyBGPPeersHealthRibd AND VerifyBGPPeerSessionRibd. I will try PeersHealth right now |
Hello @kosichd - as it is implemented today you need to give the peer IP (following the test |
@gmuloc is this the syntax for the new VerifyBGPPeersHealthRibd test?
|
You can find the test documentation in the https://anta.arista.com/main/api/tests.routing.bgp/#anta.tests.routing.bgp.VerifyBGPPeersHealthRibd you cannot give address families for ribd, nor any specific VRF - maybe this test can be augmented to filter on specific VRFs |
I understand now, thanks @gmuloc. Thanks to the ANTA team for implementing! |
On switches that do not have "service routing protocols model multi-agent" configured, the cmd "show bgp {afi} {safi} summary is not supported. When using VerifyBGPSpecificPeers or VerifyBGPHealth tests, it seems to only work if the switch in question is using mulit-agent. For switches that have "service routing protocols model ribd" configured, there should be a way for the test to run "show ip bgp sum'
It seems the problem may be here, as "show bgp {afi} sum' is not a valid EOS command:
From a switch running 4.31.5M, 'summary' is not an option
switch#sh bgp ipv4 ?
access-list Named access-list
labeled-unicast Display labeled-unicast information
multicast Display multicast information
unicast Display unicast information
Also from a switch not running multi-agent:
switch#sh bgp ipv4 unicast sum
% Not supported
The text was updated successfully, but these errors were encountered: