diff options
author | Jan Cavojsky <Jan.Cavojsky@pantheon.tech> | 2020-06-26 15:05:10 +0200 |
---|---|---|
committer | BenoƮt Ganne <bganne@cisco.com> | 2020-07-06 14:25:11 +0000 |
commit | 6a9bd81886772b5ffeb367736fb83bf95f37435f (patch) | |
tree | ddee63c01bc026ef021b5ca3b370192f6f5c7eea /src/plugins/ikev2/ikev2.api | |
parent | 4f42a717798ca25cf575587cbc606d6d7787fedd (diff) |
ikev2: add profile dump API
Type: feature
Signed-off-by: Jan Cavojsky <Jan.Cavojsky@pantheon.tech>
Change-Id: I84776a50b520134e8a3ca6ae41b4cc29009e6319
Diffstat (limited to 'src/plugins/ikev2/ikev2.api')
-rw-r--r-- | src/plugins/ikev2/ikev2.api | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/plugins/ikev2/ikev2.api b/src/plugins/ikev2/ikev2.api index 325e6549352..e38927ab85c 100644 --- a/src/plugins/ikev2/ikev2.api +++ b/src/plugins/ikev2/ikev2.api @@ -16,6 +16,7 @@ option version = "1.0.1"; +import "plugins/ikev2/ikev2_types.api"; import "vnet/ip/ip_types.api"; import "vnet/interface_types.api"; @@ -41,6 +42,29 @@ define ikev2_plugin_get_version_reply u32 minor; }; +/** \brief Dump all profiles + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request +*/ +define ikev2_profile_dump +{ + u32 client_index; + u32 context; + option status="in_progress"; +}; + +/** \brief Details about all profiles + @param context - returned sender context, to match reply w/ request + @param profile - profile element with encapsulated attributes +*/ +define ikev2_profile_details +{ + u32 context; + vl_api_ikev2_profile_t profile; + option status="in_progress"; +}; + + /** \brief IKEv2: Add/delete profile @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request |