2 ~ Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
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
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>
12 <edit-id>edit1</edit-id>
13 <operation>replace</operation>
14 <target>/my-list2</target>
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>
24 <edit-id>edit2</edit-id>
25 <operation>merge</operation>
26 <target>/my-list2</target>
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>