diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-09-11 20:59:46 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-12-09 14:39:18 -0500 |
| commit | f495425b64b50c32c5db29a30224f1b15d5b3a3b (patch) | |
| tree | 390589d6858a8c2f2f1aa620f3e720445bcd8a77 /vrrpd/vrrp_vty.h | |
| parent | e6a70ae8f108c7c82cf3d0e0937c3e76c0310e1e (diff) | |
vrrpd: northbound conversion
Convert VRRPD to use the northbound API.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_vty.h')
| -rw-r--r-- | vrrpd/vrrp_vty.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vrrpd/vrrp_vty.h b/vrrpd/vrrp_vty.h index 377321ec4a..6c6eef0327 100644 --- a/vrrpd/vrrp_vty.h +++ b/vrrpd/vrrp_vty.h @@ -20,6 +20,21 @@ #ifndef __VRRP_VTY_H__ #define __VRRP_VTY_H__ +#include "lib/northbound.h" + void vrrp_vty_init(void); +/* Northbound callbacks */ +void cli_show_vrrp(struct vty *vty, struct lyd_node *dnode, bool show_defaults); +void cli_show_shutdown(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +void cli_show_priority(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +void cli_show_advertisement_interval(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +void cli_show_ip(struct vty *vty, struct lyd_node *dnode, bool show_defaults); +void cli_show_ipv6(struct vty *vty, struct lyd_node *dnode, bool show_defaults); +void cli_show_preempt(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); + #endif /* __VRRP_VTY_H__ */ |
