From c75b9804c9510d0a342563e41407089145b38d50 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 21 Sep 2016 10:19:35 +0200 Subject: LISP - implement changes done in VPP-376 Change-Id: Ia9f7913522421b6fd9ecba18eb4d68bc0f3b3271 Signed-off-by: Tibor Frank --- resources/test_data/lisp/api/lisp_api_resources.py | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'resources/test_data/lisp') 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'}, -- cgit 1.2.3-korg