ipsec: Deprecate old interface API
[vpp.git] / src / vnet / ipsec / ipsec.api
index 488df1c..16d210f 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-option version = "3.0.2";
+option version = "4.0.0";
 
 import "vnet/ipsec/ipsec_types.api";
 import "vnet/interface_types.api";
@@ -343,6 +343,7 @@ define ipsec_spd_interface_details {
     @param salt - for use with counter mode ciphers
 */
 define ipsec_tunnel_if_add_del {
+  option deprecated="20.09";
   u32 client_index;
   u32 context;
   bool is_add;
@@ -490,6 +491,7 @@ define ipsec_sa_details {
     @param is_outbound - 1 if outbound (local) SA, 0 if inbound (remote)
 */
 autoreply define ipsec_tunnel_if_set_sa {
+  option deprecated="20.09";
   u32 client_index;
   u32 context;
   vl_api_interface_index_t sw_if_index;