From 2eb74f5c5cb58fcb072af765ea67dd80ee6d8755 Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Wed, 13 Jul 2016 17:19:31 +0200 Subject: 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 --- resources/test_data/lisp/api/lisp_api_resources.py | 35 +++++++++++++++++----- 1 file changed, 28 insertions(+), 7 deletions(-) (limited to 'resources/test_data') diff --git a/resources/test_data/lisp/api/lisp_api_resources.py b/resources/test_data/lisp/api/lisp_api_resources.py index 4502c3cb49..81bf8ee171 100644 --- a/resources/test_data/lisp/api/lisp_api_resources.py +++ b/resources/test_data/lisp/api/lisp_api_resources.py @@ -24,31 +24,52 @@ lisp_status = [{"gpe_status":"disabled", eid_table = [{'eid': '192.168.0.1', 'vni': 0, 'eid-prefix-len': 24, - 'locator-set': 'ls1'}, + 'locator': [], + 'locator-set': 'ls1', + 'ttl': 0, + 'authoritative': 0}, {'eid': '192.168.1.1', 'vni': 0, 'eid-prefix-len': 24, - 'locator-set': 'ls1'}, + 'locator': [], + 'locator-set': 'ls1', + 'ttl': 0, + 'authoritative': 0}, {'eid': '192.168.2.1', 'vni': 0, 'eid-prefix-len': 24, - 'locator-set': 'ls1'}, + 'locator': [], + 'locator-set': 'ls1', + 'ttl': 0, + 'authoritative': 0}, {'eid': '192.168.3.1', 'vni': 0, 'eid-prefix-len': 24, - 'locator-set': 'ls1'}, + 'locator': [], + 'locator-set': 'ls1', + 'ttl': 0, + 'authoritative': 0}, {'eid': '10:1::1', 'vni': 0, 'eid-prefix-len': 32, - 'locator-set': 'ls1'}, + 'locator': [], + 'locator-set': 'ls1', + 'ttl': 0, + 'authoritative': 0}, {'eid': '10:2::1', 'vni': 0, 'eid-prefix-len': 32, - 'locator-set': 'ls1'}, + 'locator': [], + 'locator-set': 'ls1', + 'ttl': 0, + 'authoritative': 0}, {'eid': '10:3::1', 'vni': 0, 'eid-prefix-len': 32, - 'locator-set': 'ls1'}] + '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. -- cgit 1.2.3-korg