topotests: cherry-pick fix for PR #3811Since this fix is being backported to 6.0 the topotests need to be
updated here as well.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Add a tiny breadcrumb to hopefully help end userAdd a breadcrumb for people testing to hopefully allow
them to figure out what is going wrong when they
are testing different versions of FRR using
topotests and staticd is not running because
this version of staticd needs to be cleaned up
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgp-ecmp-topo1: fix vrf default changePython's `string' method 'replace' doesn't actually modify the string,
instead it returns a new string with the modified content.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgp-ecmp-topo1: change default vrf nameBy default, default vrf name is default, whereas BGP default vrf was
hardcoded to Default. Because this will be fixes, do not care about the
vrf name field and apply a regexp to move Default to default.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
ospf6-topo1: Don't compare link-local routesTopotests would fail with errors like these:
AssertionError: Linux Kernel IPv6 Routing Table verification failed for router r1:
--- actual OSPFv3 IPv6 routing table
+++ expected OSPFv3 IPv6 routing table
@@ -8,6 +8,6 @@
fc00:4:4:4::/64 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium
fc00:a:a:a::/64 dev r1-sw5 proto XXXX metric 256 pref med...
lib, lm-proxy-topo1: label manager proxy testLabel proxy manager test covering both LDP and BGP label requests.
lib/topotest.py:restartRouter() function has been fixed in order to
allow propagating options to deamons other than zebra.
Signed-off-by: F. Aragon <paco@voltanet.io>
Clean up deprecated usage of router-idSigned-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
bfd-topo1: add fast reconvergence testTest that after a link goes down BGPd will be notified and recovered
quickly. Also test that BFD show command tells us that the peer went
down.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bfd-topo1: add convergence testsTest if BFD peers have found each other and if the BGP neighors have
connected.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgp_rfapi_basic_sanity_config2: added rfapi test with partial table download This is identical to bgp_rfapi_basic_sanity with the exception of non-default configSigned-off-by: Lou Berger <lberger@labn.net>
lib: fix `ip4_route_zebra` header removal codeThe `strip` function is actually a method of the String object.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
lib: Always attempt to set mpls platform_labelsThe code was not attempting to set the max platform_labels
on a per router basis, leaving us w/ situations where
mpls install would fail because platform_labels was 0.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf-sr-topo1: Actually look for installed dataThe ospf-sr-topo1 test was assuming that label
install would actually fail. Modify the code
so that it assumes label install would work.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf-topo1-vrf: show errors and reduce codeUse standardized code and fix assert messages to include errors.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>