aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2023-04-14 10:50:12 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-07-06 18:26:32 +0000
commit63305843e28e3cc6f074a6867565fad3a04c8846 (patch)
tree097d58f02388bd5e2e7ef4083d70534ebab0f672
parent6b4aa2b7f41525ecba5d59780fcaf52c7c11767c (diff)
api: ipsec - Mark old message versions as deprecated
List of changed messages: - ipsec_sad_entry_add_del_v2 - ipsec_sad_entry_add_del_v2_reply - ipsec_sa_v2_dump - ipsec_sa_v2_details This change is part of VPP API cleanup initiative. Type: fix Signed-off-by: Ondrej Fabry <ofabry@cisco.com> Change-Id: I8fd6906e9684ef7ebc0688dc8b0637ae2dc8d0a2
-rw-r--r--src/vnet/ipsec/ipsec.api12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec.api b/src/vnet/ipsec/ipsec.api
index d31caf5b182..ad1d21618e6 100644
--- a/src/vnet/ipsec/ipsec.api
+++ b/src/vnet/ipsec/ipsec.api
@@ -167,6 +167,7 @@ define ipsec_spd_details {
define ipsec_sad_entry_add_del
{
option deprecated;
+
u32 client_index;
u32 context;
bool is_add;
@@ -175,6 +176,8 @@ define ipsec_sad_entry_add_del
define ipsec_sad_entry_add_del_v2
{
+ option deprecated;
+
u32 client_index;
u32 context;
bool is_add;
@@ -249,6 +252,7 @@ autoreply define ipsec_sad_entry_update
define ipsec_sad_entry_add_del_reply
{
option deprecated;
+
u32 context;
i32 retval;
u32 stat_index;
@@ -256,6 +260,8 @@ define ipsec_sad_entry_add_del_reply
define ipsec_sad_entry_add_del_v2_reply
{
+ option deprecated;
+
u32 context;
i32 retval;
u32 stat_index;
@@ -437,12 +443,15 @@ define ipsec_itf_details
define ipsec_sa_dump
{
option deprecated;
+
u32 client_index;
u32 context;
u32 sa_id;
};
define ipsec_sa_v2_dump
{
+ option deprecated;
+
u32 client_index;
u32 context;
u32 sa_id;
@@ -474,6 +483,7 @@ define ipsec_sa_v4_dump
*/
define ipsec_sa_details {
option deprecated;
+
u32 context;
vl_api_ipsec_sad_entry_t entry;
@@ -486,6 +496,8 @@ define ipsec_sa_details {
u32 stat_index;
};
define ipsec_sa_v2_details {
+ option deprecated;
+
u32 context;
vl_api_ipsec_sad_entry_v2_t entry;