Rename restconf-nb-rfc8040 to restconf-nb
[netconf.git] / restconf / restconf-nb / 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": "/my-list2=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": "/my-list2=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 }