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