summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-06-13 17:06:36 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-06-19 17:20:24 -0400
commitdb9a7cf7c05c9fe82af50cb28d56a16fda236e76 (patch)
tree078536d5328214af8c9a603bd3b1153f6729074b
parent67e42128db3c380e8b8067da164675c282a1dca5 (diff)
lib: Add some all daemon command strings
Add some strings for defining vty commands that target all daemons. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
-rw-r--r--lib/command.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index cc4c5d52f2..e02f1134bd 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -411,6 +411,12 @@ struct cmd_node {
#define NEIGHBOR_ADDR_STR2 "Neighbor address\nNeighbor IPv6 address\nInterface name or neighbor tag\n"
#define NEIGHBOR_ADDR_STR3 "Neighbor address\nIPv6 address\nInterface name\n"
+/* Dameons lists */
+#define DAEMONS_STR \
+ "For the zebra daemon\nFor the rip daemon\nFor the ripng daemon\nFor the ospf daemon\nFor the ospfv6 daemon\nFor the bgp daemon\nFor the isis daemon\nFor the pbr daemon\nFor the fabricd daemon\nFor the pim daemon\nFor the static daemon\n"
+#define DAEMONS_LIST \
+ "<zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pbrd|fabricd|pimd|staticd>"
+
/* Prototypes. */
extern void install_node(struct cmd_node *, int (*)(struct vty *));
extern void install_default(enum node_type);