pbrd: use PBR_STR

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2018-06-12 20:20:43 +00:00
parent 2e7c93acec
commit 24a21176ce
2 changed files with 7 additions and 7 deletions

View File

@ -383,7 +383,7 @@ DEFPY (show_pbr,
show_pbr_cmd,
"show pbr",
SHOW_STR
"Policy Based Routing\n")
PBR_STR)
{
pbr_nht_write_table_range(vty);
pbr_nht_write_rule_range(vty);
@ -395,7 +395,7 @@ DEFPY (show_pbr_map,
show_pbr_map_cmd,
"show pbr map [NAME$name] [detail$detail]",
SHOW_STR
"Policy Based Routing\n"
PBR_STR
"PBR Map\n"
"PBR Map Name\n"
"Detailed information\n")
@ -463,7 +463,7 @@ DEFPY(show_pbr_nexthop_group,
show_pbr_nexthop_group_cmd,
"show pbr nexthop-groups [WORD$word]",
SHOW_STR
"Policy Based Routing\n"
PBR_STR
"Nexthop Groups\n"
"Optional Name of the nexthop group\n")
{
@ -476,7 +476,7 @@ DEFPY (show_pbr_interface,
show_pbr_interface_cmd,
"show pbr interface [NAME$name]",
SHOW_STR
"Policy Based Routing\n"
PBR_STR
"PBR Interface\n"
"PBR Interface Name\n")
{
@ -520,7 +520,7 @@ DEFPY(debug_pbr,
"[no] debug pbr [{map$map|zebra$zebra|nht$nht|events$events}]",
NO_STR
DEBUG_STR
"Policy Based Routing\n"
PBR_STR
"Policy maps\n"
"PBRD <-> Zebra communications\n"
"Nexthop tracking\n"
@ -549,7 +549,7 @@ DEFUN_NOSH(show_debugging_pbr,
"show debugging [pbr]",
SHOW_STR
DEBUG_STR
"Policy Based Routing\n")
PBR_STR)
{
vty_out(vty, "PBR debugging status:\n");

View File

@ -20,7 +20,7 @@
#ifndef __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);
#endif