ikev2: add profile dump API
[vpp.git] / src / plugins / ikev2 / ikev2.api
index 325e654..e38927a 100644 (file)
@@ -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