summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
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:33 +0000
commitfd793c8f7d84c5176de5e3f520756a3125ffe60c (patch)
treeda8fae8520d7605e26a678fb9e5add27bffd9bcc /tests/topotests/example-test/test_example.py
parenta8c6a8a5f6f05764cf85dc25a79f9f91f65c05a5 (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 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions