summaryrefslogtreecommitdiffstats
path: root/test/vpp_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_interface.py')
-rw-r--r--test/vpp_interface.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/vpp_interface.py b/test/vpp_interface.py
index e14a31eb722..194a0c4fb32 100644
--- a/test/vpp_interface.py
+++ b/test/vpp_interface.py
@@ -2,6 +2,7 @@ from abc import abstractmethod, ABCMeta
import socket
from util import Host, mk_ll_addr
+from vpp_neighbor import VppNeighbor
class VppInterface(object):
@@ -170,9 +171,6 @@ class VppInterface(object):
self._hosts_by_ip4 = {}
self._hosts_by_ip6 = {}
- def set_sw_if_index(self, sw_if_index):
- self._sw_if_index = sw_if_index
-
self.generate_remote_hosts()
self._local_ip4 = "172.16.%u.1" % self.sw_if_index