Use callbacks while parsing to NormalizedNodes.
[controller.git] / opendaylight / netconf / mdsal-netconf-connector / src / test / resources / messages / mapping / editConfigs / editConfig_merge_multiple_operations_1.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 message-id="a" a="64" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
10     <edit-config>
11         <target>
12             <candidate/>
13         </target>
14         <test-option>
15             set
16         </test-option>
17         <default-operation>merge</default-operation>
18         <config>
19             <top xmlns="urn:opendaylight:mdsal:mapping:test">
20                 <users>
21                     <user xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="delete">
22                         <name>root</name>
23                         <type>superuser</type>
24                         <full-name>rooty root</full-name>
25                         <company-info>
26                             <dept>1</dept>
27                             <id>1</id>
28                         </company-info>
29                     </user>
30                     <user>
31                         <name>admin</name>
32                         <type>superuser</type>
33                         <full-name>johny admin updated</full-name>
34                         <company-info>
35                             <dept>2</dept>
36                             <id>2</id>
37                         </company-info>
38                     </user>
39                 </users>
40                 <modules>
41                     <module xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="delete">
42                         <id>module1</id>
43                         <type>type1</type>
44                         <desc>module1-desc</desc>
45                     </module>
46                     <module xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="delete">
47                         <id>module2</id>
48                         <type>type1</type>
49                         <desc>module2-desc</desc>
50                     </module>
51                     <module>
52                         <id>new module</id>
53                         <type>merged module</type>
54                         <desc>merged module desc</desc>
55                     </module>
56                 </modules>
57             </top>
58         </config>
59     </edit-config>
60 </rpc>