diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-03-31 05:59:41 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-04-07 12:29:09 +0000 |
commit | 59fea5a6a3fafe0a5a0d2f543db53af790013e3a (patch) | |
tree | 270cef072f0fcb11bb29c02a4119bed43a6f157e /src/plugins/ikev2/ikev2.api | |
parent | 483a3d819abf13a95b5ded65c3efa360e9b4fdf0 (diff) |
ikev2: make liveness params configurable
Introduce new cli for setting liveness check period and max retries for
a peer to consider its partner dead.
ikev2 set liveness <period-in-seconds> <max-retires>
Type: improvement
Change-Id: Iadae1de245d34fe3ee85e09b570f9df8c401772b
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2.api')
-rw-r--r-- | src/plugins/ikev2/ikev2.api | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/ikev2/ikev2.api b/src/plugins/ikev2/ikev2.api index bd330163046..8c56c98f13b 100644 --- a/src/plugins/ikev2/ikev2.api +++ b/src/plugins/ikev2/ikev2.api @@ -346,6 +346,22 @@ autoreply define ikev2_profile_set_ipsec_udp_port u16 port; string name[64]; }; + +/** \brief IKEv2: Set liveness parameters + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param period - how often is liveness check performed + @param max_retries - max retries for liveness check +*/ +autoreply define ikev2_profile_set_liveness +{ + u32 client_index; + u32 context; + + u32 period; + u32 max_retries; +}; + /* * Local Variables: * eval: (c-set-style "gnu") |