]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: Add some all daemon command strings
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 13 Jun 2019 21:06:36 +0000 (17:06 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Wed, 19 Jun 2019 21:20:24 +0000 (17:20 -0400)
Add some strings for defining vty commands that target
all daemons.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/command.h

index cc4c5d52f29c1c4ea80b4207ec621ab4abffc181..e02f1134bd3b4fec4a215767ec986540a39464cc 100644 (file)
@@ -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);