From 5489736f8070aeef748605a13f37d8100d5f2f2a Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Tue, 7 Sep 2021 16:59:07 +0300 Subject: [PATCH] tests: fix vrf id for bgp views VRF ID is now always 0 for views. Signed-off-by: Igor Ryzhov --- .../bgp_multiview_topo1/r1/show_ip_bgp_view_1-post4.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_1-post6.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_2-post6.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref | 2 +- .../bgp_multiview_topo1/r1/show_ip_bgp_view_3-post6.1.ref | 2 +- 6 files changed, 6 insertions(+), 6 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 6b20e1df5a..2c51bcfce2 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,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 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 5469eaa1cc..2f6ee568cd 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_2-post4.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref index a64927c92d..b43f4b3f2d 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,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 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 8d4a843b84..d378ed98c8 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_3-post4.1.ref b/tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref index a3b9ef0888..5dff67c53c 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,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 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 117e48847a..3435fabfc9 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 -- 2.39.5