L2 BD API to flush all IP-MAC entries in the specified BD 18/16718/3
authorJohn Lo <loj@cisco.com>
Mon, 7 Jan 2019 20:16:33 +0000 (15:16 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 7 Jan 2019 21:55:28 +0000 (21:55 +0000)
commite26c81fc80d1ce9a8746ebf4009149849b04f60f
tree12157a3247ed9169951e1083f8b50e240eec30c7
parent2500c79423c7d8d35b4e7b8f50060c09f2f857be
L2 BD API to flush all IP-MAC entries in the specified BD

Implement API/CLI to clear IP-MAC tables used for ARP-termination
in the specified bridge domain.
The CLI to flush MAC IP tables for a BD is:
 set bridge-domain arp entry <bd-id> del-all
The API added is bd_ip_mac_flush.

Change-Id: I34ceb87c0f480c7102f6559312c24081ed485af8
Signed-off-by: John Lo <loj@cisco.com>
src/vat/api_format.c
src/vnet/l2/l2.api
src/vnet/l2/l2_api.c
src/vnet/l2/l2_bd.c
src/vnet/l2/l2_bd.h
src/vpp/api/custom_dump.c