3 * @brief VPP control-plane API messages for the network delay simulator
6 option version = "2.1.0";
8 /** \brief enable / disable the network delay simulation cross-connect
9 @param client_index - opaque cookie to identify the sender
10 @param context - sender context, to match reply w/ request
11 @param enable_disable - enable or disable the feature
12 @param sw_if_index0 - one interface to cross-connect
13 @param sw_if_index1 - the other interface to cross-connect
15 autoreply define nsim_cross_connect_enable_disable
17 /* Client identifier, set from api_main.my_client_index */
20 /* Arbitrary context, so client can match reply to request */
23 /* Enable / disable the feature on the interfaces */
26 /* Interface handles */
31 /** \brief enable / disable the network delay simulation output feature
32 @param client_index - opaque cookie to identify the sender
33 @param context - sender context, to match reply w/ request
34 @param enable_disable - enable or disable the feature
35 @param sw_if_index0 - interface
37 autoreply define nsim_output_feature_enable_disable
39 /* Client identifier, set from api_main.my_client_index */
42 /* Arbitrary context, so client can match reply to request */
45 /* Enable / disable the feature on the interfaces */
48 /* Interface handles */
52 /** \brief configure the network delay simulation cross-connect
53 @param client_index - opaque cookie to identify the sender
54 @param context - sender context, to match reply w/ request
55 @param delay_in_usec - microseconds of link delay to simulate
56 @param average_packet_size - average packet size for wheel sizing
57 @param bandwidth_in_bits_per_second - bps for wheel sizing
59 autoreply define nsim_configure
61 /* Client identifier, set from api_main.my_client_index */
64 /* Arbitrary context, so client can match reply to request */
67 /* Configuration parameters */
69 u32 average_packet_size;
70 u64 bandwidth_in_bits_per_second;