]> git.proxmox.com Git - mirror_frr.git/commit - lib/northbound.h
*: record transaction based on control flag
authorChirag Shah <chirag@nvidia.com>
Thu, 20 Aug 2020 19:09:53 +0000 (12:09 -0700)
committerChirag Shah <chirag@nvidia.com>
Thu, 20 Aug 2020 21:12:04 +0000 (14:12 -0700)
commit390a886277ba3afc6b9371cc13587b9a30ce5bdb
tree4894f96aac6079993493eb818a159bcebab91052
parent6a7fb29c197718b7a8e43e64e641b59d0bb5a751
*: record transaction based on control flag

In case of config rollback is enabled,
record northbound transaction based on a control flag.
The actual frr daemons would set the flag to true via
nb_init from frr_init.
This will allow test daemon to bypass recording
transacation to db.

Signed-off-by: Chirag Shah <chirag@nvidia.com>
lib/grammar_sandbox_main.c
lib/libfrr.c
lib/northbound.c
lib/northbound.h
tests/bgpd/test_peer_attr.c
tests/helpers/c/main.c
tests/lib/cli/common_cli.c
tests/lib/cli/test_commands.c
tests/lib/northbound/test_oper_data.c