ipsec: Deprecate old interface API 91/28591/2
authorNeale Ranns <nranns@cisco.com>
Thu, 27 Aug 2020 09:09:56 +0000 (09:09 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 27 Aug 2020 15:55:28 +0000 (15:55 +0000)
Type: feature

Change-Id: Ib5d7b7e4735a5dec6c3ed74068206a86782588ca
Signed-off-by: Neale Ranns <nranns@cisco.com>
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;