3b809e0061b38e9e60a6cda1c601ebffac592951
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / instanceidentifier / json / jsonPATCHMergeOperationOnList.json
1 {
2   "ietf-yang-patch:yang-patch" : {
3     "patch-id" : "Test merge operation",
4     "comment" : "This is test patch for merge operation on list",
5     "edit" : [
6       {
7         "edit-id": "edit1",
8         "operation": "replace",
9         "target": "/instance-identifier-patch-module:my-list2[instance-identifier-patch-module:name='my-leaf20']",
10         "value": {
11           "my-list2": {
12             "name": "my-leaf20",
13             "my-leaf21": "I am leaf21-0",
14             "my-leaf22": "I am leaf22-0"
15           }
16         }
17       },
18       {
19         "edit-id": "edit2",
20         "operation": "merge",
21         "target": "/instance-identifier-patch-module:my-list2[instance-identifier-patch-module:name='my-leaf21']",
22         "value": {
23           "my-list2": {
24             "name": "my-leaf21",
25             "my-leaf21": "I am leaf21-1",
26             "my-leaf22": "I am leaf22-1"
27           }
28         }
29       }
30     ]
31   }
32 }