]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
5435a2bf | 2 | /* |
63d4bd12 QY |
3 | * VRRP CLI commands. |
4 | * Copyright (C) 2018-2019 Cumulus Networks, Inc. | |
5 | * Quentin Young | |
5435a2bf QY |
6 | */ |
7 | #ifndef __VRRP_VTY_H__ | |
8 | #define __VRRP_VTY_H__ | |
9 | ||
f495425b QY |
10 | #include "lib/northbound.h" |
11 | ||
5435a2bf | 12 | void vrrp_vty_init(void); |
63d4bd12 | 13 | |
f495425b | 14 | /* Northbound callbacks */ |
25605051 IR |
15 | void cli_show_vrrp(struct vty *vty, const struct lyd_node *dnode, |
16 | bool show_defaults); | |
17 | void cli_show_shutdown(struct vty *vty, const struct lyd_node *dnode, | |
f495425b | 18 | bool show_defaults); |
25605051 | 19 | void cli_show_priority(struct vty *vty, const struct lyd_node *dnode, |
f495425b | 20 | bool show_defaults); |
25605051 IR |
21 | void cli_show_advertisement_interval(struct vty *vty, |
22 | const struct lyd_node *dnode, | |
f495425b | 23 | bool show_defaults); |
25605051 IR |
24 | void cli_show_ip(struct vty *vty, const struct lyd_node *dnode, |
25 | bool show_defaults); | |
26 | void cli_show_ipv6(struct vty *vty, const struct lyd_node *dnode, | |
27 | bool show_defaults); | |
28 | void cli_show_preempt(struct vty *vty, const struct lyd_node *dnode, | |
f495425b | 29 | bool show_defaults); |
9f2379bd SY |
30 | void cli_show_checksum_with_ipv4_pseudoheader(struct vty *vty, |
31 | const struct lyd_node *dnode, | |
32 | bool show_defaults); | |
f495425b | 33 | |
63d4bd12 | 34 | #endif /* __VRRP_VTY_H__ */ |