Merge "Adding custom headers capability to REST client"
[ccsdk/apps.git] / components / model-catalog / blueprint-model / test-blueprint / capability_restconf / Templates / config-assign-restconf-configlet-template.vtl
index e3d7a67..3812380 100644 (file)
@@ -1,19 +1,37 @@
-<yang-patch xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-patch">
-<patch-id>example-patch</patch-id>
-<comment>Example patch</comment>
-<edit>
-  <edit-id>edit1</edit-id>
-  <operation>create</operation>
-  <target>/car-entry</target>
-  <value>
-    <car-entry xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car">
-      <id>0</id>
-    </car-entry>
-  </value>
-</edit>
-<edit>
-  <edit-id>edit2</edit-id>
-  <operation>delete</operation>
-  <target>/car-entry/0</target>
-</edit>
-</yang-patch>
+{
+   "ietf-restconf:yang-patch":{
+      "patch-id":"patch-1",
+      "edit":[
+         {
+            "edit-id":"edit1",
+            "operation":"merge",
+            "target":"/",
+            "value":{
+               "netconflist":{
+                  "netconf":[
+                     {
+                        "netconf-id":"40",
+                        "netconf-param":"4040"
+                     }
+                  ]
+               }
+            }
+         },
+         {
+            "edit-id":"edit2",
+            "operation":"merge",
+            "target":"/",
+            "value":{
+               "netconflist":{
+                  "netconf":[
+                     {
+                        "netconf-id":"50",
+                        "netconf-param":"98765"
+                     }
+                  ]
+               }
+            }
+         }
+      ]
+   }
+}
\ No newline at end of file