]> git.puffer.fish Git - matthieu/frr.git/commit
mgmtd, lib: implement CREATE_EXCL operation
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 5 Oct 2023 23:58:58 +0000 (02:58 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 11 Jan 2024 13:06:53 +0000 (15:06 +0200)
commit76e4eb84dd815ddee7d7e46bb5a2635bfe2501f5
treeea6bd2707b0146d203feabcf2c820a0756f1dbfd
parent5d1a31403832a069d1b655bc3410fcd770ad8313
mgmtd, lib: implement CREATE_EXCL operation

Currently, there's no difference between CREATE and MODIFY operations.
To be compatible with NETCONF/RESTCONF, add new CREATE_EXCL operation
that throws an error if the configuration data already exists.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/mgmt.proto
lib/mgmt_be_client.c
lib/northbound.c
lib/northbound.h
lib/vty.c
mgmtd/mgmt_txn.c
mgmtd/mgmt_vty.c