]> git.puffer.fish Git - mirror/frr.git/commit
mgmt, lib: differentiate DELETE and REMOVE operations
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 6 Oct 2023 12:01:16 +0000 (15:01 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 11 Jan 2024 13:06:53 +0000 (15:06 +0200)
commit3c2598a26ff01fc712d61233a6a627fdfa1a7b77
tree9b3ba850ffe7b13c1ce1d4c27d9846dd7d951364
parent76e4eb84dd815ddee7d7e46bb5a2635bfe2501f5
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>
doc/developer/northbound/retrofitting-configuration-commands.rst
lib/mgmt.proto
lib/mgmt_be_client.c
lib/northbound.c
lib/northbound.h
lib/northbound_cli.h
lib/northbound_sysrepo.c
lib/vty.c
mgmtd/mgmt_txn.c
mgmtd/mgmt_vty.c