summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/sd/4o4/map2.json
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-09-16 15:11:01 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-10-24 15:59:06 +0200
commit5089c8126fe1d2c389ebc2e4b579612d6df15a69 (patch)
tree8666ad41a572a02ce39af3507beabfe23f3558ad /tests/data_plane/configs/odl/sd/4o4/map2.json
parent1db8c38a6fa7fc692fe18bbd47eb2f87ec6b143b (diff)
Add source/dest tests
Change-Id: Idb3ec8dc48f16d4321701e405d8e76492cd7e9de Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/odl/sd/4o4/map2.json')
-rw-r--r--tests/data_plane/configs/odl/sd/4o4/map2.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/sd/4o4/map2.json b/tests/data_plane/configs/odl/sd/4o4/map2.json
new file mode 100644
index 0000000..fcdae72
--- /dev/null
+++ b/tests/data_plane/configs/odl/sd/4o4/map2.json
@@ -0,0 +1,33 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "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"
+ }
+ }
+ ]
+ }
+ }
+}
+