Use callbacks while parsing to NormalizedNodes.
[controller.git] / opendaylight / netconf / mdsal-netconf-connector / src / test / resources / messages / mapping / editConfigs / editConfig_merge_multiple_operations_1_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             <users>
31                 <user>
32                     <name>admin</name>
33                     <full-name>johny admin updated</full-name>
34                     <type>superuser</type>
35                     <company-info>
36                         <id>2</id>
37                         <dept>2</dept>
38                     </company-info>
39                 </user>
40                 <user>
41                     <name>regular</name>
42                     <full-name>burt regular</full-name>
43                     <type>user</type>
44                     <company-info>
45                         <id>3</id>
46                         <dept>3</dept>
47                     </company-info>
48                 </user>
49             </users>
50             <modules>
51                 <augmented-container>
52                     <identifier>augmented container</identifier>
53                 </augmented-container>
54                 <module>
55                     <id>module3</id>
56                     <type>unknown</type>
57                     <desc>module3-desc</desc>
58                 </module>
59                 <module>
60                     <id>new module</id>
61                     <type>merged module</type>
62                     <desc>merged module desc</desc>
63                 </module>
64             </modules>
65         </top>
66     </data>
67 </rpc-reply>