aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-07-13 17:19:31 +0200
committerJan Gelety <jgelety@cisco.com>2016-07-28 09:20:52 +0000
commit2eb74f5c5cb58fcb072af765ea67dd80ee6d8755 (patch)
tree42dc5a973460de49b7f622725ea08a1339907990 /resources/test_data
parent49261a55c3f9198a4d1bbf1c2913263d6d77451c (diff)
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 <akozemca@cisco.com>
Diffstat (limited to 'resources/test_data')
-rw-r--r--resources/test_data/lisp/api/lisp_api_resources.py35
1 files changed, 28 insertions, 7 deletions
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.