diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-12-07 18:10:28 +0100 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-12-07 18:15:27 +0100 |
commit | aae5e3f47fb4ac59c36b55b3d91da9bb5f747c22 (patch) | |
tree | a42ebf9bfaff37ec22349068b07fef99e9f66b4f /tests/data_plane/configs/odl | |
parent | 4ff1fc154b4b7460beeda06612b907004b7838c8 (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')
-rw-r--r-- | tests/data_plane/configs/odl/map_timers/map1.json | 32 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/map_timers/map2.json | 33 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/map_timers/map3.json | 29 | ||||
-rw-r--r-- | tests/data_plane/configs/odl/map_timers/map4.json | 29 |
4 files changed, 123 insertions, 0 deletions
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" + } + } + ] + } + } +} diff --git a/tests/data_plane/configs/odl/map_timers/map2.json b/tests/data_plane/configs/odl/map_timers/map2.json new file mode 100644 index 0000000..1e1b92d --- /dev/null +++ b/tests/data_plane/configs/odl/map_timers/map2.json @@ -0,0 +1,33 @@ +{ + "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.5.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": true, + "rloc": { + "address-type": "ietf-lisp-address-types:ipv4-afi", + "ipv4": "6.0.3.3" + } + } + ] + } + } +} + diff --git a/tests/data_plane/configs/odl/map_timers/map3.json b/tests/data_plane/configs/odl/map_timers/map3.json new file mode 100644 index 0000000..db88cbd --- /dev/null +++ b/tests/data_plane/configs/odl/map_timers/map3.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.1.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" + } + } + ] + } + } +} 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" + } + } + ] + } + } +} |