Add source/dest tests
[one.git] / tests / data_plane / configs / odl / sd / 4o4 / map2.json
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 (file)
index 0000000..fcdae72
--- /dev/null
@@ -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"
+            }
+          }
+      ]
+    }
+  }
+}
+