summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2023-10-06 15:01:16 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-11 15:06:53 +0200
commit3c2598a26ff01fc712d61233a6a627fdfa1a7b77 (patch)
tree9b3ba850ffe7b13c1ce1d4c27d9846dd7d951364 /lib/northbound_cli.h
parent76e4eb84dd815ddee7d7e46bb5a2635bfe2501f5 (diff)
mgmt, lib: differentiate DELETE and REMOVE operations
Currently, there's a single operation type which doesn't return error if the object doesn't exists. To be compatible with NETCONF/RESTCONF, we should support differentiate between DELETE (fails when object doesn't exist) and REMOVE (doesn't fail if the object doesn't exist). Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/northbound_cli.h')
-rw-r--r--lib/northbound_cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound_cli.h b/lib/northbound_cli.h
index c8f8a8481a..1a45794d45 100644
--- a/lib/northbound_cli.h
+++ b/lib/northbound_cli.h
@@ -32,7 +32,7 @@ extern struct nb_config *vty_shared_candidate_config;
* XPath (absolute or relative) of the configuration option being edited.
*
* operation
- * Operation to apply (either NB_OP_CREATE, NB_OP_MODIFY or NB_OP_DELETE).
+ * Operation to apply (either NB_OP_CREATE, NB_OP_MODIFY or NB_OP_DESTROY).
*
* value
* New value of the configuration option. Should be NULL for typeless YANG