diff options
author | Andrej Kozemcak <akozemca@cisco.com> | 2016-06-22 14:47:32 +0200 |
---|---|---|
committer | Andrej Kozemcak <akozemca@cisco.com> | 2016-06-22 17:04:14 +0200 |
commit | a6c9214784087316c5ca3f19cece3e7f757e84b9 (patch) | |
tree | 3951f08dc6c7c1f5c20d95de0ce20710ee76397b /tests/suites/lisp | |
parent | e2f3f7663bd9bda3b41c877495a2601c9839abd1 (diff) |
LISP EID virtualization support
Add new resource data to eid_example data. Need for new Eid API.
Change-Id: I0ed632fe8c1586e2ac4a1060a1900b76f4f6ca07
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'tests/suites/lisp')
-rw-r--r-- | tests/suites/lisp/lisp_api_untagged.robot | 1 | ||||
-rw-r--r-- | tests/suites/lisp/resources/lisp_api_resources.py | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/suites/lisp/lisp_api_untagged.robot b/tests/suites/lisp/lisp_api_untagged.robot index 83c5853ed9..ba4951f805 100644 --- a/tests/suites/lisp/lisp_api_untagged.robot +++ b/tests/suites/lisp/lisp_api_untagged.robot @@ -91,6 +91,7 @@ | | ... | configure LISP eid IP address. [Ver1] Check DUT1 configured data | | ... | is correct. [Cfg2] Remove configured data. [Ver2] Check DUT1 all | | ... | eid IP addresses are removed. [Ref] RFC6830. +| | [Tags] | EXPECTED_FAILING | | Given Enable lisp | ${nodes['DUT1']} | | When Lisp eid address is set | ${nodes['DUT1']} | ${eid_table} | | Then Lisp eid address is set correctly to eid table | ${nodes['DUT1']} diff --git a/tests/suites/lisp/resources/lisp_api_resources.py b/tests/suites/lisp/resources/lisp_api_resources.py index b7278a21e9..7a85fd8558 100644 --- a/tests/suites/lisp/resources/lisp_api_resources.py +++ b/tests/suites/lisp/resources/lisp_api_resources.py @@ -22,24 +22,31 @@ lisp_status = [[{"gpe_status":"disabled", """Example lisp local eid we want set to VPP and then check if is set correct.""" eid_table = [{'eid address': '192.168.0.1', + 'vni': 0, 'eid prefix len': 24, 'locator-set': 'ls1'}, {'eid address': '192.168.1.1', + 'vni': 0, 'eid prefix len': 24, 'locator-set': 'ls1'}, {'eid address': '192.168.2.1', + 'vni': 0, 'eid prefix len': 24, 'locator-set': 'ls1'}, {'eid address': '192.168.3.1', + 'vni': 0, 'eid prefix len': 24, 'locator-set': 'ls1'}, {'eid address': '10:1::1', + 'vni': 0, 'eid prefix len': 32, 'locator-set': 'ls1'}, {'eid address': '10:2::1', + 'vni': 0, 'eid prefix len': 32, 'locator-set': 'ls1'}, {'eid address': '10:3::1', + 'vni': 0, 'eid prefix len': 32, 'locator-set': 'ls1'}] |