api: Remove deprecated message from API 47/38547/3
authorOndrej Fabry <ofabry@cisco.com>
Wed, 22 Mar 2023 21:39:50 +0000 (22:39 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 24 Mar 2023 16:46:07 +0000 (16:46 +0000)
Type: refactor
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Change-Id: Ib80a4d1f8bac5dc27db1aafe65165cbb509b4edf

src/vnet/session/session.api
src/vnet/session/session_api.c
src/vnet/session/session_test.c

index d2a942f..9a7bb01 100644 (file)
@@ -117,38 +117,6 @@ autoreply define app_del_cert_key_pair {
     u32 index;
 };
 
-/** \brief Application add TLS certificate
-       ### WILL BE DEPRECATED POST 20.01 ###
-    @param client_index - opaque cookie to identify the sender
-    @param context - sender context, to match reply w/ request
-    @param cert_len - certificate length
-    @param cert - certificate as a string
-*/
-autoreply define application_tls_cert_add {
-    option deprecated="to be removed post 21.06";
-    u32 client_index;
-    u32 context;
-    u32 app_index;
-    u16 cert_len;
-    u8 cert[cert_len];
-};
-
-/** \brief Application add TLS key
-       ### WILL BE DEPRECATED POST 20.01 ###
-    @param client_index - opaque cookie to identify the sender
-    @param context - sender context, to match reply w/ request
-    @param key_len - certificate length
-    @param key - PEM encoded key as a string
-*/
-autoreply define application_tls_key_add {
-    option deprecated="to be removed post 21.06";
-    u32 client_index;
-    u32 context;
-    u32 app_index;
-    u16 key_len;
-    u8 key[key_len];
-};
-
 /** \brief add/del application worker
     @param client_index - opaque cookie to identify the sender
                           client to vpp direction only
index 3481cdf..eb35f19 100644 (file)
@@ -1714,19 +1714,6 @@ appns_sapi_add_ns_socket (app_namespace_t * app_ns)
   return 0;
 }
 
-static void
-vl_api_application_tls_cert_add_t_handler (
-  vl_api_application_tls_cert_add_t *mp)
-{
-  /* deprecated */
-}
-
-static void
-vl_api_application_tls_key_add_t_handler (vl_api_application_tls_key_add_t *mp)
-{
-  /* deprecated */
-}
-
 #include <vnet/session/session.api.c>
 static clib_error_t *
 session_api_hookup (vlib_main_t *vm)
index a8a9327..13970d5 100644 (file)
@@ -276,12 +276,6 @@ api_app_worker_add_del (vat_main_t *vat)
   return -1;
 }
 
-static int
-api_application_tls_key_add (vat_main_t *vat)
-{
-  return -1;
-}
-
 static int
 api_app_namespace_add_del (vat_main_t *vam)
 {
@@ -330,12 +324,6 @@ api_app_namespace_add_del (vat_main_t *vam)
   return ret;
 }
 
-static int
-api_application_tls_cert_add (vat_main_t *vat)
-{
-  return -1;
-}
-
 static void
 vl_api_app_namespace_add_del_v3_reply_t_handler (
   vl_api_app_namespace_add_del_v3_reply_t *mp)