L2BD,ARP-TERM:fix arp query report mechanism+test 27/8427/8
authorEyal Bari <ebari@cisco.com>
Wed, 13 Sep 2017 09:29:08 +0000 (12:29 +0300)
committerJohn Lo <loj@cisco.com>
Mon, 18 Sep 2017 13:51:52 +0000 (13:51 +0000)
commit2019748a0ef815852281aae0a603f0e970fa9d91
treee91572666a8c5984056a823c9c270f40df460e51
parentbb7f0f644ac861cf8f57d2445ce516ed378ced4c
L2BD,ARP-TERM:fix arp query report mechanism+test

previous mechanism was emitting duplicates of last event, when handling multiple arp queries.
tests:
* arp events sent for graps
* duplicate suppression
* verify no events when disabled

Change-Id: I84adc23980d43b819261eccf02ec056b5cec61df
Signed-off-by: Eyal Bari <ebari@cisco.com>
src/vlibapi/api_helper_macros.h
src/vnet/ethernet/arp.c
src/vnet/ethernet/ethernet.h
src/vpp/api/api.c
test/test_l2bd_arp_term.py
test/vpp_papi_provider.py