Remove opendaylight directory
[netconf.git] / netconf / netconf-util / src / test / resources / netconfMessages / editConfig_merge_threadfactory.xml
diff --git a/netconf/netconf-util/src/test/resources/netconfMessages/editConfig_merge_threadfactory.xml b/netconf/netconf-util/src/test/resources/netconfMessages/editConfig_merge_threadfactory.xml
new file mode 100644 (file)
index 0000000..2597670
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<rpc message-id="6"
+     xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+    <edit-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+        <target>
+            <candidate/>
+        </target>
+        <default-operation>merge</default-operation>
+        <test-option>set</test-option>
+        <config>
+            <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
+                <module
+                        xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
+                        nc:operation="merge">
+                    <name>threadfactory-naming-instance</name>
+                    <type
+                            xmlns:th-java="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl">
+                        th-java:threadfactory-naming
+                    </type>
+                    <name-prefix xmlns="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl">
+                        prefixDefinedInXML
+                    </name-prefix>
+                </module>
+            </modules>
+            <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
+                <service>
+                    <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl">prefix:threadfactory</type>
+                    <instance>
+                        <name>user_to_instance_from_code</name>
+                        <provider>
+                            /modules/module[type='threadfactory-naming'][name='threadfactory-naming-instance']</provider>
+                    </instance>
+                </service>
+            </services>
+        </config>
+    </edit-config>
+</rpc>