]> git.puffer.fish Git - mirror/frr.git/commit
zebra:returns empty dict when evpn is disabled II 13576/head
authorSindhu Parvathi Gopinathan <sgopinathan@nvidia.com>
Tue, 4 Apr 2023 12:38:28 +0000 (05:38 -0700)
committerChirag Shah <chirag@nvidia.com>
Mon, 30 Oct 2023 00:44:36 +0000 (17:44 -0700)
commit28eaac01315d41a3bb7a903b9c4d74da412e4317
tree726143cdc79bf177b1df758ebee1e41a29e67b2a
parent43443e828a0b1147fc0866b3e13205d4e7903a65
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>
zebra/zebra_vxlan.c