aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-09-15 11:37:16 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-16 12:22:27 +0000
commit00f21fb2fed0b6cf10eda45913b98a20e7b4cd3f (patch)
tree2b0fde302044116bf41fd83e2cbce8b6b6791220 /src/vnet
parentec7e8d8598d9957e5b87e37bee4ca59a28ccc088 (diff)
api: clean up use of deprecated flag
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)
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/cop/cop.api4
-rw-r--r--src/vnet/devices/virtio/virtio.api4
-rw-r--r--src/vnet/geneve/geneve.api2
-rw-r--r--src/vnet/ipsec/ipsec.api4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/vnet/cop/cop.api b/src/vnet/cop/cop.api
index 39677a26673..75fd15bbb9f 100644
--- a/src/vnet/cop/cop.api
+++ b/src/vnet/cop/cop.api
@@ -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;
diff --git a/src/vnet/devices/virtio/virtio.api b/src/vnet/devices/virtio/virtio.api
index 143d25b73ab..3c8aed2e159 100644
--- a/src/vnet/devices/virtio/virtio.api
+++ b/src/vnet/devices/virtio/virtio.api
@@ -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;
diff --git a/src/vnet/geneve/geneve.api b/src/vnet/geneve/geneve.api
index 4502d890797..ef2cd5ed8ae 100644
--- a/src/vnet/geneve/geneve.api
+++ b/src/vnet/geneve/geneve.api
@@ -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;
diff --git a/src/vnet/ipsec/ipsec.api b/src/vnet/ipsec/ipsec.api
index 52a16ede1aa..89dcdb761de 100644
--- a/src/vnet/ipsec/ipsec.api
+++ b/src/vnet/ipsec/ipsec.api
@@ -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;