summaryrefslogtreecommitdiffstats
path: root/src/vnet/cop/cop.api
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2021-03-09 16:34:57 -0500
committerFlorin Coras <florin.coras@gmail.com>2021-03-11 17:10:54 +0000
commitaa479bb91d0c75b603e6c8828e6fffa0c70c5a0c (patch)
treeb009db538a9b68d4b99a1052923ff18689f9d9a3 /src/vnet/cop/cop.api
parent8694fbc8827ab5063df0b36aa05646a035458f2e (diff)
misc: remove cop API support (part 1)
API marked for deprecation last year due to non-inclusive language. Last supported release: 21.01. See the "adl" plugin. Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I931e58ced9cc8403ca5b23fd6b07e50d0ff7306b
Diffstat (limited to 'src/vnet/cop/cop.api')
-rw-r--r--src/vnet/cop/cop.api44
1 files changed, 1 insertions, 43 deletions
diff --git a/src/vnet/cop/cop.api b/src/vnet/cop/cop.api
index f0916cb5844..bc213c2eb7b 100644
--- a/src/vnet/cop/cop.api
+++ b/src/vnet/cop/cop.api
@@ -13,49 +13,7 @@
* limitations under the License.
*/
-option version = "1.0.1";
-
-import "vnet/interface_types.api";
-
- /** \brief cop: enable/disable junk filtration features on an interface
- @param client_index - opaque cookie to identify the sender
- @param context - sender context, to match reply w/ request
- @param sw_if_inded - desired interface
- @param enable_disable - 1 => enable, 0 => disable
-*/
-
-autoreply define cop_interface_enable_disable
-{
- option deprecated;
- u32 client_index;
- u32 context;
- vl_api_interface_index_t sw_if_index;
- bool enable_disable;
-};
-
-/** \brief cop: enable/disable whitelist filtration features on an interface
- Note: the supplied fib_id must match in order to remove the feature!
-
- @param client_index - opaque cookie to identify the sender
- @param context - sender context, to match reply w/ request
- @param sw_if_index - interface handle, physical interfaces only
- @param fib_id - fib identifier for the whitelist / blacklist fib
- @param ip4 - 1 => enable ip4 filtration, 0=> disable ip4 filtration
- @param ip6 - 1 => enable ip6 filtration, 0=> disable ip6 filtration
- @param default_cop - 1 => enable non-ip4, non-ip6 filtration 0=> disable it
-*/
-
-autoreply define cop_whitelist_enable_disable
-{
- option deprecated;
- u32 client_index;
- u32 context;
- vl_api_interface_index_t sw_if_index;
- u32 fib_id;
- bool ip4;
- bool ip6;
- bool default_cop;
-};
+option version = "0.0.1";
/*
* Local Variables: