From: naveen Date: Tue, 21 Jul 2020 14:04:42 +0000 (+0530) Subject: tests: Incorporated new static route del behaviour X-Git-Tag: base_7.6~102^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=72babe7cf3273a9c5264a260e093ce53100adf37;p=matthieu%2Ffrr.git tests: Incorporated new static route del behaviour Updated 2 testcases with static route deletion with admin distance as a key. Signed-off-by: naveen --- diff --git a/tests/topotests/static_routing_with_ebgp/test_static_routes_topo1_ebgp.py b/tests/topotests/static_routing_with_ebgp/test_static_routes_topo1_ebgp.py index f9da188688..a9e6228252 100644 --- a/tests/topotests/static_routing_with_ebgp/test_static_routes_topo1_ebgp.py +++ b/tests/topotests/static_routing_with_ebgp/test_static_routes_topo1_ebgp.py @@ -703,6 +703,7 @@ def test_static_route_2nh_admin_dist_p0_tc_2_ebgp(request): { "network": NETWORK[addr_type], "next_hop": NEXT_HOP_IP["nh1"][addr_type], + "admin_distance": 10, "delete": True, } ] @@ -789,6 +790,7 @@ def test_static_route_2nh_admin_dist_p0_tc_2_ebgp(request): { "network": NETWORK[addr_type], "next_hop": NEXT_HOP_IP["nh2"][addr_type], + "admin_distance": 20, "delete": True, } ] diff --git a/tests/topotests/static_routing_with_ibgp/test_static_routes_topo1_ibgp.py b/tests/topotests/static_routing_with_ibgp/test_static_routes_topo1_ibgp.py index cf48681239..6476d9cb0c 100644 --- a/tests/topotests/static_routing_with_ibgp/test_static_routes_topo1_ibgp.py +++ b/tests/topotests/static_routing_with_ibgp/test_static_routes_topo1_ibgp.py @@ -702,6 +702,7 @@ def test_static_route_2nh_admin_dist_p0_tc_2_ibgp(request): { "network": NETWORK[addr_type], "next_hop": NEXT_HOP_IP["nh1"][addr_type], + "admin_distance": 10, "delete": True, } ] @@ -788,6 +789,7 @@ def test_static_route_2nh_admin_dist_p0_tc_2_ibgp(request): { "network": NETWORK[addr_type], "next_hop": NEXT_HOP_IP["nh2"][addr_type], + "admin_distance": 20, "delete": True, } ]