Merge pull request #14665 from chiragshah6/pbr_dev

pbrd: fix show pbr map detail json
This commit is contained in:
Donatas Abraitis 2023-10-29 10:40:50 +02:00 committed by GitHub
commit 539124f13c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ specified in the rule are also applied to the packet.
this action,
so this field will be ignored unless another dataplane provider is used.
.. clicmd:: show pbr map [NAME] [detail|json]
.. clicmd:: show pbr map [NAME] [detail] [json]
Display pbr maps either all or by ``NAME``. If ``detail`` is set, it will
give information about each rule's unique internal ID and some extra

View File

@ -1818,7 +1818,7 @@ static void vty_json_pbr_map(json_object *j, struct vty *vty,
DEFPY (show_pbr_map,
show_pbr_map_cmd,
"show pbr map [NAME$name] [detail$detail|json$json]",
"show pbr map [NAME$name] [detail$detail] [json$json]",
SHOW_STR
PBR_STR
"PBR Map\n"