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/map1.json | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/data_plane/configs/odl/map_timers/map1.json (limited to 'tests/data_plane/configs/odl/map_timers/map1.json') diff --git a/tests/data_plane/configs/odl/map_timers/map1.json b/tests/data_plane/configs/odl/map_timers/map1.json new file mode 100644 index 0000000..1c29da3 --- /dev/null +++ b/tests/data_plane/configs/odl/map_timers/map1.json @@ -0,0 +1,32 @@ +{ + "input": { + "mapping-record": { + "recordTtl": 1, + "action": "NoAction", + "authoritative": true, + "eid": { + "address-type": "ietf-lisp-address-types:source-dest-key-lcaf", + "source-dest-key": { + "source": "6.0.1.0/24", + "dest": "6.0.2.0/24" + } + }, + "LocatorRecord": [ + { + "locator-id": "ISP1", + "priority": 1, + "weight": 1, + "multicastPriority": 255, + "multicastWeight": 0, + "localLocator": true, + "rlocProbed": false, + "routed": false, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.2" + } + } + ] + } + } +} -- cgit 1.2.3-korg