FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.13k stars 1.21k forks source link

zebra: clear evpn dup-addr return error-msg when there is no vni (backport #16261) #16284

Closed mergify[bot] closed 3 weeks ago

mergify[bot] commented 3 weeks ago

clear evpn dup-addr cli returns error-msg for below conditions,

supported command:

clear evpn dup-addr vni <vni-id>

Testing:

bharat# clear evpn dup-addr vni 20
Error type: validation
Error description: % EVPN not enabled

bharat# clear evpn dup-addr vni 20
Error type: validation
Error description: % VNI 20 does not exist

Signed-off-by: Sindhu Parvathi Gopinathan's sgopinathan@nvidia.com Signed-off-by: Chirag Shah chirag@nvidia.com


This is an automatic backport of pull request #16261 done by Mergify.