FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
vrrp_cli.c File Reference
+ Include dependency graph for vrrp_cli.c:

Go to the source code of this file.

Functions

static clib_error_tvrrp_vr_add_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd, u8 is_add)
 
static clib_error_tvrrp_vr_add_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvrrp_vr_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvrrp_show_vr_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvrrp_proto_start_stop_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvrrp_peers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvrrp_vr_track_if_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t vrrp_vr_add_command
 (constructor) VLIB_CLI_COMMAND (vrrp_vr_add_command) More...
 
static vlib_cli_command_t vrrp_vr_del_command
 (constructor) VLIB_CLI_COMMAND (vrrp_vr_del_command) More...
 
static vlib_cli_command_t vrrp_show_vr_command
 (constructor) VLIB_CLI_COMMAND (vrrp_show_vr_command) More...
 
static vlib_cli_command_t vrrp_proto_start_stop_command
 (constructor) VLIB_CLI_COMMAND (vrrp_proto_start_stop_command) More...
 
static vlib_cli_command_t vrrp_peers_command
 (constructor) VLIB_CLI_COMMAND (vrrp_peers_command) More...
 
static vlib_cli_command_t vrrp_vr_track_if_command
 (constructor) VLIB_CLI_COMMAND (vrrp_vr_track_if_command) More...
 

Function Documentation

◆ vrrp_peers_command_fn()

static clib_error_t* vrrp_peers_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 288 of file vrrp_cli.c.

+ Here is the call graph for this function:

◆ vrrp_proto_start_stop_command_fn()

static clib_error_t* vrrp_proto_start_stop_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 223 of file vrrp_cli.c.

+ Here is the call graph for this function:

◆ vrrp_show_vr_command_fn()

static clib_error_t* vrrp_show_vr_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 181 of file vrrp_cli.c.

+ Here is the call graph for this function:

◆ vrrp_vr_add_command_fn()

static clib_error_t* vrrp_vr_add_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 148 of file vrrp_cli.c.

+ Here is the call graph for this function:

◆ vrrp_vr_add_del_command_fn()

static clib_error_t* vrrp_vr_add_del_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd,
u8  is_add 
)
static

Definition at line 20 of file vrrp_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vrrp_vr_del_command_fn()

static clib_error_t* vrrp_vr_del_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 165 of file vrrp_cli.c.

+ Here is the call graph for this function:

◆ vrrp_vr_track_if_command_fn()

static clib_error_t* vrrp_vr_track_if_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 398 of file vrrp_cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ vrrp_peers_command

vlib_cli_command_t vrrp_peers_command
static
Initial value:
=
{
.path = "vrrp peers",
.short_help =
"vrrp peers (<intf_name>|sw_if_index <n>) vr_id <n> [ipv6] <peer1_addr> [<peer2_addr> ...]",
.function = vrrp_peers_command_fn,
}
static clib_error_t * vrrp_peers_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: vrrp_cli.c:288

(constructor) VLIB_CLI_COMMAND (vrrp_peers_command)

Definition at line 388 of file vrrp_cli.c.

◆ vrrp_proto_start_stop_command

vlib_cli_command_t vrrp_proto_start_stop_command
static
Initial value:
=
{
.path = "vrrp proto",
.short_help =
"vrrp proto (start|stop) (<intf_name>|sw_if_index <n>) vr_id <n> [ipv6]",
}
static clib_error_t * vrrp_proto_start_stop_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: vrrp_cli.c:223

(constructor) VLIB_CLI_COMMAND (vrrp_proto_start_stop_command)

Definition at line 378 of file vrrp_cli.c.

◆ vrrp_show_vr_command

vlib_cli_command_t vrrp_show_vr_command
static
Initial value:
=
{
.path = "show vrrp vr",
.short_help =
"show vrrp vr [(<intf_name>|sw_if_index <n>)]",
}
static clib_error_t * vrrp_show_vr_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: vrrp_cli.c:181

(constructor) VLIB_CLI_COMMAND (vrrp_show_vr_command)

Definition at line 213 of file vrrp_cli.c.

◆ vrrp_vr_add_command

vlib_cli_command_t vrrp_vr_add_command
static
Initial value:
=
{
.path = "vrrp vr add",
.short_help =
"vrrp vr add <interface> [vr_id <n>] [ipv6] [priority <value>] [interval <value>] [no_preempt] [accept_mode] [unicast] [<ip_addr> ...]",
}
static clib_error_t * vrrp_vr_add_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: vrrp_cli.c:148

(constructor) VLIB_CLI_COMMAND (vrrp_vr_add_command)

Definition at line 155 of file vrrp_cli.c.

◆ vrrp_vr_del_command

vlib_cli_command_t vrrp_vr_del_command
static
Initial value:
=
{
.path = "vrrp vr del",
.short_help = "vrrp vr del <interface> [vr_id <n>] [ipv6]",
}
static clib_error_t * vrrp_vr_del_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: vrrp_cli.c:165

(constructor) VLIB_CLI_COMMAND (vrrp_vr_del_command)

Definition at line 172 of file vrrp_cli.c.

◆ vrrp_vr_track_if_command

vlib_cli_command_t vrrp_vr_track_if_command
static
Initial value:
=
{
.path = "vrrp vr track-if",
.short_help =
"vrrp vr track-if (add|del) (<intf_name>|sw_if_index <n>) vr_id <n> [ipv6] track-index <n> priority <n> [ track-index <n> priority <n> ...]",
}
static clib_error_t * vrrp_vr_track_if_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: vrrp_cli.c:398

(constructor) VLIB_CLI_COMMAND (vrrp_vr_track_if_command)

Definition at line 492 of file vrrp_cli.c.