]> git.puffer.fish Git - mirror/frr.git/commit
lib: split nb_operation into two types
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 5 Oct 2023 21:13:16 +0000 (00:13 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 11 Jan 2024 13:06:50 +0000 (15:06 +0200)
commit5d1a31403832a069d1b655bc3410fcd770ad8313
tree733aa85a7c347533acd0ca952fa235a72ed486e8
parent67e8ef293f03b2dfd52981c7d82fbc98716fa1e5
lib: split nb_operation into two types

Currently, nb_operation enum means two different things - edit operation
type (frontend part), and callback type (backend part). These types
overlap, but they are not identical. We need to add more operation
types to support NETCONF/RESTCONF integration, so it's better to have
separate enums to identify different entities.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/northbound.c
lib/northbound.h
lib/northbound_confd.c
lib/northbound_sysrepo.c
lib/vty.c
mgmtd/mgmt_txn.c
tools/gen_northbound_callbacks.c