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
diff --git a/opendaylight/netconf/mdsal-netconf-connector/src/test/resources/messages/mapping/editConfigs/editConfig_merge_multiple_operations_3_control.xml b/opendaylight/netconf/mdsal-netconf-connector/src/test/resources/messages/mapping/editConfigs/editConfig_merge_multiple_operations_3_control.xml
new file mode 100644 (file)
index 0000000..214aa70
--- /dev/null
@@ -0,0 +1,55 @@
+<!--
+  ~ Copyright (c) 2015 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
+  -->
+
+<rpc-reply message-id="101" a="64" id="a" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlnx="a:b:c:d">
+    <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+        <mapping-nodes xmlns="urn:opendaylight:mdsal:mapping:test">
+            <mapping-node>
+                <id>node1-merge</id>
+            </mapping-node>
+            <mapping-node>
+                <id>new-node5</id>
+                <content>new-node5 replaced content</content>
+            </mapping-node>
+            <mapping-node>
+                <id>new-node6</id>
+            </mapping-node>
+        </mapping-nodes>
+        <top xmlns="urn:opendaylight:mdsal:mapping:test">
+            <users>
+                <user>
+                    <name>single user</name>
+                    <type>superuser</type>
+                    <full-name>i replaced everything</full-name>
+                </user>
+            </users>
+            <modules>
+                <module>
+                    <id>module1</id>
+                    <type>type1</type>
+                    <desc>module1-desc</desc>
+                </module>
+                <module>
+                    <id>module2</id>
+                    <type>type1</type>
+                    <desc>module2-desc</desc>
+                </module>
+                <module>
+                    <id>module3</id>
+                    <type>unknown</type>
+                    <desc>module3-desc</desc>
+                </module>
+                <module>
+                    <id>new module</id>
+                    <type>merged module</type>
+                    <desc>merged module desc</desc>
+                </module>
+            </modules>
+        </top>
+    </data>
+</rpc-reply>
\ No newline at end of file