From 7023a395fc88a7948a8ebf03a0272660a96622fc Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 12 Nov 2019 16:41:50 +0200 Subject: [PATCH] tests: Use vrf id 0 in bgp_multiview_topo1 tests Signed-off-by: Donatas Abraitis --- .../r1/show_ip_bgp_view_1-post4.1.ref | 3 ++- .../r1/show_ip_bgp_view_1-post6.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_1.ref | 10 ++++++---- .../r1/show_ip_bgp_view_2-post4.1.ref | 3 ++- .../r1/show_ip_bgp_view_2-post6.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_2.ref | 10 ++++++---- .../r1/show_ip_bgp_view_3-post4.1.ref | 3 ++- .../r1/show_ip_bgp_view_3-post6.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_3.ref | 10 ++++++---- 9 files changed, 27 insertions(+), 18 deletions(-) diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post4.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post4.1.ref index 9e30bf2ef0..c2aeef8585 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post4.1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post4.1.ref @@ -1,4 +1,5 @@ -BGP table version is XXX, local router ID is 172.30.1.1, vrf id - +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 +Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post6.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post6.1.ref index 2cf87487ab..c2aeef8585 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post6.1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post6.1.ref @@ -1,4 +1,4 @@ -BGP table version is XXX, local router ID is 172.30.1.1, vrf id - +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1.ref index 6f1b1a1036..c2aeef8585 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1.ref @@ -1,7 +1,9 @@ -BGP table version is XXX, local router ID is 172.30.1.1 -Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, - i internal, r RIB-failure, S Stale, R Removed -Origin codes: i - IGP, e - EGP, ? - incomplete +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 +Default local pref 100, local AS 100 +Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, + i internal, r RIB-failure, S Stale, R Removed +Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self +Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.1.0/24 172.16.1.5 0 65005 i diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref index 39eb3134be..d03d3419bc 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref @@ -1,4 +1,5 @@ -BGP table version is XXX, local router ID is 172.30.1.1, vrf id - +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 +Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post6.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post6.1.ref index 9d1b948b5c..d03d3419bc 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post6.1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post6.1.ref @@ -1,4 +1,4 @@ -BGP table version is XXX, local router ID is 172.30.1.1, vrf id - +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2.ref index 0230d25f53..d03d3419bc 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2.ref @@ -1,7 +1,9 @@ -BGP table version is XXX, local router ID is 172.30.1.1 -Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, - i internal, r RIB-failure, S Stale, R Removed -Origin codes: i - IGP, e - EGP, ? - incomplete +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 +Default local pref 100, local AS 100 +Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, + i internal, r RIB-failure, S Stale, R Removed +Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self +Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.1.0/24 172.16.1.4 0 65004 i diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref index fa53d79e88..5e2f0474bc 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref @@ -1,4 +1,5 @@ -BGP table version is XXX, local router ID is 172.30.1.1, vrf id - +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 +Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post6.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post6.1.ref index 8b66fa67ec..5e2f0474bc 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post6.1.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post6.1.ref @@ -1,4 +1,4 @@ -BGP table version is XXX, local router ID is 172.30.1.1, vrf id - +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 Default local pref 100, local AS 100 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed diff --git a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3.ref index b7e8c79d3c..5e2f0474bc 100644 --- a/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3.ref +++ b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3.ref @@ -1,7 +1,9 @@ -BGP table version is XXX, local router ID is 172.30.1.1 -Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, - i internal, r RIB-failure, S Stale, R Removed -Origin codes: i - IGP, e - EGP, ? - incomplete +BGP table version is XXX, local router ID is 172.30.1.1, vrf id 0 +Default local pref 100, local AS 100 +Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, + i internal, r RIB-failure, S Stale, R Removed +Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self +Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 10.0.1.0/24 172.16.1.8 0 65008 i -- 2.39.5