VPP-1505 VPP-1508 Remove dep.: py_lispnetworking
[vpp.git] / test / lisp.py
index 865070d..a1f0c16 100644 (file)
@@ -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