aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ikev2/ikev2.api
diff options
context:
space:
mode:
authorDenys Haryachyy <garyachy@users.noreply.github.com>2024-01-24 16:31:47 +0200
committerDenys Haryachyy <garyachy@gmail.com>2024-02-14 18:47:23 +0200
commitf40a354daba1141a60dbb10b862672ea11270de8 (patch)
tree5a35484a9755cab98024f72f6a1b64e2b3d76208 /src/plugins/ikev2/ikev2.api
parente81f27ffb2a698737eae607b111d0611d221222f (diff)
ikev2: dump state and profile name in CLI and API
Type: improvement Change-Id: Ide4b45da99e3a67376281f6438997f3148be08e5 Signed-off-by: Denys Haryachyy <garyachy@gmail.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2.api')
-rw-r--r--src/plugins/ikev2/ikev2.api23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/plugins/ikev2/ikev2.api b/src/plugins/ikev2/ikev2.api
index ff9ed72e888..58b7fc05d9e 100644
--- a/src/plugins/ikev2/ikev2.api
+++ b/src/plugins/ikev2/ikev2.api
@@ -76,6 +76,16 @@ define ikev2_sa_dump
option status = "in_progress";
};
+/** \brief Dump all SAs
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+*/
+define ikev2_sa_v2_dump
+{
+ u32 client_index;
+ u32 context;
+};
+
/** \brief Details about IKE SA
@param context - sender context, to match reply w/ request
@param retval - return code
@@ -90,6 +100,19 @@ define ikev2_sa_details
option status = "in_progress";
};
+/** \brief Details about IKE SA
+ @param context - sender context, to match reply w/ request
+ @param retval - return code
+ @param sa - SA data
+*/
+define ikev2_sa_v2_details
+{
+ u32 context;
+ i32 retval;
+
+ vl_api_ikev2_sa_v2_t sa;
+};
+
/** \brief Dump child SA of specific SA
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request