mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 03:53:38 +00:00
lib, ospf6d, ospfd, zebra: Add ZEBRA_STR
Allow us to use a ZEBRA_STR for commands Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
ef47f23b91
commit
41e7fb8030
@ -358,6 +358,7 @@ struct cmd_node {
|
|||||||
#define PCE_STR "PCE Router Information specific commands\n"
|
#define PCE_STR "PCE Router Information specific commands\n"
|
||||||
#define MPLS_STR "MPLS information\n"
|
#define MPLS_STR "MPLS information\n"
|
||||||
#define WATCHFRR_STR "watchfrr information\n"
|
#define WATCHFRR_STR "watchfrr information\n"
|
||||||
|
#define ZEBRA_STR "Zebra information\n"
|
||||||
|
|
||||||
#define CONF_BACKUP_EXT ".sav"
|
#define CONF_BACKUP_EXT ".sav"
|
||||||
|
|
||||||
|
@ -256,7 +256,7 @@ DEFUN (show_zebra,
|
|||||||
SHOW_STR
|
SHOW_STR
|
||||||
IPV6_STR
|
IPV6_STR
|
||||||
OSPF6_STR
|
OSPF6_STR
|
||||||
"Zebra information\n")
|
ZEBRA_STR)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
if (zclient == NULL) {
|
if (zclient == NULL) {
|
||||||
|
@ -1182,7 +1182,7 @@ DEFUN (debug_ospf_zebra,
|
|||||||
"debug ospf zebra [<interface|redistribute>]",
|
"debug ospf zebra [<interface|redistribute>]",
|
||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
OSPF_STR
|
OSPF_STR
|
||||||
"OSPF Zebra information\n"
|
ZEBRA_STR
|
||||||
"Zebra interface\n"
|
"Zebra interface\n"
|
||||||
"Zebra redistribute\n")
|
"Zebra redistribute\n")
|
||||||
{
|
{
|
||||||
@ -1195,7 +1195,7 @@ DEFUN (debug_ospf_instance_zebra,
|
|||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
OSPF_STR
|
OSPF_STR
|
||||||
"Instance ID\n"
|
"Instance ID\n"
|
||||||
"OSPF Zebra information\n"
|
ZEBRA_STR
|
||||||
"Zebra interface\n"
|
"Zebra interface\n"
|
||||||
"Zebra redistribute\n")
|
"Zebra redistribute\n")
|
||||||
{
|
{
|
||||||
@ -1245,7 +1245,7 @@ DEFUN (no_debug_ospf_zebra,
|
|||||||
NO_STR
|
NO_STR
|
||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
OSPF_STR
|
OSPF_STR
|
||||||
"OSPF Zebra information\n"
|
ZEBRA_STR
|
||||||
"Zebra interface\n"
|
"Zebra interface\n"
|
||||||
"Zebra redistribute\n")
|
"Zebra redistribute\n")
|
||||||
{
|
{
|
||||||
@ -1259,7 +1259,7 @@ DEFUN (no_debug_ospf_instance_zebra,
|
|||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
OSPF_STR
|
OSPF_STR
|
||||||
"Instance ID\n"
|
"Instance ID\n"
|
||||||
"OSPF Zebra information\n"
|
ZEBRA_STR
|
||||||
"Zebra interface\n"
|
"Zebra interface\n"
|
||||||
"Zebra redistribute\n")
|
"Zebra redistribute\n")
|
||||||
{
|
{
|
||||||
|
@ -1413,7 +1413,7 @@ DEFUN (show_zebra_fpm_stats,
|
|||||||
show_zebra_fpm_stats_cmd,
|
show_zebra_fpm_stats_cmd,
|
||||||
"show zebra fpm stats",
|
"show zebra fpm stats",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Zebra information\n"
|
ZEBRA_STR
|
||||||
"Forwarding Path Manager information\n"
|
"Forwarding Path Manager information\n"
|
||||||
"Statistics\n")
|
"Statistics\n")
|
||||||
{
|
{
|
||||||
@ -1428,7 +1428,7 @@ DEFUN (clear_zebra_fpm_stats,
|
|||||||
clear_zebra_fpm_stats_cmd,
|
clear_zebra_fpm_stats_cmd,
|
||||||
"clear zebra fpm stats",
|
"clear zebra fpm stats",
|
||||||
CLEAR_STR
|
CLEAR_STR
|
||||||
"Zebra information\n"
|
ZEBRA_STR
|
||||||
"Clear Forwarding Path Manager information\n"
|
"Clear Forwarding Path Manager information\n"
|
||||||
"Statistics\n")
|
"Statistics\n")
|
||||||
{
|
{
|
||||||
|
@ -392,7 +392,7 @@ DEFUN (no_set_src,
|
|||||||
DEFUN (zebra_route_map_timer,
|
DEFUN (zebra_route_map_timer,
|
||||||
zebra_route_map_timer_cmd,
|
zebra_route_map_timer_cmd,
|
||||||
"zebra route-map delay-timer (0-600)",
|
"zebra route-map delay-timer (0-600)",
|
||||||
"Zebra information\n"
|
ZEBRA_STR
|
||||||
"Set route-map parameters\n"
|
"Set route-map parameters\n"
|
||||||
"Time to wait before route-map updates are processed\n"
|
"Time to wait before route-map updates are processed\n"
|
||||||
"0 means event-driven updates are disabled\n")
|
"0 means event-driven updates are disabled\n")
|
||||||
@ -410,7 +410,7 @@ DEFUN (no_zebra_route_map_timer,
|
|||||||
no_zebra_route_map_timer_cmd,
|
no_zebra_route_map_timer_cmd,
|
||||||
"no zebra route-map delay-timer [(0-600)]",
|
"no zebra route-map delay-timer [(0-600)]",
|
||||||
NO_STR
|
NO_STR
|
||||||
"Zebra information\n"
|
ZEBRA_STR
|
||||||
"Set route-map parameters\n"
|
"Set route-map parameters\n"
|
||||||
"Reset delay-timer to default value, 30 secs\n"
|
"Reset delay-timer to default value, 30 secs\n"
|
||||||
"0 means event-driven updates are disabled\n")
|
"0 means event-driven updates are disabled\n")
|
||||||
|
@ -2841,7 +2841,7 @@ DEFUN (show_zebra,
|
|||||||
show_zebra_cmd,
|
show_zebra_cmd,
|
||||||
"show zebra",
|
"show zebra",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Zebra information\n")
|
ZEBRA_STR)
|
||||||
{
|
{
|
||||||
struct vrf *vrf;
|
struct vrf *vrf;
|
||||||
|
|
||||||
@ -2866,7 +2866,7 @@ DEFUN (show_zebra_client,
|
|||||||
show_zebra_client_cmd,
|
show_zebra_client_cmd,
|
||||||
"show zebra client",
|
"show zebra client",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Zebra information\n"
|
ZEBRA_STR
|
||||||
"Client information\n")
|
"Client information\n")
|
||||||
{
|
{
|
||||||
struct listnode *node;
|
struct listnode *node;
|
||||||
@ -2883,7 +2883,7 @@ DEFUN (show_zebra_client_summary,
|
|||||||
show_zebra_client_summary_cmd,
|
show_zebra_client_summary_cmd,
|
||||||
"show zebra client summary",
|
"show zebra client summary",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Zebra information brief\n"
|
ZEBRA_STR
|
||||||
"Client information brief\n"
|
"Client information brief\n"
|
||||||
"Brief Summary\n")
|
"Brief Summary\n")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user