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-patch</patch-id>
10 <comment>Test patch with absolute target path</comment>
12 <edit-id>edit1</edit-id>
13 <operation>create</operation>
14 <target>/instance-identifier-patch-module:patch-cont/my-list1=leaf1/my-list2=my-leaf20</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>create</operation>
26 <target>/instance-identifier-patch-module:patch-cont/my-list1=leaf1/my-list2=my-leaf21</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>