mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 13:07:24 +00:00
pbrd: remove json options
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
7bec514c7e
commit
ef18ed6e93
@ -26,7 +26,6 @@
|
|||||||
#include "nexthop.h"
|
#include "nexthop.h"
|
||||||
#include "nexthop_group.h"
|
#include "nexthop_group.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "json.h"
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#include "pbrd/pbr_nht.h"
|
#include "pbrd/pbr_nht.h"
|
||||||
@ -382,10 +381,9 @@ DEFPY (pbr_policy,
|
|||||||
|
|
||||||
DEFPY (show_pbr,
|
DEFPY (show_pbr,
|
||||||
show_pbr_cmd,
|
show_pbr_cmd,
|
||||||
"show pbr [json$json]",
|
"show pbr",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n"
|
"Policy Based Routing\n")
|
||||||
JSON_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,13 +393,12 @@ DEFPY (show_pbr,
|
|||||||
|
|
||||||
DEFPY (show_pbr_map,
|
DEFPY (show_pbr_map,
|
||||||
show_pbr_map_cmd,
|
show_pbr_map_cmd,
|
||||||
"show pbr map [NAME$name] [detail$detail] [json$json]",
|
"show pbr map [NAME$name] [detail$detail]",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n"
|
"Policy Based Routing\n"
|
||||||
"PBR Map\n"
|
"PBR Map\n"
|
||||||
"PBR Map Name\n"
|
"PBR Map Name\n"
|
||||||
"Detailed information\n"
|
"Detailed information\n")
|
||||||
JSON_STR)
|
|
||||||
{
|
{
|
||||||
struct pbr_map_sequence *pbrms;
|
struct pbr_map_sequence *pbrms;
|
||||||
struct pbr_map *pbrm;
|
struct pbr_map *pbrm;
|
||||||
@ -477,12 +474,11 @@ DEFPY(show_pbr_nexthop_group,
|
|||||||
|
|
||||||
DEFPY (show_pbr_interface,
|
DEFPY (show_pbr_interface,
|
||||||
show_pbr_interface_cmd,
|
show_pbr_interface_cmd,
|
||||||
"show pbr interface [NAME$name] [json$json]",
|
"show pbr interface [NAME$name]",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
"Policy Based Routing\n"
|
"Policy Based Routing\n"
|
||||||
"PBR Interface\n"
|
"PBR Interface\n"
|
||||||
"PBR Interface Name\n"
|
"PBR Interface Name\n")
|
||||||
JSON_STR)
|
|
||||||
{
|
{
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
struct vrf *vrf;
|
struct vrf *vrf;
|
||||||
|
Loading…
Reference in New Issue
Block a user