ad130413a4107265b4f920ffaca202c44fa4a8b4
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / instanceidentifier / xml / xmlPATCHdataMergeOperationOnList.xml
1 <!--
2   ~ Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3   ~
4   ~ This program and the accompanying materials are made available under the
5   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
6   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
7   -->
8 <yang-patch xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-patch">
9     <patch-id>Test merge operation</patch-id>
10     <comment>This is test patch for merge operation on list</comment>
11     <edit>
12         <edit-id>edit1</edit-id>
13         <operation>replace</operation>
14         <target>/my-list2</target>
15         <value>
16             <my-list2 xmlns="instance:identifier:patch:module">
17                 <name>my-leaf20</name>
18                 <my-leaf21>I am leaf21-0</my-leaf21>
19                 <my-leaf22>I am leaf22-0</my-leaf22>
20             </my-list2>
21         </value>
22     </edit>
23     <edit>
24         <edit-id>edit2</edit-id>
25         <operation>merge</operation>
26         <target>/my-list2</target>
27         <value>
28             <my-list2 xmlns="instance:identifier:patch:module">
29                 <name>my-leaf21</name>
30                 <my-leaf21>I am leaf21-1</my-leaf21>
31                 <my-leaf22>I am leaf22-1</my-leaf22>
32             </my-list2>
33         </value>
34     </edit>
35 </yang-patch>