@@ -164,6 +164,7 @@ def test_RouteAddRemoveIpv4Route(self, dvs, testlog):
164
164
165
165
# add route entry
166
166
dvs .runcmd ("vtysh -c \" configure terminal\" -c \" ip route 2.2.2.0/24 10.0.0.1\" " )
167
+ dvs .runcmd ("vtysh -c \" configure terminal\" -c \" ip route 0.0.0.0/0 10.0.0.1\" " )
167
168
168
169
# check application database
169
170
self .pdb .wait_for_entry ("ROUTE_TABLE" , "2.2.2.0/24" )
@@ -176,6 +177,7 @@ def test_RouteAddRemoveIpv4Route(self, dvs, testlog):
176
177
177
178
# remove route entry
178
179
dvs .runcmd ("vtysh -c \" configure terminal\" -c \" no ip route 2.2.2.0/24 10.0.0.1\" " )
180
+ dvs .runcmd ("vtysh -c \" configure terminal\" -c \" no ip route 0.0.0.0/0 10.0.0.1\" " )
179
181
180
182
# check application database
181
183
self .pdb .wait_for_deleted_entry ("ROUTE_TABLE" , "2.2.2.0/24" )
@@ -236,6 +238,7 @@ def test_RouteAddRemoveIpv6Route(self, dvs, testlog):
236
238
237
239
# add route entry
238
240
dvs .runcmd ("vtysh -c \" configure terminal\" -c \" ipv6 route 3000::0/64 2000::2\" " )
241
+ dvs .runcmd ("vtysh -c \" configure terminal\" -c \" ipv6 route ::/0 2000::2\" " )
239
242
240
243
# check application database
241
244
self .pdb .wait_for_entry ("ROUTE_TABLE" , "3000::/64" )
@@ -248,6 +251,7 @@ def test_RouteAddRemoveIpv6Route(self, dvs, testlog):
248
251
249
252
# remove route entry
250
253
dvs .runcmd ("vtysh -c \" configure terminal\" -c \" no ipv6 route 3000::0/64 2000::2\" " )
254
+ dvs .runcmd ("vtysh -c \" configure terminal\" -c \" no ipv6 route ::/0 2000::2\" " )
251
255
252
256
# check application database
253
257
self .pdb .wait_for_deleted_entry ("ROUTE_TABLE" , "3000::/64" )
0 commit comments