Display image version information.
More...
Go to the source code of this file.
Display image version information.
Definition in file version.c.
◆ show_vpe_version_command_fn()
Display image version info, a debug CLI command function.
Definition at line 54 of file version.c.
◆ vpe_api_get_build_date()
char* vpe_api_get_build_date |
( |
void |
| ) |
|
return the build date
Definition at line 161 of file version.c.
◆ vpe_api_get_build_directory()
char* vpe_api_get_build_directory |
( |
void |
| ) |
|
Return the image build directory name.
Definition at line 147 of file version.c.
◆ vpe_api_get_version()
char* vpe_api_get_version |
( |
void |
| ) |
|
Return the image version string.
Definition at line 154 of file version.c.
◆ show_vpe_version_command
Initial value:= {
.path = "show version",
.short_help = "show version [verbose] [cmdline]",
.is_mp_safe = 1,
}
static clib_error_t * show_vpe_version_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Display image version info, a debug CLI command function.
(constructor) VLIB_CLI_COMMAND (show_vpe_version_command)
Definition at line 137 of file version.c.
◆ vpe_compiler
Initial value:
The name of the compiler.
Definition at line 36 of file version.c.
◆ vpe_version_string
Initial value:=
"vpp v" VPP_BUILD_VER
" built by " VPP_BUILD_USER " on " VPP_BUILD_HOST " at " VPP_BUILD_DATE
The image version string.
Definition at line 31 of file version.c.