FD.io VPP  v21.10.1-2-g0a485f517
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 287 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 222 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 397 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,
}

(constructor) VLIB_CLI_COMMAND (vrrp_peers_command)

Definition at line 387 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]",
}

(constructor) VLIB_CLI_COMMAND (vrrp_proto_start_stop_command)

Definition at line 377 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>)]",
}

(constructor) VLIB_CLI_COMMAND (vrrp_show_vr_command)

Definition at line 212 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> ...]",
}

(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]",
}

(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> ...]",
}

(constructor) VLIB_CLI_COMMAND (vrrp_vr_track_if_command)

Definition at line 491 of file vrrp_cli.c.

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)
Definition: vrrp_cli.c:165
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)
Definition: vrrp_cli.c:397
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)
Definition: vrrp_cli.c:181
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)
Definition: vrrp_cli.c:148
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:287
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)
Definition: vrrp_cli.c:222