From 9057cd2cc3d8ae4d7de7195cafb4e21357c0784b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 26 Aug 2017 20:08:06 -0400 Subject: [PATCH] eigrp-topo1: Correct eigrp test results. The values saved for the route table and eigrp topo were a bit off because they have been corrected in the eigrp daemon Signed-off-by: Donald Sharp --- tests/topotests/eigrp-topo1/r1/eigrpd.conf | 2 +- tests/topotests/eigrp-topo1/r1/show_ip_eigrp.ref | 4 ++++ tests/topotests/eigrp-topo1/r1/show_ip_route.ref | 2 ++ tests/topotests/eigrp-topo1/r2/show_ip_eigrp.ref | 14 ++++++++++++++ tests/topotests/eigrp-topo1/r2/show_ip_route.ref | 2 ++ tests/topotests/eigrp-topo1/r3/eigrpd.conf | 2 +- tests/topotests/eigrp-topo1/r3/show_ip_eigrp.ref | 14 ++++++++++++++ tests/topotests/eigrp-topo1/r3/show_ip_route.ref | 2 ++ 8 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 tests/topotests/eigrp-topo1/r2/show_ip_eigrp.ref create mode 100644 tests/topotests/eigrp-topo1/r3/show_ip_eigrp.ref diff --git a/tests/topotests/eigrp-topo1/r1/eigrpd.conf b/tests/topotests/eigrp-topo1/r1/eigrpd.conf index 6fd361afa6..9994a634e4 100644 --- a/tests/topotests/eigrp-topo1/r1/eigrpd.conf +++ b/tests/topotests/eigrp-topo1/r1/eigrpd.conf @@ -1,7 +1,7 @@ log file /tmp/r1-eigrpd.log ! router eigrp 1 - network 193.1.1.0/26 + network 0.0.0.0/0 ! line vty ! diff --git a/tests/topotests/eigrp-topo1/r1/show_ip_eigrp.ref b/tests/topotests/eigrp-topo1/r1/show_ip_eigrp.ref index 190a570df1..a2d7b3307d 100644 --- a/tests/topotests/eigrp-topo1/r1/show_ip_eigrp.ref +++ b/tests/topotests/eigrp-topo1/r1/show_ip_eigrp.ref @@ -6,5 +6,9 @@ Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply P 193.1.1.0/26, 1 successors, FD is 28160, serno: 0 via Connected, r1-eth1 +P 192.168.1.0/24, 1 successors, FD is 28160, serno: 0 + via Connected, r1-eth0 P 193.1.2.0/24, 1 successors, FD is 30720, serno: 0 via 193.1.1.2 (30720/28160), r1-eth1 +P 192.168.3.0/24, 1 successors, FD is 33280, serno: 0 + via 193.1.1.2 (33280/30720), r1-eth1 diff --git a/tests/topotests/eigrp-topo1/r1/show_ip_route.ref b/tests/topotests/eigrp-topo1/r1/show_ip_route.ref index 2e81211667..7f7a2fff95 100644 --- a/tests/topotests/eigrp-topo1/r1/show_ip_route.ref +++ b/tests/topotests/eigrp-topo1/r1/show_ip_route.ref @@ -3,7 +3,9 @@ Codes: K - kernel route, C - connected, S - static, R - RIP, T - Table, v - VNC, V - VNC-Direct, A - Babel, > - selected route, * - FIB route +E 192.168.1.0/24 [0/0] is directly connected, r1-eth0 C>* 192.168.1.0/24 is directly connected, r1-eth0 +E>* 192.168.3.0/24 [0/0] via 193.1.1.2, r1-eth1 E 193.1.1.0/26 [0/0] is directly connected, r1-eth1 C>* 193.1.1.0/26 is directly connected, r1-eth1 E>* 193.1.2.0/24 [0/0] via 193.1.1.2, r1-eth1 diff --git a/tests/topotests/eigrp-topo1/r2/show_ip_eigrp.ref b/tests/topotests/eigrp-topo1/r2/show_ip_eigrp.ref new file mode 100644 index 0000000000..cce49cda07 --- /dev/null +++ b/tests/topotests/eigrp-topo1/r2/show_ip_eigrp.ref @@ -0,0 +1,14 @@ + +EIGRP Topology Table for AS(1)/ID(193.1.2.1) + +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply + r - reply Status, s - sia Status + +P 193.1.1.0/26, 1 successors, FD is 28160, serno: 0 + via Connected, r2-eth0 +P 192.168.1.0/24, 1 successors, FD is 30720, serno: 0 + via 193.1.1.1 (30720/28160), r2-eth0 +P 193.1.2.0/24, 1 successors, FD is 28160, serno: 0 + via Connected, r2-eth1 +P 192.168.3.0/24, 1 successors, FD is 30720, serno: 0 + via 193.1.2.2 (30720/28160), r2-eth1 diff --git a/tests/topotests/eigrp-topo1/r2/show_ip_route.ref b/tests/topotests/eigrp-topo1/r2/show_ip_route.ref index c82247fb1e..13ef7c6182 100644 --- a/tests/topotests/eigrp-topo1/r2/show_ip_route.ref +++ b/tests/topotests/eigrp-topo1/r2/show_ip_route.ref @@ -3,6 +3,8 @@ Codes: K - kernel route, C - connected, S - static, R - RIP, T - Table, v - VNC, V - VNC-Direct, A - Babel, > - selected route, * - FIB route +E>* 192.168.1.0/24 [0/0] via 193.1.1.1, r2-eth0 +E>* 192.168.3.0/24 [0/0] via 193.1.2.2, r2-eth1 E 193.1.1.0/26 [0/0] is directly connected, r2-eth0 C>* 193.1.1.0/26 is directly connected, r2-eth0 E 193.1.2.0/24 [0/0] is directly connected, r2-eth1 diff --git a/tests/topotests/eigrp-topo1/r3/eigrpd.conf b/tests/topotests/eigrp-topo1/r3/eigrpd.conf index 10f939fa5b..460b9f0133 100644 --- a/tests/topotests/eigrp-topo1/r3/eigrpd.conf +++ b/tests/topotests/eigrp-topo1/r3/eigrpd.conf @@ -2,5 +2,5 @@ log file /tmp/r3-eigrpd.log ! ! router eigrp 1 - network 193.1.2.0/24 + network 0.0.0.0/0 diff --git a/tests/topotests/eigrp-topo1/r3/show_ip_eigrp.ref b/tests/topotests/eigrp-topo1/r3/show_ip_eigrp.ref new file mode 100644 index 0000000000..70f3d3f98b --- /dev/null +++ b/tests/topotests/eigrp-topo1/r3/show_ip_eigrp.ref @@ -0,0 +1,14 @@ + +EIGRP Topology Table for AS(1)/ID(193.1.2.2) + +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply + r - reply Status, s - sia Status + +P 193.1.1.0/26, 1 successors, FD is 30720, serno: 0 + via 193.1.2.1 (30720/28160), r3-eth1 +P 192.168.1.0/24, 1 successors, FD is 33280, serno: 0 + via 193.1.2.1 (33280/30720), r3-eth1 +P 193.1.2.0/24, 1 successors, FD is 28160, serno: 0 + via Connected, r3-eth1 +P 192.168.3.0/24, 1 successors, FD is 28160, serno: 0 + via Connected, r3-eth0 diff --git a/tests/topotests/eigrp-topo1/r3/show_ip_route.ref b/tests/topotests/eigrp-topo1/r3/show_ip_route.ref index ce1fcf7136..c12965c1a7 100644 --- a/tests/topotests/eigrp-topo1/r3/show_ip_route.ref +++ b/tests/topotests/eigrp-topo1/r3/show_ip_route.ref @@ -3,7 +3,9 @@ Codes: K - kernel route, C - connected, S - static, R - RIP, T - Table, v - VNC, V - VNC-Direct, A - Babel, > - selected route, * - FIB route +E>* 192.168.1.0/24 [0/0] via 193.1.2.1, r3-eth1 S>* 192.168.2.0/24 [1/0] via 192.168.3.10, r3-eth0 +E 192.168.3.0/24 [0/0] is directly connected, r3-eth0 C>* 192.168.3.0/24 is directly connected, r3-eth0 E>* 193.1.1.0/26 [0/0] via 193.1.2.1, r3-eth1 E 193.1.2.0/24 [0/0] is directly connected, r3-eth1 -- 2.39.5