api: clean up use of deprecated flag 68/28868/2
authorOle Troan <ot@cisco.com>
Tue, 15 Sep 2020 09:37:16 +0000 (11:37 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 16 Sep 2020 12:22:27 +0000 (12:22 +0000)
The syntax of the deprecated flag has evolved.
Clean up usage to be "option deprecated;".

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: If2b639f275eb8db58b36c457f9245fe35a4d8cb1
(cherry picked from commit f916414b383afd37ec78509ee613df8878160406)

src/plugins/map/map.api
src/plugins/nat/det44/det44.api
src/plugins/nsim/nsim.api
src/vnet/cop/cop.api
src/vnet/devices/virtio/virtio.api
src/vnet/geneve/geneve.api
src/vnet/ipsec/ipsec.api

index adf4d0a..fa32978 100644 (file)
@@ -112,7 +112,7 @@ define map_domains_get_reply
 
 define map_domain_dump
 {
-  option deprecated="v21.01";
+  option deprecated;
   u32 client_index;
   u32 context;
 };
index 818d46a..f9c3800 100644 (file)
@@ -311,7 +311,7 @@ autoreply define nat_det_add_del_map {
   u8 in_plen;
   vl_api_ip4_address_t out_addr;
   u8 out_plen;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Get outside address and port range from inside address
@@ -323,7 +323,7 @@ define nat_det_forward {
   u32 client_index;
   u32 context;
   vl_api_ip4_address_t in_addr;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Get outside address and port range from inside address
@@ -339,7 +339,7 @@ define nat_det_forward_reply {
   u16 out_port_lo;
   u16 out_port_hi;
   vl_api_ip4_address_t out_addr;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Get inside address from outside address and port
@@ -353,7 +353,7 @@ define nat_det_reverse {
   u32 context;
   u16 out_port;
   vl_api_ip4_address_t out_addr;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Get inside address from outside address and port reply
@@ -365,7 +365,7 @@ define nat_det_reverse_reply {
   u32 context;
   i32 retval;
   vl_api_ip4_address_t in_addr;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Dump NAT deterministic mappings
@@ -375,7 +375,7 @@ define nat_det_reverse_reply {
 define nat_det_map_dump {
   u32 client_index;
   u32 context;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief NAT users response
@@ -397,7 +397,7 @@ define nat_det_map_details {
   u32 sharing_ratio;
   u16 ports_per_host;
   u32 ses_num;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Close deterministic NAT session by outside address and port
@@ -415,7 +415,7 @@ autoreply define nat_det_close_session_out {
   u16 out_port;
   vl_api_ip4_address_t ext_addr;
   u16 ext_port;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Close deterministic NAT session by inside address and port
@@ -433,7 +433,7 @@ autoreply define nat_det_close_session_in {
   u16 in_port;
   vl_api_ip4_address_t ext_addr;
   u16 ext_port;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Dump determinstic NAT sessions
@@ -445,7 +445,7 @@ define nat_det_session_dump {
   u32 client_index;
   u32 context;
   vl_api_ip4_address_t user_addr;
-  option status="deprecated";
+  option deprecated;
 };
 
 /** \brief Deterministic NAT sessions reply
@@ -465,5 +465,5 @@ define nat_det_session_details {
   u16 out_port;
   u8 state;
   u32 expire;
-  option status="deprecated";
+  option deprecated;
 };
index 6549325..f0ae02a 100644 (file)
@@ -61,7 +61,7 @@ autoreply define nsim_output_feature_enable_disable
 */
 autoreply define nsim_configure
 {
-  option deprecated="v21.01";
+  option deprecated;
   /* Client identifier, set from api_main.my_client_index */
   u32 client_index;
   
index 39677a2..75fd15b 100644 (file)
@@ -26,7 +26,7 @@ import "vnet/interface_types.api";
 
 autoreply define cop_interface_enable_disable
 {
-  option deprecated="v21.01";
+  option deprecated;
   u32 client_index;
   u32 context;
   vl_api_interface_index_t sw_if_index;
@@ -47,7 +47,7 @@ autoreply define cop_interface_enable_disable
 
 autoreply define cop_whitelist_enable_disable
 {
-  option deprecated="v21.01";
+  option deprecated;
   u32 client_index;
   u32 context;
   vl_api_interface_index_t sw_if_index;
index 143d25b..3c8aed2 100644 (file)
@@ -32,7 +32,7 @@ import "vlib/pci/pci_types.api";
 */
 define virtio_pci_create
 {
-  option deprecated="21.01";
+  option deprecated;
   u32 client_index;
   u32 context;
   vl_api_pci_address_t pci_addr;
@@ -50,7 +50,7 @@ define virtio_pci_create
 */
 define virtio_pci_create_reply
 {
-  option deprecated="21.01";
+  option deprecated;
   u32 context;
   i32 retval;
   vl_api_interface_index_t sw_if_index;
index 4502d89..ef2cd5e 100644 (file)
@@ -21,7 +21,7 @@ import "vnet/ip/ip_types.api";
 
 define geneve_add_del_tunnel
 {
-  option deprecated="20.06";
+  option deprecated;
   u32 client_index;
   u32 context;
   bool is_add;
index 52a16ed..89dcdb7 100644 (file)
@@ -343,7 +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";
+  option deprecated;
   u32 client_index;
   u32 context;
   bool is_add;
@@ -491,7 +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";
+  option deprecated;
   u32 client_index;
   u32 context;
   vl_api_interface_index_t sw_if_index;