mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 21:54:01 +00:00
*: fix some malformed CLI docstrings
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
3df5764499
commit
a0dfca37b5
@ -5773,7 +5773,7 @@ ALIAS_HIDDEN(neighbor_remove_private_as_all,
|
|||||||
"neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS all",
|
"neighbor <A.B.C.D|X:X::X:X|WORD> remove-private-AS all",
|
||||||
NEIGHBOR_STR NEIGHBOR_ADDR_STR2
|
NEIGHBOR_STR NEIGHBOR_ADDR_STR2
|
||||||
"Remove private ASNs in outbound updates\n"
|
"Remove private ASNs in outbound updates\n"
|
||||||
"Apply to all AS numbers")
|
"Apply to all AS numbers\n")
|
||||||
|
|
||||||
DEFUN (neighbor_remove_private_as_replace_as,
|
DEFUN (neighbor_remove_private_as_replace_as,
|
||||||
neighbor_remove_private_as_replace_as_cmd,
|
neighbor_remove_private_as_replace_as_cmd,
|
||||||
|
@ -246,7 +246,7 @@ DEFPY (ldp_allow_broken_lsps,
|
|||||||
"[no] install allow-broken-lsps",
|
"[no] install allow-broken-lsps",
|
||||||
NO_STR
|
NO_STR
|
||||||
"install lsps\n"
|
"install lsps\n"
|
||||||
"if no remote-label install with imp-null")
|
"if no remote-label install with imp-null\n")
|
||||||
{
|
{
|
||||||
return (ldp_vty_allow_broken_lsp(vty, no));
|
return (ldp_vty_allow_broken_lsp(vty, no));
|
||||||
}
|
}
|
||||||
|
@ -761,8 +761,8 @@ DEFPY (log_immediate_mode,
|
|||||||
log_immediate_mode_cmd,
|
log_immediate_mode_cmd,
|
||||||
"[no] log immediate-mode",
|
"[no] log immediate-mode",
|
||||||
NO_STR
|
NO_STR
|
||||||
"Logging control"
|
"Logging control\n"
|
||||||
"Output immediately, without buffering")
|
"Output immediately, without buffering\n")
|
||||||
{
|
{
|
||||||
zlog_set_immediate(!no);
|
zlog_set_immediate(!no);
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
|
@ -2997,9 +2997,9 @@ DEFPY(gm_debug_show,
|
|||||||
"debug show mld interface IFNAME",
|
"debug show mld interface IFNAME",
|
||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"MLD"
|
MLD_STR
|
||||||
INTERFACE_STR
|
INTERFACE_STR
|
||||||
"interface name")
|
"interface name\n")
|
||||||
{
|
{
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
struct pim_interface *pim_ifp;
|
struct pim_interface *pim_ifp;
|
||||||
|
@ -5437,7 +5437,7 @@ DEFPY(no_ip_msdp_mesh_group,
|
|||||||
IP_STR
|
IP_STR
|
||||||
CFG_MSDP_STR
|
CFG_MSDP_STR
|
||||||
"Delete MSDP mesh-group\n"
|
"Delete MSDP mesh-group\n"
|
||||||
"Mesh group name")
|
"Mesh group name\n")
|
||||||
{
|
{
|
||||||
const char *vrfname;
|
const char *vrfname;
|
||||||
char xpath_value[XPATH_MAXLEN];
|
char xpath_value[XPATH_MAXLEN];
|
||||||
|
@ -121,7 +121,7 @@ DEFPY_YANG(vrrp_priority,
|
|||||||
VRRP_STR
|
VRRP_STR
|
||||||
VRRP_VRID_STR
|
VRRP_VRID_STR
|
||||||
VRRP_PRIORITY_STR
|
VRRP_PRIORITY_STR
|
||||||
"Priority value")
|
"Priority value\n")
|
||||||
{
|
{
|
||||||
nb_cli_enqueue_change(vty, "./priority", NB_OP_MODIFY, priority_str);
|
nb_cli_enqueue_change(vty, "./priority", NB_OP_MODIFY, priority_str);
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ DEFPY_YANG(no_vrrp_priority,
|
|||||||
VRRP_STR
|
VRRP_STR
|
||||||
VRRP_VRID_STR
|
VRRP_VRID_STR
|
||||||
VRRP_PRIORITY_STR
|
VRRP_PRIORITY_STR
|
||||||
"Priority value")
|
"Priority value\n")
|
||||||
{
|
{
|
||||||
nb_cli_enqueue_change(vty, "./priority", NB_OP_MODIFY, NULL);
|
nb_cli_enqueue_change(vty, "./priority", NB_OP_MODIFY, NULL);
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ DEFPY_YANG(vrrp_advertisement_interval,
|
|||||||
vrrp_advertisement_interval_cmd,
|
vrrp_advertisement_interval_cmd,
|
||||||
"vrrp (1-255)$vrid advertisement-interval (10-40950)",
|
"vrrp (1-255)$vrid advertisement-interval (10-40950)",
|
||||||
VRRP_STR VRRP_VRID_STR VRRP_ADVINT_STR
|
VRRP_STR VRRP_VRID_STR VRRP_ADVINT_STR
|
||||||
"Advertisement interval in milliseconds; must be multiple of 10")
|
"Advertisement interval in milliseconds; must be multiple of 10\n")
|
||||||
{
|
{
|
||||||
char val[20];
|
char val[20];
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ DEFPY_YANG(no_vrrp_advertisement_interval,
|
|||||||
no_vrrp_advertisement_interval_cmd,
|
no_vrrp_advertisement_interval_cmd,
|
||||||
"no vrrp (1-255)$vrid advertisement-interval [(10-40950)]",
|
"no vrrp (1-255)$vrid advertisement-interval [(10-40950)]",
|
||||||
NO_STR VRRP_STR VRRP_VRID_STR VRRP_ADVINT_STR
|
NO_STR VRRP_STR VRRP_VRID_STR VRRP_ADVINT_STR
|
||||||
"Advertisement interval in milliseconds; must be multiple of 10")
|
"Advertisement interval in milliseconds; must be multiple of 10\n")
|
||||||
{
|
{
|
||||||
nb_cli_enqueue_change(vty, "./advertisement-interval", NB_OP_MODIFY,
|
nb_cli_enqueue_change(vty, "./advertisement-interval", NB_OP_MODIFY,
|
||||||
NULL);
|
NULL);
|
||||||
|
@ -1841,12 +1841,15 @@ DEFUN (clear_zebra_fpm_stats,
|
|||||||
/*
|
/*
|
||||||
* update fpm connection information
|
* update fpm connection information
|
||||||
*/
|
*/
|
||||||
DEFUN ( fpm_remote_ip,
|
DEFUN (fpm_remote_ip,
|
||||||
fpm_remote_ip_cmd,
|
fpm_remote_ip_cmd,
|
||||||
"fpm connection ip A.B.C.D port (1-65535)",
|
"fpm connection ip A.B.C.D port (1-65535)",
|
||||||
"fpm connection remote ip and port\n"
|
"Forwarding Path Manager\n"
|
||||||
"Remote fpm server ip A.B.C.D\n"
|
"Configure FPM connection\n"
|
||||||
"Enter ip ")
|
"Connect to IPv4 address\n"
|
||||||
|
"Connect to IPv4 address\n"
|
||||||
|
"TCP port number\n"
|
||||||
|
"TCP port number\n")
|
||||||
{
|
{
|
||||||
|
|
||||||
in_addr_t fpm_server;
|
in_addr_t fpm_server;
|
||||||
@ -1867,13 +1870,16 @@ DEFUN ( fpm_remote_ip,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN ( no_fpm_remote_ip,
|
DEFUN (no_fpm_remote_ip,
|
||||||
no_fpm_remote_ip_cmd,
|
no_fpm_remote_ip_cmd,
|
||||||
"no fpm connection ip A.B.C.D port (1-65535)",
|
"no fpm connection ip A.B.C.D port (1-65535)",
|
||||||
"fpm connection remote ip and port\n"
|
NO_STR
|
||||||
"Connection\n"
|
"Forwarding Path Manager\n"
|
||||||
"Remote fpm server ip A.B.C.D\n"
|
"Remove configured FPM connection\n"
|
||||||
"Enter ip ")
|
"Connect to IPv4 address\n"
|
||||||
|
"Connect to IPv4 address\n"
|
||||||
|
"TCP port number\n"
|
||||||
|
"TCP port number\n")
|
||||||
{
|
{
|
||||||
if (zfpm_g->fpm_server != inet_addr(argv[4]->arg)
|
if (zfpm_g->fpm_server != inet_addr(argv[4]->arg)
|
||||||
|| zfpm_g->fpm_port != atoi(argv[6]->arg))
|
|| zfpm_g->fpm_port != atoi(argv[6]->arg))
|
||||||
|
Loading…
Reference in New Issue
Block a user