diff options
| author | Chirag Shah <chirag@nvidia.com> | 2020-08-20 12:09:53 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2020-08-20 14:12:04 -0700 |
| commit | 390a886277ba3afc6b9371cc13587b9a30ce5bdb (patch) | |
| tree | 4894f96aac6079993493eb818a159bcebab91052 /tests/lib/cli/common_cli.c | |
| parent | 6a7fb29c197718b7a8e43e64e641b59d0bb5a751 (diff) | |
*: 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>
Diffstat (limited to 'tests/lib/cli/common_cli.c')
| -rw-r--r-- | tests/lib/cli/common_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c index 3cade4a2c9..44cc6efe84 100644 --- a/tests/lib/cli/common_cli.c +++ b/tests/lib/cli/common_cli.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) vty_init(master, false); lib_cmd_init(); yang_init(true); - nb_init(master, NULL, 0); + nb_init(master, NULL, 0, false); test_init(argc, argv); |
