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 container</comment>
12 <edit-id>edit1</edit-id>
13 <operation>create</operation>
16 <patch-cont xmlns="instance:identifier:patch:module">
18 <name>my-list1 - A</name>
19 <my-leaf11>I am leaf11-0</my-leaf11>
20 <my-leaf12>I am leaf12-1</my-leaf12>
23 <name>my-list1 - B</name>
24 <my-leaf11>I am leaf11-0</my-leaf11>
25 <my-leaf12>I am leaf12-1</my-leaf12>
31 <edit-id>edit2</edit-id>
32 <operation>merge</operation>
35 <patch-cont xmlns="instance:identifier:patch:module">
37 <name>my-list1 - Merged</name>
38 <my-leaf11>I am leaf11-0</my-leaf11>
39 <my-leaf12>I am leaf12-1</my-leaf12>