From a6c9214784087316c5ca3f19cece3e7f757e84b9 Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Wed, 22 Jun 2016 14:47:32 +0200 Subject: [PATCH] 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 --- tests/suites/lisp/lisp_api_untagged.robot | 1 + tests/suites/lisp/resources/lisp_api_resources.py | 7 +++++++ 2 files changed, 8 insertions(+) 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'}] -- 2.16.6