Initial code drop of netconf protocol implementation
[controller.git] / opendaylight / netconf / netconf-util / src / test / resources / netconfMessages / editConfig_none.xml
diff --git a/opendaylight/netconf/netconf-util/src/test/resources/netconfMessages/editConfig_none.xml b/opendaylight/netconf/netconf-util/src/test/resources/netconfMessages/editConfig_none.xml
new file mode 100644 (file)
index 0000000..42021c5
--- /dev/null
@@ -0,0 +1,109 @@
+<rpc message-id="a" a="64" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+    <edit-config>
+        <target>
+            <candidate/>
+        </target>
+        <default-operation>none</default-operation>
+        <error-option>stop-on-error</error-option>
+        <config>
+            <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
+                <module>
+                    <name>dep</name>
+                    <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
+                        test-impl:impl-dep
+                    </type>
+                </module>
+
+                <module>
+                    <name>dep2</name>
+                    <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
+                        test-impl:impl-dep
+                    </type>
+                </module>
+
+                <module>
+                    <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
+                        test-impl:impl-netconf
+                    </type>
+                    <name>test1</name>
+                    <simple-long-2>44</simple-long-2>
+                    <binaryLeaf>8</binaryLeaf>
+                    <binaryLeaf>7</binaryLeaf>
+                    <binaryLeaf>9</binaryLeaf>
+                    <dto_d>
+                        <simple-int1>444</simple-int1>
+                        <simple-int2>4444</simple-int2>
+                        <simple-int3>454</simple-int3>
+                        <complex-dto-bInner>
+                            <simple-int3>44</simple-int3>
+                            <deep>
+                                <simple-int3>4</simple-int3>
+                            </deep>
+                            <simple-list>4</simple-list>
+                        </complex-dto-bInner>
+                        <simple-list>4</simple-list>
+                    </dto_d>
+                    <simpleInt>44</simpleInt>
+                    <simple-test>545</simple-test>
+                    <simple-long>454545</simple-long>
+                    <simpleBoolean>false</simpleBoolean>
+                    <dto-c>
+                        <dto-a-inner>
+                            <dto-a-inner-inner>
+                                <simple-arg>456</simple-arg>
+                            </dto-a-inner-inner>
+                            <simple-arg>44</simple-arg>
+                        </dto-a-inner>
+                    </dto-c>
+                    <simple-short>4</simple-short>
+                    <simple-BigInteger>999</simple-BigInteger>
+                    <simple-byte>4</simple-byte>
+                    <peers>
+                        <port>port1</port>
+                        <simple-int3>456</simple-int3>
+                        <core-size>44</core-size>
+                    </peers>
+                    <peers>
+                        <port>port23</port>
+                        <simple-int3>456</simple-int3>
+                        <core-size>44</core-size>
+                    </peers>
+                    <testing-dep>
+                        <type>testing</type>
+                        <name>ref_dep</name>
+                    </testing-dep>
+                </module>
+                <module>
+                    <type xmlns:test-impl="urn:opendaylight:params:xml:ns:yang:controller:test:impl">
+                        test-impl:impl-netconf
+                    </type>
+                    <name>test2</name>
+                    <testing-dep>
+                        <type>testing</type>
+                        <name>ref_dep</name>
+                    </testing-dep>
+                </module>
+            </modules>
+            <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
+                <service>
+                    <type>testing</type>
+                    <instance>
+                        <name>ref_dep</name>
+                        <provider>/config/modules/module[name='impl-dep']/instance[name='dep']
+                        </provider>
+                    </instance>
+                    <instance>
+                        <name>ref_dep_2</name>
+                        <provider>/config/modules/module[name='impl-dep']/instance[name='dep2']
+                        </provider>
+                    </instance>
+                    <instance>
+                        <name>ref_test1</name>
+                        <provider>/config/modules/module[name='impl-netconf']/instance[name='test1']
+                        </provider>
+                    </instance>
+                </service>
+            </services>
+        </config>
+    </edit-config>
+</rpc>