From f495425b64b50c32c5db29a30224f1b15d5b3a3b Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 11 Sep 2019 20:59:46 +0000 Subject: vrrpd: northbound conversion Convert VRRPD to use the northbound API. Signed-off-by: Quentin Young --- vrrpd/vrrp_vty.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'vrrpd/vrrp_vty.h') 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__ */ -- cgit v1.2.3