diff options
author | Dave Barach <dave@barachs.net> | 2021-03-09 16:34:57 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-03-11 17:10:54 +0000 |
commit | aa479bb91d0c75b603e6c8828e6fffa0c70c5a0c (patch) | |
tree | b009db538a9b68d4b99a1052923ff18689f9d9a3 /src/vpp/api/custom_dump.c | |
parent | 8694fbc8827ab5063df0b36aa05646a035458f2e (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/vpp/api/custom_dump.c')
-rw-r--r-- | src/vpp/api/custom_dump.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 372cfa70457..339e7a3f69d 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1955,39 +1955,6 @@ vl_api_ip_dump_t_print (vl_api_ip_dump_t * mp, void *handle) FINISH; } -static void *vl_api_cop_interface_enable_disable_t_print - (vl_api_cop_interface_enable_disable_t * mp, void *handle) -{ - u8 *s; - - s = format (0, "SCRIPT: cop_interface_enable_disable "); - s = format (s, "sw_if_index %d ", (mp->sw_if_index)); - if (mp->enable_disable) - s = format (s, "enable "); - else - s = format (s, "disable "); - - FINISH; -} - -static void *vl_api_cop_whitelist_enable_disable_t_print - (vl_api_cop_whitelist_enable_disable_t * mp, void *handle) -{ - u8 *s; - - s = format (0, "SCRIPT: cop_whitelist_enable_disable "); - s = format (s, "sw_if_index %d ", (mp->sw_if_index)); - s = format (s, "fib-id %d ", (mp->fib_id)); - if (mp->ip4) - s = format (s, "ip4 "); - if (mp->ip6) - s = format (s, "ip6 "); - if (mp->default_cop) - s = format (s, "default "); - - FINISH; -} - static void *vl_api_af_packet_create_t_print (vl_api_af_packet_create_t * mp, void *handle) { @@ -3070,8 +3037,6 @@ _(IP_DUMP, ip_dump) \ _(DELETE_LOOPBACK, delete_loopback) \ _(BD_IP_MAC_ADD_DEL, bd_ip_mac_add_del) \ _(BD_IP_MAC_FLUSH, bd_ip_mac_flush) \ -_(COP_INTERFACE_ENABLE_DISABLE, cop_interface_enable_disable) \ -_(COP_WHITELIST_ENABLE_DISABLE, cop_whitelist_enable_disable) \ _(AF_PACKET_CREATE, af_packet_create) \ _(AF_PACKET_DELETE, af_packet_delete) \ _(AF_PACKET_DUMP, af_packet_dump) \ |