2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-11-19 21:51:52 +01:00
|
|
|
/*
|
2019-01-29 20:59:01 +01:00
|
|
|
* VRRP CLI commands.
|
|
|
|
* Copyright (C) 2018-2019 Cumulus Networks, Inc.
|
|
|
|
* Quentin Young
|
2018-11-19 21:51:52 +01:00
|
|
|
*/
|
|
|
|
#ifndef __VRRP_VTY_H__
|
|
|
|
#define __VRRP_VTY_H__
|
|
|
|
|
2019-09-11 22:59:46 +02:00
|
|
|
#include "lib/northbound.h"
|
|
|
|
|
2018-11-19 21:51:52 +01:00
|
|
|
void vrrp_vty_init(void);
|
2019-01-29 20:59:01 +01:00
|
|
|
|
2019-09-11 22:59:46 +02:00
|
|
|
/* Northbound callbacks */
|
2021-10-13 19:08:37 +02:00
|
|
|
void cli_show_vrrp(struct vty *vty, const struct lyd_node *dnode,
|
|
|
|
bool show_defaults);
|
|
|
|
void cli_show_shutdown(struct vty *vty, const struct lyd_node *dnode,
|
2019-09-11 22:59:46 +02:00
|
|
|
bool show_defaults);
|
2021-10-13 19:08:37 +02:00
|
|
|
void cli_show_priority(struct vty *vty, const struct lyd_node *dnode,
|
2019-09-11 22:59:46 +02:00
|
|
|
bool show_defaults);
|
2021-10-13 19:08:37 +02:00
|
|
|
void cli_show_advertisement_interval(struct vty *vty,
|
|
|
|
const struct lyd_node *dnode,
|
2019-09-11 22:59:46 +02:00
|
|
|
bool show_defaults);
|
2021-10-13 19:08:37 +02:00
|
|
|
void cli_show_ip(struct vty *vty, const struct lyd_node *dnode,
|
|
|
|
bool show_defaults);
|
|
|
|
void cli_show_ipv6(struct vty *vty, const struct lyd_node *dnode,
|
|
|
|
bool show_defaults);
|
|
|
|
void cli_show_preempt(struct vty *vty, const struct lyd_node *dnode,
|
2019-09-11 22:59:46 +02:00
|
|
|
bool show_defaults);
|
2022-11-25 06:52:46 +01:00
|
|
|
void cli_show_checksum_with_ipv4_pseudoheader(struct vty *vty,
|
|
|
|
const struct lyd_node *dnode,
|
|
|
|
bool show_defaults);
|
2019-09-11 22:59:46 +02:00
|
|
|
|
2019-01-29 20:59:01 +01:00
|
|
|
#endif /* __VRRP_VTY_H__ */
|