From 63f2c7d70136761e24b19cca1f09d9cbdde66b69 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 9 Feb 2022 13:47:29 +0000 Subject: bfd: Add an update API that has create new or modify existing semantics Type: improvement helps keep the agents stateless Signed-off-by: Neale Ranns Change-Id: I3588f13c081e24f5a8083b490eb02856361e4ccb --- src/vnet/bfd/bfd.api | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/vnet/bfd/bfd.api') diff --git a/src/vnet/bfd/bfd.api b/src/vnet/bfd/bfd.api index f53cc7630fd..3957a94f6a6 100644 --- a/src/vnet/bfd/bfd.api +++ b/src/vnet/bfd/bfd.api @@ -107,6 +107,26 @@ autoreply define bfd_udp_add u8 bfd_key_id; u32 conf_key_id; }; +define bfd_udp_upd +{ + u32 client_index; + u32 context; + vl_api_interface_index_t sw_if_index; + u32 desired_min_tx; + u32 required_min_rx; + vl_api_address_t local_addr; + vl_api_address_t peer_addr; + u8 detect_mult; + bool is_authenticated; + u8 bfd_key_id; + u32 conf_key_id; +}; +define bfd_udp_upd_reply +{ + u32 context; + i32 retval; + u32 stats_index; +}; /** \brief Modify UDP BFD session on interface @param client_index - opaque cookie to identify the sender -- cgit 1.2.3-korg