summaryrefslogtreecommitdiffstats
path: root/lib/command.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-06-13 23:06:36 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-06-19 23:20:24 +0200
commitdb9a7cf7c05c9fe82af50cb28d56a16fda236e76 (patch)
tree078536d5328214af8c9a603bd3b1153f6729074b /lib/command.h
parentMerge pull request #4557 from dslicenc/zebra_rnh_eval (diff)
downloadfrr-db9a7cf7c05c9fe82af50cb28d56a16fda236e76.tar.xz
frr-db9a7cf7c05c9fe82af50cb28d56a16fda236e76.zip
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>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index cc4c5d52f..e02f1134b 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);