diff options
author | bisdhdh <biswajit.sadhu@gmail.com> | 2019-10-23 07:32:45 +0200 |
---|---|---|
committer | bisdhdh <biswajit.sadhu@gmail.com> | 2020-01-23 05:04:25 +0100 |
commit | b0965c44e942a06fedea73277aa164a27152a616 (patch) | |
tree | 4ef41df28e0cc6c628892e1dc8f645b8623c6d5f /lib/command.h | |
parent | Merge pull request #5412 from opensourcerouting/bfdd-vrf-fix (diff) | |
download | frr-b0965c44e942a06fedea73277aa164a27152a616.tar.xz frr-b0965c44e942a06fedea73277aa164a27152a616.zip |
bgpd: BGP Graceful Restart Per Neighbor(BGPN), DS & header files.
This pr contains all the header files changes for BGP GR per Neighbour(BGPN)
feature.
Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
Diffstat (limited to '')
-rw-r--r-- | lib/command.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h index c8dd04604..ca2ff1d5f 100644 --- a/lib/command.h +++ b/lib/command.h @@ -418,8 +418,25 @@ struct cmd_node { #define DAEMONS_LIST \ "<zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pbrd|fabricd|pimd|staticd|sharpd|vrrpd|ldpd>" +/* Graceful Restart cli help strings */ + +#define GR_CMD "Global Graceful Restart command\n" +#define NO_GR_CMD "Undo Global Graceful Restart command\n" +#define GR "Global Graceful Restart - GR Mode\n" +#define GR_DISABLE "Global Graceful Restart - Disable Mode\n" +#define NO_GR_DISABLE "Undo Global Graceful Restart - Disable Mode\n" +#define GR_DEBUG "Graceful Restart - Enable Debug Logs\n" +#define GR_SHOW "Graceful Restart - Show command for Global and all neighbor mode\n" +#define GR_NEIGHBOR_CMD "Graceful Restart command for a neighbor\n" +#define NO_GR_NEIGHBOR_CMD "Undo Graceful Restart command for a neighbor\n" +#define GR_NEIGHBOR_DISABLE_CMD "Graceful Restart Disable command for a neighbor\n" +#define NO_GR_NEIGHBOR_DISABLE_CMD "Undo Graceful Restart Disable command for a neighbor\n" +#define GR_NEIGHBOR_HELPER_CMD "Graceful Restart Helper command for a neighbor\n" +#define NO_GR_NEIGHBOR_HELPER_CMD "Undo Graceful Restart Helper command for a neighbor\n" + + /* Prototypes. */ -extern void install_node(struct cmd_node *, int (*)(struct vty *)); +extern void install_node(struct cmd_node *node, int (*)(struct vty *)); extern void install_default(enum node_type); extern void install_element(enum node_type, const struct cmd_element *); |