diff options
Diffstat (limited to 'resources/libraries')
-rw-r--r-- | resources/libraries/python/LispUtil.py | 6 | ||||
-rw-r--r-- | resources/libraries/robot/lisp/lisp_api.robot | 4 |
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 |