Use callbacks while parsing to NormalizedNodes.
[controller.git] / opendaylight / netconf / mdsal-netconf-connector / src / test / resources / messages / mapping / editConfigs / editConfig_merge_multiple_operations_3_control.xml
1 <!--
2   ~ Copyright (c) 2015 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
9 <rpc-reply message-id="101" a="64" id="a" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlnx="a:b:c:d">
10     <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
11         <mapping-nodes xmlns="urn:opendaylight:mdsal:mapping:test">
12             <mapping-node>
13                 <id>node1-merge</id>
14             </mapping-node>
15             <mapping-node>
16                 <id>new-node5</id>
17                 <content>new-node5 replaced content</content>
18             </mapping-node>
19             <mapping-node>
20                 <id>new-node6</id>
21             </mapping-node>
22         </mapping-nodes>
23         <top xmlns="urn:opendaylight:mdsal:mapping:test">
24             <users>
25                 <user>
26                     <name>single user</name>
27                     <type>superuser</type>
28                     <full-name>i replaced everything</full-name>
29                 </user>
30             </users>
31             <modules>
32                 <module>
33                     <id>module1</id>
34                     <type>type1</type>
35                     <desc>module1-desc</desc>
36                 </module>
37                 <module>
38                     <id>module2</id>
39                     <type>type1</type>
40                     <desc>module2-desc</desc>
41                 </module>
42                 <module>
43                     <id>module3</id>
44                     <type>unknown</type>
45                     <desc>module3-desc</desc>
46                 </module>
47                 <module>
48                     <id>new module</id>
49                     <type>merged module</type>
50                     <desc>merged module desc</desc>
51                 </module>
52             </modules>
53         </top>
54     </data>
55 </rpc-reply>