summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-05-19 01:29:40 -0400
committerChristian Hopps <chopps@labn.net>2023-05-30 02:10:19 -0400
commite13a5c4165835f1e5a462866d8bf38c3ad42a73e (patch)
tree873f94bbcfdc73f4c866915477a1a884f117b3d1 /lib/vty.h
parent7a0894b5325e85f9d3d27d867bd091abec1ef0e4 (diff)
lib: mgmtd: fixes for startup config file processing
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 7a591ad172..d26531f781 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -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);