diff options
| author | Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com> | 2023-10-22 22:59:06 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-10-27 08:07:38 -0700 |
| commit | d621c365a65f825adfbc00128360390d0b2bd5be (patch) | |
| tree | 23d57f6874ada76fccad687f425cdff0e766cd3a /python/xref2vtysh.py | |
| parent | 2fef2017edf9f1dfe85a8019379ffddd6978a343 (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>
Diffstat (limited to 'python/xref2vtysh.py')
0 files changed, 0 insertions, 0 deletions
