diff options
author | Christian Hopps <chopps@labn.net> | 2023-05-19 07:29:40 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2023-05-30 08:10:19 +0200 |
commit | e13a5c4165835f1e5a462866d8bf38c3ad42a73e (patch) | |
tree | 873f94bbcfdc73f4c866915477a1a884f117b3d1 /lib/vty.h | |
parent | mgmtd: Add note to SETCFG_REQ and debug logging (diff) | |
download | frr-e13a5c4165835f1e5a462866d8bf38c3ad42a73e.tar.xz frr-e13a5c4165835f1e5a462866d8bf38c3ad42a73e.zip |
lib: mgmtd: fixes for startup config file processing
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to '')
-rw-r--r-- | lib/vty.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -226,6 +226,9 @@ struct vty { uint64_t mgmt_session_id; /* FE adapter identifies session w/ this */ uint64_t mgmt_client_id; /* FE vty client identifies w/ this ID */ uint64_t mgmt_req_id; + /* set when we have sent mgmtd a *REQ command in response to some vty + * CLI command and we are waiting on the reply so we can respond to the + * vty user. */ bool mgmt_req_pending; bool mgmt_locked_candidate_ds; }; @@ -401,7 +404,7 @@ extern void vty_stdio_close(void); extern void vty_init_mgmt_fe(void); extern bool vty_mgmt_fe_enabled(void); -extern bool vty_mgmt_should_process_cli_changes(struct vty *vty); +extern bool vty_mgmt_should_process_cli_apply_changes(struct vty *vty); extern bool mgmt_vty_read_configs(void); extern int vty_mgmt_send_config_data(struct vty *vty); |