aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-07-13 17:19:31 +0200
committerJan Gelety <jgelety@cisco.com>2016-07-28 09:20:52 +0000
commit2eb74f5c5cb58fcb072af765ea67dd80ee6d8755 (patch)
tree42dc5a973460de49b7f622725ea08a1339907990 /resources/libraries
parent49261a55c3f9198a4d1bbf1c2913263d6d77451c (diff)
CSIT-207: Update LISP Eid API
- rename show_local_lisp_eid_tabl -> show_lisp_eid_table. - change EID json output data Change-Id: I4f5f7b5995b61cb0d5034b107c125caba1d73034 Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/LispUtil.py6
-rw-r--r--resources/libraries/robot/lisp/lisp_api.robot4
2 files changed, 5 insertions, 5 deletions
diff --git a/resources/libraries/python/LispUtil.py b/resources/libraries/python/LispUtil.py
index 157702ade0..8a83dc4d30 100644
--- 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
- 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
@@ -64,7 +64,7 @@ class LispUtil(object):
"""
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
diff --git a/resources/libraries/robot/lisp/lisp_api.robot b/resources/libraries/robot/lisp/lisp_api.robot
index faffeb3921..8094d08b84 100644
--- a/resources/libraries/robot/lisp/lisp_api.robot
+++ b/resources/libraries/robot/lisp/lisp_api.robot
@@ -182,7 +182,7 @@
| | ... | \| ${nodes['DUT1']} \| ${eid_table} \|
| | ...
| | [Arguments] | ${dut_node} | ${set_eid}
-| | ${show_eid}= | Vpp Show Lisp Local Eid Table | ${dut_node}
+| | ${show_eid}= | Vpp Show Lisp Eid Table | ${dut_node}
| | Lisp Should Be Equal | ${set_eid} | ${show_eid}
| Delete all lisp eid address from VPP
@@ -216,7 +216,7 @@
| | ... | \| Then Lisp eid table should be empty \| ${nodes['DUT1']} \|
| | ...
| | [Arguments] | ${dut_node}
-| | ${show_eid}= | Vpp Show Lisp Local Eid Table | ${dut_node}
+| | ${show_eid}= | Vpp Show Lisp Eid Table | ${dut_node}
| | Lisp Is Empty | ${show_eid}
| Lisp map resolver address is set