diff options
author | Matthew Smith <mgsmith@netgate.com> | 2020-10-08 11:11:27 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-24 09:28:56 +0000 |
commit | 78f487e113fb0fbd1a06b90f3681d237f7edc495 (patch) | |
tree | a159c81a61fc16cd5a590bd6149f10e57abb3995 /src/vlibapi | |
parent | 4df9f737a24be94c2988f18337a4ad845b1b0186 (diff) |
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>
Diffstat (limited to 'src/vlibapi')
-rw-r--r-- | src/vlibapi/api_helper_macros.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlibapi/api_helper_macros.h b/src/vlibapi/api_helper_macros.h index 983b688c02d..8064d67a14e 100644 --- a/src/vlibapi/api_helper_macros.h +++ b/src/vlibapi/api_helper_macros.h @@ -390,7 +390,8 @@ _(bfd_events) \ _(l2_arp_term_events) \ _(ip6_ra_events) \ _(dhcp6_pd_reply_events) \ -_(dhcp6_reply_events) +_(dhcp6_reply_events) \ +_(vrrp_vr_events) typedef struct { |