Fix delete operation for leaf nodes
[netconf.git] / netconf / netconf-util / src / test / resources / netconfMessages / edit-config-delete-leaf-node-candidate.xml
diff --git a/netconf/netconf-util/src/test/resources/netconfMessages/edit-config-delete-leaf-node-candidate.xml b/netconf/netconf-util/src/test/resources/netconfMessages/edit-config-delete-leaf-node-candidate.xml
new file mode 100644 (file)
index 0000000..1cbe97f
--- /dev/null
@@ -0,0 +1,20 @@
+<!--
+  ~ Copyright (c) 2021 PANTHEON.tech s.r.o. 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 message-id="m-0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+    <edit-config>
+        <target>
+            <candidate/>
+        </target>
+        <error-option>rollback-on-error</error-option>
+        <config>
+            <c xmlns="test:namespace">
+                <a xmlns:op="urn:ietf:params:xml:ns:netconf:base:1.0" op:operation="delete"/>
+            </c>
+        </config>
+    </edit-config>
+</rpc>
\ No newline at end of file