Add RPC CRUD test cases for lispflowmapping
[integration/test.git] / test / csit / variables / lispflowmapping / rpc_add-mapping_ipv4_ipv4.json
diff --git a/test/csit/variables/lispflowmapping/rpc_add-mapping_ipv4_ipv4.json b/test/csit/variables/lispflowmapping/rpc_add-mapping_ipv4_ipv4.json
new file mode 100644 (file)
index 0000000..c883525
--- /dev/null
@@ -0,0 +1,31 @@
+{
+    "input": {
+        "recordTtl": 1440,
+        "maskLength": 32,
+        "authoritative": true,
+        "LispAddressContainer": {
+            "Ipv4Address": {
+                "afi": 1,
+                "Ipv4Address": "192.0.2.1"
+            }
+        },
+        "LocatorRecord": [
+            {
+                "name": "ISP1",
+                "priority": 1,
+                "weight": 1,
+                "multicastPriority": 255,
+                "multicastWeight": 0,
+                "localLocator": true,
+                "rlocProbed": false,
+                "routed": false,
+                "LispAddressContainer": {
+                    "Ipv4Address": {
+                        "afi": 1,
+                        "Ipv4Address": "10.10.10.10"
+                    }
+                }
+            }
+        ]
+    }
+}