Use callbacks while parsing to NormalizedNodes.
[controller.git] / opendaylight / netconf / mdsal-netconf-connector / src / test / resources / messages / mapping / editConfigs / editConfig_merge_multiple_operations_2_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                 <content>overwritten old content node1</content>
15             </mapping-node>
16             <mapping-node>
17                 <id>new-node5</id>
18                 <content>new node5 content</content>
19             </mapping-node>
20             <mapping-node>
21                 <id>new-node6</id>
22                 <content>new node6 content</content>
23             </mapping-node>
24             <mapping-node>
25                 <id>node2-merge</id>
26                 <content>overwritten old content node2</content>
27             </mapping-node>
28         </mapping-nodes>
29         <top xmlns="urn:opendaylight:mdsal:mapping:test">
30             <modules>
31                 <module>
32                     <id>module1</id>
33                     <type>type1</type>
34                     <desc>module1-desc</desc>
35                 </module>
36                 <module>
37                     <id>module2</id>
38                     <type>type1</type>
39                     <desc>module2-desc</desc>
40                 </module>
41                 <module>
42                     <id>module3</id>
43                     <type>unknown</type>
44                     <desc>module3-desc</desc>
45                 </module>
46                 <module>
47                     <id>new module</id>
48                     <type>merged module</type>
49                     <desc>merged module desc</desc>
50                 </module>
51             </modules>
52             <users>
53                 <user>
54                     <name>single user</name>
55                     <type>superuser</type>
56                     <full-name>i replaced everything</full-name>
57                     <company-info>
58                         <dept>2</dept>
59                         <id>2</id>
60                     </company-info>
61                 </user>
62             </users>
63         </top>
64     </data>
65 </rpc-reply>