aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/lisp
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2016-09-21 10:19:35 +0200
committerMatej Klotton <mklotton@cisco.com>2016-10-03 06:41:13 +0000
commitc75b9804c9510d0a342563e41407089145b38d50 (patch)
tree102c9dbe4f72b3f56c463d204d40888e3a8f9698 /resources/test_data/lisp
parent0305dd1f76feb8c162daace091dccb4af44fc875 (diff)
LISP - implement changes done in VPP-376
Change-Id: Ia9f7913522421b6fd9ecba18eb4d68bc0f3b3271 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/test_data/lisp')
-rw-r--r--resources/test_data/lisp/api/lisp_api_resources.py60
1 files changed, 60 insertions, 0 deletions
diff --git a/resources/test_data/lisp/api/lisp_api_resources.py b/resources/test_data/lisp/api/lisp_api_resources.py
index 45ae73510f..cc97f1c0e3 100644
--- a/resources/test_data/lisp/api/lisp_api_resources.py
+++ b/resources/test_data/lisp/api/lisp_api_resources.py
@@ -71,6 +71,66 @@ eid_table = [{'eid': '192.168.0.0',
'ttl': 0,
'authoritative': 0}]
+# Expected data from VPP via VAT
+eid_table_vat = [
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "192.168.0.0/24",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ },
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "192.168.1.0/24",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ },
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "192.168.2.0/24",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ },
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "192.168.3.0/24",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ },
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "10:1::/64",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ },
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "10:2::/64",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ },
+ {
+ "action": 0,
+ "is_local": 1,
+ "eid": "10:3::/64",
+ "vni": 0,
+ "ttl": 0,
+ "authoritative": 0
+ }
+]
+
# Example lisp map resolvers data we want set to VPP
# and then check if it is set correctly.
map_resolver = [{'map resolver': '192.169.0.1'},