From aae5e3f47fb4ac59c36b55b3d91da9bb5f747c22 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Wed, 7 Dec 2016 18:10:28 +0100 Subject: Add a test for mapping expiration Change-Id: I94004c1cf7651aef2bcfa408aafac6a9bec20b0b Signed-off-by: Filip Tehlar --- tests/data_plane/configs/odl/map_timers/map4.json | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/data_plane/configs/odl/map_timers/map4.json (limited to 'tests/data_plane/configs/odl/map_timers/map4.json') diff --git a/tests/data_plane/configs/odl/map_timers/map4.json b/tests/data_plane/configs/odl/map_timers/map4.json new file mode 100644 index 0000000..13d7c23 --- /dev/null +++ b/tests/data_plane/configs/odl/map_timers/map4.json @@ -0,0 +1,29 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:ipv4-prefix-afi", + "ipv4-prefix": "6.0.5.0/24" + }, + "LocatorRecord": [ + { + "locator-id": "ISP1", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": true, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.1" + } + } + ] + } + } +} -- cgit 1.2.3-korg