diff options
| author | Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com> | 2023-04-04 05:38:28 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-10-29 17:44:36 -0700 |
| commit | 28eaac01315d41a3bb7a903b9c4d74da412e4317 (patch) | |
| tree | 726143cdc79bf177b1df758ebee1e41a29e67b2a /lib/routemap_cli.c | |
| parent | 43443e828a0b1147fc0866b3e13205d4e7903a65 (diff) | |
zebra:returns empty dict when evpn is disabled II
This is addressing remaining places returning
empty dict, earlier PR-13214 addressed few places.
Code has been changed to return {} for all the evpn clis
when evpn is disabled or no entry available.
```
cumulus@r2:mgmt:~$ sudo vtysh -c "show evpn json"
cumulus@r2:mgmt:~$
```
After Fix:-
```
cumulus@r1:mgmt:~$ sudo vtysh -c "show evpn json"
{
}
cumulus@r1:mgmt:~$
```
Ticket:#3417955
Issue:3417955
Testing: UT done
Signed-off-by: Sindhu Parvathi Gopinathan's <sgopinathan@nvidia.com>
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
