summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/map_timers/map4.json
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-12-07 18:10:28 +0100
committerFilip Tehlar <ftehlar@cisco.com>2016-12-07 18:15:27 +0100
commitaae5e3f47fb4ac59c36b55b3d91da9bb5f747c22 (patch)
treea42ebf9bfaff37ec22349068b07fef99e9f66b4f /tests/data_plane/configs/odl/map_timers/map4.json
parent4ff1fc154b4b7460beeda06612b907004b7838c8 (diff)
Add a test for mapping expiration
Change-Id: I94004c1cf7651aef2bcfa408aafac6a9bec20b0b Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/map_timers/map4.json')
-rw-r--r--tests/data_plane/configs/odl/map_timers/map4.json29
1 files changed, 29 insertions, 0 deletions
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"
+ }
+ }
+ ]
+ }
+ }
+}