- 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>
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
- 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
| | ... | \| ${nodes['DUT1']} \| ${eid_table} \|
| | ...
| | [Arguments] | ${dut_node} | ${set_eid}
| | ... | \| ${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
| | Lisp Should Be Equal | ${set_eid} | ${show_eid}
| Delete all lisp eid address from VPP
| | ... | \| Then Lisp eid table should be empty \| ${nodes['DUT1']} \|
| | ...
| | [Arguments] | ${dut_node}
| | ... | \| 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
| | Lisp Is Empty | ${show_eid}
| Lisp map resolver address is set
--- /dev/null
+lisp_eid_table_dump
\ No newline at end of file
+++ /dev/null
-lisp_local_eid_table_dump
\ No newline at end of file
eid_table = [{'eid': '192.168.0.1',
'vni': 0,
'eid-prefix-len': 24,
eid_table = [{'eid': '192.168.0.1',
'vni': 0,
'eid-prefix-len': 24,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0},
{'eid': '192.168.1.1',
'vni': 0,
'eid-prefix-len': 24,
{'eid': '192.168.1.1',
'vni': 0,
'eid-prefix-len': 24,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0},
{'eid': '192.168.2.1',
'vni': 0,
'eid-prefix-len': 24,
{'eid': '192.168.2.1',
'vni': 0,
'eid-prefix-len': 24,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0},
{'eid': '192.168.3.1',
'vni': 0,
'eid-prefix-len': 24,
{'eid': '192.168.3.1',
'vni': 0,
'eid-prefix-len': 24,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0},
{'eid': '10:1::1',
'vni': 0,
'eid-prefix-len': 32,
{'eid': '10:1::1',
'vni': 0,
'eid-prefix-len': 32,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0},
{'eid': '10:2::1',
'vni': 0,
'eid-prefix-len': 32,
{'eid': '10:2::1',
'vni': 0,
'eid-prefix-len': 32,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0},
{'eid': '10:3::1',
'vni': 0,
'eid-prefix-len': 32,
{'eid': '10:3::1',
'vni': 0,
'eid-prefix-len': 32,
+ 'locator': [],
+ 'locator-set': 'ls1',
+ 'ttl': 0,
+ 'authoritative': 0}]
# Example lisp map resolvers data we want set to VPP
# and then check if it is set correctly.
# Example lisp map resolvers data we want set to VPP
# and then check if it is set correctly.