Service Logic (DG/Templates) for SDNR OOF PCI POC
[ccsdk/distribution.git] / platform-logic / restapi-templates / src / main / json / oofpcipoc-generic-neighbor-patch.json
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json
new file mode 100644 (file)
index 0000000..b3b4643
--- /dev/null
@@ -0,0 +1,24 @@
+{
+    "ietf-yang-patch:yang-patch": {
+        "patch-id": "Patch 2",
+        "comment": "patch for configuring neighbor ",
+        "edit": [
+            {
+                "edit-id": "patch blacklisted",
+                "operation": "merge",
+                "target": "/oofpcipoc:blacklisted",
+                "value": {
+                    "blacklisted": ${tmp.blacklisted}
+                }
+            },
+            {
+                "edit-id": "patch phy-cell-id",
+                "operation": "merge",
+                "target": "/oofpcipoc:phy-cell-id",
+                "value": {
+                    "phy-cell-id": ${tmp.phy-cell-id}
+                }
+            }
+        ]
+    }
+}