summaryrefslogtreecommitdiffstats
path: root/test/lisp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp.py')
-rw-r--r--test/lisp.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/lisp.py b/test/lisp.py
index 865070dff9d..a1f0c1675a0 100644
--- a/test/lisp.py
+++ b/test/lisp.py
@@ -1,10 +1,4 @@
-from random import randint
-from socket import AF_INET, AF_INET6
-from scapy.all import *
-from scapy.packet import *
from scapy.fields import *
-from lisp import *
-from framework import *
from vpp_object import *
@@ -292,7 +286,8 @@ class VppLispAdjacency(VppObject):
reid_len=self._reid.prefix_length, vni=self._vni)
self._test.registry.register(self, self.test.logger)
- def eid_equal(self, eid, eid_type, eid_data, prefix_len):
+ @staticmethod
+ def eid_equal(eid, eid_type, eid_data, prefix_len):
if eid.eid_type != eid_type:
return False