FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
kp_cli.c File Reference
+ Include dependency graph for kp_cli.c:

Go to the source code of this file.

Functions

static clib_error_tkp_vip_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tkp_pod_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tkp_conf_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tkp_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tkp_show_vips_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tkp_set_interface_nat4_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tkp_flowtable_flush_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t kp_vip_command
 (constructor) VLIB_CLI_COMMAND (kp_vip_command) More...
 
static vlib_cli_command_t kp_pod_command
 (constructor) VLIB_CLI_COMMAND (kp_pod_command) More...
 
static vlib_cli_command_t kp_conf_command
 (constructor) VLIB_CLI_COMMAND (kp_conf_command) More...
 
static vlib_cli_command_t kp_show_command
 (constructor) VLIB_CLI_COMMAND (kp_show_command) More...
 
static vlib_cli_command_t kp_show_vips_command
 (constructor) VLIB_CLI_COMMAND (kp_show_vips_command) More...
 
static vlib_cli_command_t kp_set_interface_nat4_command
 (constructor) VLIB_CLI_COMMAND (kp_set_interface_nat4_command) More...
 
static vlib_cli_command_t kp_flowtable_flush_command
 (constructor) VLIB_CLI_COMMAND (kp_flowtable_flush_command) More...
 

Function Documentation

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

Definition at line 186 of file kp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 349 of file kp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 111 of file kp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 284 of file kp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 238 of file kp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 254 of file kp_cli.c.

+ Here is the call graph for this function:

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

Definition at line 20 of file kp_cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t kp_conf_command
static
Initial value:
=
{
.path = "kube-proxy conf",
.short_help = "kube-proxy conf [buckets <n>] [timeout <s>]",
.function = kp_conf_command_fn,
}
static clib_error_t * kp_conf_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:186

(constructor) VLIB_CLI_COMMAND (kp_conf_command)

Definition at line 230 of file kp_cli.c.

vlib_cli_command_t kp_flowtable_flush_command
static
Initial value:
= {
.path = "test kube-proxy flowtable flush",
.short_help = "test kube-proxy flowtable flush",
}
static clib_error_t * kp_flowtable_flush_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:349

(constructor) VLIB_CLI_COMMAND (kp_flowtable_flush_command)

Definition at line 378 of file kp_cli.c.

vlib_cli_command_t kp_pod_command
static
Initial value:
=
{
.path = "kube-proxy pod",
.short_help =
"kube-proxy pod <vip-prefix> [<address> [<address> [...]]] [del]",
.function = kp_pod_command_fn,
}
static clib_error_t * kp_pod_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:111

(constructor) VLIB_CLI_COMMAND (kp_pod_command)

Definition at line 177 of file kp_cli.c.

vlib_cli_command_t kp_set_interface_nat4_command
static
Initial value:
= {
.path = "kube-proxy set interface nat4",
.short_help = "kube-proxy set interface nat4 in <intfc> [del]",
}
static clib_error_t * kp_set_interface_nat4_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:284

(constructor) VLIB_CLI_COMMAND (kp_set_interface_nat4_command)

Definition at line 342 of file kp_cli.c.

vlib_cli_command_t kp_show_command
static
Initial value:
=
{
.path = "show kube-proxy",
.short_help = "show kube-proxy",
.function = kp_show_command_fn,
}
static clib_error_t * kp_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:238

(constructor) VLIB_CLI_COMMAND (kp_show_command)

Definition at line 246 of file kp_cli.c.

vlib_cli_command_t kp_show_vips_command
static
Initial value:
=
{
.path = "show kube-proxy vips",
.short_help = "show kube-proxy vips [verbose]",
}
static clib_error_t * kp_show_vips_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:254

(constructor) VLIB_CLI_COMMAND (kp_show_vips_command)

Definition at line 276 of file kp_cli.c.

vlib_cli_command_t kp_vip_command
static
Initial value:
=
{
.path = "kube-proxy vip",
.short_help = "kube-proxy vip <prefix> port <n> target_port <n>"
" node_port <n> [nat4|nat6)] [new_len <n>] [del]",
.function = kp_vip_command_fn,
}
static clib_error_t * kp_vip_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: kp_cli.c:20

(constructor) VLIB_CLI_COMMAND (kp_vip_command)

Definition at line 102 of file kp_cli.c.