mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 01:46:16 +00:00
'detail' and 'josn' keyword is given as an optional parameter
for cli arguments. Hence 'detail' keyword was consider as a
pbr 'name' for "show pbr map detail json" command.
Before Fix:
```
cumulus#
cumulus# show pbr map detail json
[
]
cumulus#
```
After Fix:
```
cumulus# show pbr map detail json
[
{
"name":"MAP1",
"valid":false,
"policies":[
{
"id":1,
"sequenceNumber":10,
"ruleNumber":309,
"vrfUnchanged":false,
"installed":false,
"installedReason":"Invalid Src or Dst",
"vrfName":"default"
}
]
}
]
cumulus#
```
Ticket:#3638600
Issue:3638600
Testing: UT done
Signed-off-by: Sindhu Parvathi Gopinathan's <sgopinathan@nvidia.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| pbr_debug.c | ||
| pbr_debug.h | ||
| pbr_main.c | ||
| pbr_map.c | ||
| pbr_map.h | ||
| pbr_memory.c | ||
| pbr_memory.h | ||
| pbr_nht.c | ||
| pbr_nht.h | ||
| pbr_vrf.c | ||
| pbr_vrf.h | ||
| pbr_vty.c | ||
| pbr_vty.h | ||
| pbr_zebra.c | ||
| pbr_zebra.h | ||
| subdir.am | ||