summaryrefslogtreecommitdiffstats
path: root/tests/data_plane/configs/odl/sd/l2o4/map1.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/l2o4/map1.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/l2o4/map1.json')
-rw-r--r--tests/data_plane/configs/odl/sd/l2o4/map1.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/data_plane/configs/odl/sd/l2o4/map1.json b/tests/data_plane/configs/odl/sd/l2o4/map1.json
new file mode 100644
index 0000000..05fc102
--- /dev/null
+++ b/tests/data_plane/configs/odl/sd/l2o4/map1.json
@@ -0,0 +1,33 @@
+{
+ "input": {
+ "mapping-record": {
+ "recordTtl": 1440,
+ "action": "NoAction",
+ "authoritative": true,
+ "eid": {
+ "virtual-network-id": 10,
+ "address-type": "ietf-lisp-address-types:source-dest-key-lcaf",
+ "source-dest-key": {
+ "source": "08:55:55:55:55:55",
+ "dest": "08:22:22:22:22:22"
+ }
+ },
+ "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"
+ }
+ }
+ ]
+ }
+ }
+}