mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
pbrd: use PBR_STR
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
2e7c93acec
commit
24a21176ce
@ -383,7 +383,7 @@ DEFPY (show_pbr,
|
|||||||
show_pbr_cmd,
|
show_pbr_cmd,
|
||||||
"show pbr",
|
"show pbr",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n")
|
PBR_STR)
|
||||||
{
|
{
|
||||||
pbr_nht_write_table_range(vty);
|
pbr_nht_write_table_range(vty);
|
||||||
pbr_nht_write_rule_range(vty);
|
pbr_nht_write_rule_range(vty);
|
||||||
@ -395,7 +395,7 @@ DEFPY (show_pbr_map,
|
|||||||
show_pbr_map_cmd,
|
show_pbr_map_cmd,
|
||||||
"show pbr map [NAME$name] [detail$detail]",
|
"show pbr map [NAME$name] [detail$detail]",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n"
|
PBR_STR
|
||||||
"PBR Map\n"
|
"PBR Map\n"
|
||||||
"PBR Map Name\n"
|
"PBR Map Name\n"
|
||||||
"Detailed information\n")
|
"Detailed information\n")
|
||||||
@ -463,7 +463,7 @@ DEFPY(show_pbr_nexthop_group,
|
|||||||
show_pbr_nexthop_group_cmd,
|
show_pbr_nexthop_group_cmd,
|
||||||
"show pbr nexthop-groups [WORD$word]",
|
"show pbr nexthop-groups [WORD$word]",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n"
|
PBR_STR
|
||||||
"Nexthop Groups\n"
|
"Nexthop Groups\n"
|
||||||
"Optional Name of the nexthop group\n")
|
"Optional Name of the nexthop group\n")
|
||||||
{
|
{
|
||||||
@ -476,7 +476,7 @@ DEFPY (show_pbr_interface,
|
|||||||
show_pbr_interface_cmd,
|
show_pbr_interface_cmd,
|
||||||
"show pbr interface [NAME$name]",
|
"show pbr interface [NAME$name]",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n"
|
PBR_STR
|
||||||
"PBR Interface\n"
|
"PBR Interface\n"
|
||||||
"PBR Interface Name\n")
|
"PBR Interface Name\n")
|
||||||
{
|
{
|
||||||
@ -520,7 +520,7 @@ DEFPY(debug_pbr,
|
|||||||
"[no] debug pbr [{map$map|zebra$zebra|nht$nht|events$events}]",
|
"[no] debug pbr [{map$map|zebra$zebra|nht$nht|events$events}]",
|
||||||
NO_STR
|
NO_STR
|
||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
"Policy Based Routing\n"
|
PBR_STR
|
||||||
"Policy maps\n"
|
"Policy maps\n"
|
||||||
"PBRD <-> Zebra communications\n"
|
"PBRD <-> Zebra communications\n"
|
||||||
"Nexthop tracking\n"
|
"Nexthop tracking\n"
|
||||||
@ -549,7 +549,7 @@ DEFUN_NOSH(show_debugging_pbr,
|
|||||||
"show debugging [pbr]",
|
"show debugging [pbr]",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
DEBUG_STR
|
DEBUG_STR
|
||||||
"Policy Based Routing\n")
|
PBR_STR)
|
||||||
{
|
{
|
||||||
vty_out(vty, "PBR debugging status:\n");
|
vty_out(vty, "PBR debugging status:\n");
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __PBR_VTY_H__
|
#ifndef __PBR_VTY_H__
|
||||||
#define __PBR_VTY_H__
|
#define __PBR_VTY_H__
|
||||||
|
|
||||||
#define PBR_STR "Policy based routing\n"
|
#define PBR_STR "Policy Based Routing\n"
|
||||||
|
|
||||||
extern void pbr_vty_init(void);
|
extern void pbr_vty_init(void);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user