summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2022-11-28 15:26:06 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2023-01-13 15:32:12 -0300
commite280279d5ac6fff4aa5583af0ecf97e5bc2767ad (patch)
treed76b76c53dba506af8509fd8599a9a448bbc0801 /lib/command.h
parent351ad684058412e4ac187692913a4ce150088d3f (diff)
lib,staticd: BFD integration CLI commands
Implement the static route monitoring feature with BFD integration. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index 0f9715e81c..5cc40f71f6 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -497,6 +497,13 @@ struct cmd_node {
#define ROLE_STR \
"Providing transit\nRoute server\nRS client\nUsing transit\nPublic/private peering\n"
+/* BFD protocol integration strings. */
+#define BFD_INTEGRATION_STR "BFD monitoring\n"
+#define BFD_INTEGRATION_MULTI_HOP_STR "Use BFD multi hop session\n"
+#define BFD_INTEGRATION_SOURCE_STR "Use source for BFD session\n"
+#define BFD_INTEGRATION_SOURCEV4_STR "Use IPv4 source for BFD session\n"
+#define BFD_INTEGRATION_SOURCEV6_STR "Use IPv4 source for BFD session\n"
+
/* Prototypes. */
extern void install_node(struct cmd_node *node);
extern void install_default(enum node_type);