X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_bfd.py;h=f14ff71b341fe01a7234ffe449f86462dff5a4a1;hb=008dbe109ce2714be69ffb6549a0c0198a07f7d0;hp=3afe94280257eda6957f8c9a138f54c58083b72e;hpb=d5c60b96a3fd93916fc4af5c8d6d25625c28242e;p=vpp.git diff --git a/test/test_bfd.py b/test/test_bfd.py index 3afe9428025..f14ff71b341 100644 --- a/test/test_bfd.py +++ b/test/test_bfd.py @@ -20,7 +20,8 @@ from vpp_pg_interface import CaptureTimeoutError, is_ipv6_misc from vpp_lo_interface import VppLoInterface from util import ppp from vpp_papi_provider import UnexpectedApiReturnValueError -from vpp_ip_route import VppIpRoute, VppRoutePath, DpoProto +from vpp_ip import DpoProto +from vpp_ip_route import VppIpRoute, VppRoutePath USEC_IN_SEC = 1000000 @@ -1407,7 +1408,7 @@ class BFD4TestCase(VppTestCase): def test_intf_deleted(self): """ interface with bfd session deleted """ - intf = VppLoInterface(self, 0) + intf = VppLoInterface(self) intf.config_ip4() intf.admin_up() sw_if_index = intf.sw_if_index @@ -1616,7 +1617,7 @@ class BFD6TestCase(VppTestCase): def test_intf_deleted(self): """ interface with bfd session deleted """ - intf = VppLoInterface(self, 0) + intf = VppLoInterface(self) intf.config_ip6() intf.admin_up() sw_if_index = intf.sw_if_index