WIP: Update Tutorial for FD.io and OOR
[lispflowmapping.git] / resources / tutorial / FD_io / elp1.json
diff --git a/resources/tutorial/FD_io/elp1.json b/resources/tutorial/FD_io/elp1.json
new file mode 100644 (file)
index 0000000..30dccb0
--- /dev/null
@@ -0,0 +1,44 @@
+{
+  "mapping": {
+    "eid-uri": "ipv4:6.0.2.0/24",
+    "origin": "northbound",
+    "mapping-record": {
+      "recordTtl": 1440,
+      "action": "NoAction",
+      "authoritative": true,
+      "eid": {
+        "address-type": "ietf-lisp-address-types:ipv4-prefix-afi",
+        "ipv4-prefix": "6.0.2.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"
+                }
+              ]
+            }
+          }
+        }
+      ]
+    }
+  }
+}
\ No newline at end of file