Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-1505 VPP-1508 Remove dep.: py_lispnetworking
[vpp.git]
/
test
/
lisp.py
diff --git
a/test/lisp.py
b/test/lisp.py
index
865070d
..
a1f0c16
100644
(file)
--- 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 scapy.fields import *
-from lisp import *
-from framework import *
from vpp_object 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)
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
if eid.eid_type != eid_type:
return False