1 /* Define a simple enable-disable binary API to control the feature */
4 This file defines the vpp control-plane API messages
5 used to control the flowprobe plugin
8 option version = "1.0.0";
10 /** \brief Enable / disable per-packet IPFIX recording on an interface
11 @param client_index - opaque cookie to identify the sender
12 @param context - sender context, to match reply w/ request
13 @param is_add - add address if non-zero, else delete
14 @param is_ipv6 - if non-zero the address is ipv6, else ipv4
15 @param sw_if_index - index of the interface
17 autoreply manual_print define flowprobe_tx_interface_add_del
19 /* Client identifier, set from api_main.my_client_index */
22 /* Arbitrary context, so client can match reply to request */
25 /* Enable / disable the feature */
27 u8 which; /* 0 = ipv4, 1 = l2, 2 = ipv6 */
29 /* Interface handle */
33 autoreply define flowprobe_params
40 u32 active_timer; /* ~0 is off, 0 is default */
41 u32 passive_timer; /* ~0 is off, 0 is default */