diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2019-07-03 14:39:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 14:39:59 +0200 |
commit | 1df04926871d9c9029fc22037db799526b691e02 (patch) | |
tree | 578c50cb3e575b2f0c002f2d5893218246b4fa5a /lib/command.h | |
parent | Merge pull request #4634 from mjstapp/vty_report_pids (diff) | |
parent | doc: Add a performance note for log filtering (diff) | |
download | frr-1df04926871d9c9029fc22037db799526b691e02.tar.xz frr-1df04926871d9c9029fc22037db799526b691e02.zip |
Run-time log filtering via vtysh commands (#4524)
Run-time log filtering via vtysh commands
Diffstat (limited to 'lib/command.h')
-rw-r--r-- | lib/command.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index fd8b56d62..de38563f9 100644 --- a/lib/command.h +++ b/lib/command.h @@ -396,6 +396,7 @@ struct cmd_node { #define SR_STR "Segment-Routing specific commands\n" #define WATCHFRR_STR "watchfrr information\n" #define ZEBRA_STR "Zebra information\n" +#define FILTER_LOG_STR "Filter Logs\n" #define CMD_VNI_RANGE "(1-16777215)" #define CONF_BACKUP_EXT ".sav" @@ -410,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\nFor the sharpd daemon\nFor the vrrpd daemon\n" +#define DAEMONS_LIST \ + "<zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pbrd|fabricd|pimd|staticd|sharpd|vrrpd>" + /* Prototypes. */ extern void install_node(struct cmd_node *, int (*)(struct vty *)); extern void install_default(enum node_type); |