vrrp: asynchronous events on VR state change 15/29315/3
authorMatthew Smith <mgsmith@netgate.com>
Thu, 8 Oct 2020 16:11:27 +0000 (11:11 -0500)
committerDamjan Marion <dmarion@me.com>
Sat, 24 Oct 2020 09:28:56 +0000 (09:28 +0000)
commit78f487e113fb0fbd1a06b90f3681d237f7edc495
treea159c81a61fc16cd5a590bd6149f10e57abb3995
parent4df9f737a24be94c2988f18337a4ad845b1b0186
vrrp: asynchronous events on VR state change

Type: feature

Add API message for an API client to subscribe/unsubscribe to receive
an event when a VRRP VR changes state. Add code to build and send the
events.

Change-Id: Ie92cadd4850d4352c1aaa79c4b0a7daa0f3b04e7
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/plugins/vrrp/vrrp.api
src/plugins/vrrp/vrrp.c
src/plugins/vrrp/vrrp.h
src/plugins/vrrp/vrrp_api.c
src/plugins/vrrp/vrrp_test.c
src/vlibapi/api_helper_macros.h