Bug 3866: Support for Restconf HTTP Patch
[netconf.git] / opendaylight / restconf / sal-rest-connector / src / test / resources / instanceidentifier / json / jsonPATCHdata.json
1 {
2   "ietf-yang-patch:yang-patch" : {
3
4     "patch-id" : "test-patch",
5     "comment" : "this is test patch",
6     "edit" : [
7       {
8         "edit-id": "edit1",
9         "operation": "create",
10         "target": "/my-list2",
11         "value": {
12           "my-list2": {
13             "name": "my-leaf20",
14             "my-leaf21": "I am leaf21-0",
15             "my-leaf22": "I am leaf22-0"
16           }
17         }
18       },
19
20       {
21         "edit-id": "edit2",
22         "operation": "create",
23         "target": "/my-list2",
24         "value": {
25           "my-list2": {
26             "name": "my-leaf21",
27             "my-leaf21": "I am leaf21-1",
28             "my-leaf22": "I am leaf22-1"
29           }
30         }
31       }
32     ]
33   }
34 }