Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-169 IPv4 Scale - performance
[csit.git]
/
resources
/
libraries
/
python
/
LispUtil.py
diff --git
a/resources/libraries/python/LispUtil.py
b/resources/libraries/python/LispUtil.py
index
b21e1ae
..
8a83dc4
100644
(file)
--- a/
resources/libraries/python/LispUtil.py
+++ b/
resources/libraries/python/LispUtil.py
@@
-54,8
+54,8
@@
class LispUtil(object):
return JsonParser().parse_data(vat.get_script_stdout())
@staticmethod
return JsonParser().parse_data(vat.get_script_stdout())
@staticmethod
- def vpp_show_lisp_
local_
eid_table(node):
- """Get lisp
local
eid table from VPP node.
+ def vpp_show_lisp_eid_table(node):
+ """Get lisp eid table from VPP node.
:param node: VPP node.
:type node: dict
:param node: VPP node.
:type node: dict
@@
-64,7
+64,7
@@
class LispUtil(object):
"""
vat = VatExecutor()
"""
vat = VatExecutor()
- vat.execute_script_json_out('lisp/show_lisp_
local_
eid_table.vat', node)
+ vat.execute_script_json_out('lisp/show_lisp_eid_table.vat', node)
return JsonParser().parse_data(vat.get_script_stdout())
@staticmethod
return JsonParser().parse_data(vat.get_script_stdout())
@staticmethod
@@
-101,7
+101,7
@@
class LispUtil(object):
for tmp in lisp_val1:
if tmp not in lisp_val2:
for tmp in lisp_val1:
if tmp not in lisp_val2:
- raise RuntimeError('Value {}
is not fi
nd in vpp:\n'
+ raise RuntimeError('Value {}
not fou
nd in vpp:\n'
'{}'.format(tmp, lisp_val2))
def lisp_locator_s_should_be_equal(self, locator_set1, locator_set2):
'{}'.format(tmp, lisp_val2))
def lisp_locator_s_should_be_equal(self, locator_set1, locator_set2):