summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2023-03-22 22:39:50 +0100
committerFlorin Coras <florin.coras@gmail.com>2023-03-24 16:46:07 +0000
commitc9fac2111b88d7602a99af21c0c1339a6cbd6bba (patch)
tree3761011bb389c1bcdda6c66ad3879b27fd2bd0fd /src/vnet
parent696f8e042f89d18ea4150ea2c61614b9d11c0c52 (diff)
api: Remove deprecated message from API
Type: refactor Signed-off-by: Ondrej Fabry <ofabry@cisco.com> Change-Id: Ib80a4d1f8bac5dc27db1aafe65165cbb509b4edf
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/session/session.api32
-rw-r--r--src/vnet/session/session_api.c13
-rw-r--r--src/vnet/session/session_test.c12
3 files changed, 0 insertions, 57 deletions
diff --git a/src/vnet/session/session.api b/src/vnet/session/session.api
index d2a942fb68b..9a7bb0139bd 100644
--- a/src/vnet/session/session.api
+++ b/src/vnet/session/session.api
@@ -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
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index 3481cdf8730..eb35f193ce6 100644
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -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)
diff --git a/src/vnet/session/session_test.c b/src/vnet/session/session_test.c
index a8a9327b892..13970d55998 100644
--- a/src/vnet/session/session_test.c
+++ b/src/vnet/session/session_test.c
@@ -277,12 +277,6 @@ api_app_worker_add_del (vat_main_t *vat)
}
static int
-api_application_tls_key_add (vat_main_t *vat)
-{
- return -1;
-}
-
-static int
api_app_namespace_add_del (vat_main_t *vam)
{
vl_api_app_namespace_add_del_t *mp;
@@ -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)