summaryrefslogtreecommitdiffstats
path: root/isisd/isis_nb.h
diff options
context:
space:
mode:
authorIsabella de Leon <ideleon@microsoft.com>2022-09-15 20:50:27 +0200
committerIsabella de Leon <ideleon@microsoft.com>2022-09-22 00:41:38 +0200
commit01ea9b035eaa2676ee54efd61f14ff4484eec59e (patch)
treeaa26c17109ae8ef5fb5e4a3ba59a232d54a2684b /isisd/isis_nb.h
parentlib: Fix skip of every other plist deletion (diff)
downloadfrr-01ea9b035eaa2676ee54efd61f14ff4484eec59e.tar.xz
frr-01ea9b035eaa2676ee54efd61f14ff4484eec59e.zip
isisd: Add set-overload on-startup CLI/YANG support
Before: r1# conf r1(config)# router isis <area-tag> r1(config-router)# set-overload-bit <cr> r1(config-router)# end After: r1# conf r1(config)# router isis <area-tag> r1(config-router)# set-overload-bit <cr> on-startup Set overload bit on startup r1(config-router)# set-overload-bit on-startup (0-86400) Set overload time in seconds r1(config-router)# set-overload-bit on-startup 300 r1(config-router)# end Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
Diffstat (limited to 'isisd/isis_nb.h')
-rw-r--r--isisd/isis_nb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/isisd/isis_nb.h b/isisd/isis_nb.h
index 00ca8be3b..a9f2eaea9 100644
--- a/isisd/isis_nb.h
+++ b/isisd/isis_nb.h
@@ -37,7 +37,8 @@ int isis_instance_dynamic_hostname_modify(struct nb_cb_modify_args *args);
int isis_instance_attached_send_modify(struct nb_cb_modify_args *args);
int isis_instance_attached_receive_modify(struct nb_cb_modify_args *args);
int isis_instance_attached_modify(struct nb_cb_modify_args *args);
-int isis_instance_overload_modify(struct nb_cb_modify_args *args);
+int isis_instance_overload_enabled_modify(struct nb_cb_modify_args *args);
+int isis_instance_overload_on_startup_modify(struct nb_cb_modify_args *args);
int isis_instance_metric_style_modify(struct nb_cb_modify_args *args);
int isis_instance_purge_originator_modify(struct nb_cb_modify_args *args);
int isis_instance_lsp_mtu_modify(struct nb_cb_modify_args *args);
@@ -442,6 +443,9 @@ void cli_show_isis_attached_receive(struct vty *vty,
bool show_defaults);
void cli_show_isis_overload(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults);
+void cli_show_isis_overload_on_startup(struct vty *vty,
+ const struct lyd_node *dnode,
+ bool show_defaults);
void cli_show_isis_metric_style(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults);
void cli_show_isis_area_pwd(struct vty *vty, const struct lyd_node *dnode,