]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Incorporated new static route del behaviour
authornaveen <nguggarigoud@vmware.com>
Tue, 21 Jul 2020 14:04:42 +0000 (19:34 +0530)
committerVijay Kumar Gupta <vijayg@vmware.com>
Fri, 11 Dec 2020 00:44:48 +0000 (16:44 -0800)
Updated 2 testcases with static  route deletion with
admin distance as a key.

Signed-off-by: naveen <nguggarigoud@vmware.com>
tests/topotests/static_routing_with_ebgp/test_static_routes_topo1_ebgp.py
tests/topotests/static_routing_with_ibgp/test_static_routes_topo1_ibgp.py

index f9da188688fd84e9913d22cb6bf59aec43b35b75..a9e62282526ee75df61db1eafe7aff05ea412d24 100644 (file)
@@ -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,
                     }
                 ]
index cf486812398e93433a44bcac47e144dc196d1ccf..6476d9cb0c76e0c3df782685c776d46298ea6a14 100644 (file)
@@ -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,
                     }
                 ]