diff --git a/tests/test_route.py b/tests/test_route.py index 923b53734b..1bb33fc895 100644 --- a/tests/test_route.py +++ b/tests/test_route.py @@ -164,6 +164,7 @@ def test_RouteAddRemoveIpv4Route(self, dvs, testlog): # add route entry dvs.runcmd("vtysh -c \"configure terminal\" -c \"ip route 2.2.2.0/24 10.0.0.1\"") + dvs.runcmd("vtysh -c \"configure terminal\" -c \"ip route 0.0.0.0/0 10.0.0.1\"") # check application database self.pdb.wait_for_entry("ROUTE_TABLE", "2.2.2.0/24") @@ -176,6 +177,7 @@ def test_RouteAddRemoveIpv4Route(self, dvs, testlog): # remove route entry dvs.runcmd("vtysh -c \"configure terminal\" -c \"no ip route 2.2.2.0/24 10.0.0.1\"") + dvs.runcmd("vtysh -c \"configure terminal\" -c \"no ip route 0.0.0.0/0 10.0.0.1\"") # check application database self.pdb.wait_for_deleted_entry("ROUTE_TABLE", "2.2.2.0/24") @@ -236,6 +238,7 @@ def test_RouteAddRemoveIpv6Route(self, dvs, testlog): # add route entry dvs.runcmd("vtysh -c \"configure terminal\" -c \"ipv6 route 3000::0/64 2000::2\"") + dvs.runcmd("vtysh -c \"configure terminal\" -c \"ipv6 route ::/0 2000::2\"") # check application database self.pdb.wait_for_entry("ROUTE_TABLE", "3000::/64") @@ -248,6 +251,7 @@ def test_RouteAddRemoveIpv6Route(self, dvs, testlog): # remove route entry dvs.runcmd("vtysh -c \"configure terminal\" -c \"no ipv6 route 3000::0/64 2000::2\"") + dvs.runcmd("vtysh -c \"configure terminal\" -c \"no ipv6 route ::/0 2000::2\"") # check application database self.pdb.wait_for_deleted_entry("ROUTE_TABLE", "3000::/64")