diff options
| author | Lou Berger <lberger@labn.net> | 2018-07-11 11:31:00 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-27 20:22:14 -0500 |
| commit | 160ce66a284b0e62d8fd1ad812d18ef17d4460f2 (patch) | |
| tree | 040fdcd1de93775ca30f3641e2e50036dc495207 | |
| parent | ffd3f544938eefd13c84ac4743c3afe1442d0aa7 (diff) | |
bgp_l3vpn_to_bgp_vrf: allow some time for updates to propogate
Signed-off-by: Lou Berger <lberger@labn.net>
| -rw-r--r-- | tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py index 0ff6bf6a22..7b2387bd0b 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_routes.py @@ -270,6 +270,7 @@ bgpribRequireUnicastRoutes('r4','ipv4','r4-cust2','Customer 2 routes in r4 vrf', # r1 vtysh -c "show bgp vrf r1-cust1 ipv4" # r1 vtysh -c "show bgp vrf r1-cust1 ipv4 5.1.2.0/24" +luCommand('ce1','vtysh -c "show bgp ipv4 uni"','10 routes and 10','wait','Local and remote routes', 10) want = [ {'p':'5.1.2.0/24', 'n':'192.168.1.1'}, {'p':'5.1.3.0/24', 'n':'192.168.1.1'}, @@ -278,6 +279,7 @@ want = [ ] bgpribRequireUnicastRoutes('ce1','ipv4','','Cust 1 routes from remote',want) +luCommand('ce2','vtysh -c "show bgp ipv4 uni"','10 routes and 12','wait','Local and remote routes', 10) want = [ {'p':'5.1.0.0/24', 'n':'192.168.1.1'}, {'p':'5.1.1.0/24', 'n':'192.168.1.1'}, @@ -295,7 +297,7 @@ luCommand('r4','vtysh -c "show bgp ipv4 vpn"') luCommand('r4','vtysh -c "show ip route vrf r4-cust1"') luCommand('r4','vtysh -c "show ip route vrf r4-cust2"') - +luCommand('ce3','vtysh -c "show bgp ipv4 uni"','10 routes and 10','wait','Local and remote routes', 10) # Requires bvl-bug-degenerate-no-label fix (FRR PR #2053) want = [ {'p':'5.1.0.0/24', 'n':'192.168.1.1'}, @@ -305,6 +307,7 @@ want = [ ] bgpribRequireUnicastRoutes('ce3','ipv4','','Cust 1 routes from remote',want) +luCommand('ce4','vtysh -c "show bgp ipv4 uni"','10 routes and 10','wait','Local and remote routes', 10) want = [ {'p':'5.1.0.0/24', 'n':'192.168.2.1'}, {'p':'5.1.1.0/24', 'n':'192.168.2.1'}, |
