summaryrefslogtreecommitdiff
path: root/tests/topotests/pytest.ini
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-30 08:49:40 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-10-01 07:45:38 -0400
commitaa2a0498f348a0c5d19f6138ee91dd0bac295bc9 (patch)
treecdb9c64a99241cd0f3754e5f2424031caff95650 /tests/topotests/pytest.ini
parent698603ce6d7e04af945b28141b7c77adb70c4caf (diff)
tests: Add a topology that shows broken ibgp behavior
In a leaf/spine topology with only IBGP connections, where the same network is being redistributed at multiple points in the network ( say a redistribute connected at both leaf and spines ) we end up in a state where zebra gets very confused. eva# show ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued route, r - rejected route C>* 192.168.1.0/24 is directly connected, tor1-eth0, 00:00:30 C>* 192.168.2.0/24 is directly connected, tor1-eth1, 00:00:30 B 192.168.3.0/24 [200/0] via 192.168.4.2 inactive, 00:00:25 via 192.168.6.2 inactive, 00:00:25 B>* 192.168.4.0/24 [200/0] via 192.168.2.3, tor1-eth1, 00:00:25 * via 192.168.6.2 inactive, 00:00:25 C>* 192.168.5.0/24 is directly connected, tor1-eth2, 00:00:30 B>* 192.168.6.0/24 [200/0] via 192.168.4.2 inactive, 00:00:25 * via 192.168.5.4, tor1-eth2, 00:00:25 Effectively we have ibgp routes recursing through ibgp routes and there is no metric to discern whom to listen to. This draft: https://tools.ietf.org/html/draft-ietf-idr-bgp-optimal-route-reflection-19 appears to address this issue. From looking at both cisco and arista deployments they are handling this issue by having the route reflector prefer the localy learned routes over from their clients. Add this topology, in a broken state, so that when we do fix this issue it is a simple matter of touching this topology up and re-adding it to the normal daily builds. I also wanted to add this topology since it is in a state of `doneness` and I wanted to move onto my normal day job without having to remember about this test. This topology is not configured to be run as part of the normal topotests. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests/topotests/pytest.ini')
-rw-r--r--tests/topotests/pytest.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/pytest.ini b/tests/topotests/pytest.ini
index b65f93856f..b052bb7c8d 100644
--- a/tests/topotests/pytest.ini
+++ b/tests/topotests/pytest.ini
@@ -1,6 +1,6 @@
# Skip pytests example directory
[pytest]
-norecursedirs = .git example-test example-topojson-test lib docker bgp-ecmp-topo2
+norecursedirs = .git example-test example-topojson-test lib docker bgp-ecmp-topo2 bgp_rr_ibgp
[topogen]
# Default configuration values