summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorSindhu Parvathi Gopinathan <sgopinathan@nvidia.com>2023-10-22 22:59:06 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-10-29 08:42:23 +0000
commitee0286d62ab22808b8ead2f8134f5cfdf1126b4b (patch)
tree3605c38e47ce3afa223ec588e35303449bbbe9dd /zebra/interface.c
parent9923418f0f276782a90af4dba2db58e316d09f59 (diff)
pbrd: fix show pbr map detail json
'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 d621c365a65f825adfbc00128360390d0b2bd5be)
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions