Add L3 RTR test with EIDs in non-default VNI
[one.git] / tests / data_plane / configs / odl / rtr_single_iface / 4o4_vni / elp1.json
diff --git a/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp1.json b/tests/data_plane/configs/odl/rtr_single_iface/4o4_vni/elp1.json
new file mode 100644 (file)
index 0000000..4f8d858
--- /dev/null
@@ -0,0 +1,43 @@
+{
+    "input": {
+        "mapping-record": {
+            "recordTtl": 1440,
+            "action": "NoAction",
+            "authoritative": true,
+            "eid": {
+                "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+                "virtual-network-id": 100,
+                "ipv4-prefix": "6.0.1.0/24"
+            },
+            "LocatorRecord": [
+                {
+                    "locator-id": "ELP",
+                    "priority": 1,
+                    "weight": 1,
+                    "multicastPriority": 255,
+                    "multicastWeight": 0,
+                    "localLocator": true,
+                    "rlocProbed": false,
+                    "routed": false,
+                    "rloc": {
+                        "address-type": "ietf-lisp-address-types:explicit-locator-path-lcaf",
+                        "explicit-locator-path": {
+                            "hop": [
+                                {
+                                    "hop-id": "Hop 1",
+                                    "address": "6.0.3.3",
+                                    "lrs-bits": "lookup rloc-probe strict"
+                                },
+                                {
+                                    "hop-id": "Hop 2",
+                                    "address": "6.0.3.1",
+                                    "lrs-bits": "lookup strict"
+                                }
+                            ]
+                        }
+                    }
+                }
+            ]
+        }
+    }
+}