Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / nsim.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "nsim_cross_connect_enable_disable",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "bool",
20                 "enable_disable"
21             ],
22             [
23                 "vl_api_interface_index_t",
24                 "sw_if_index0"
25             ],
26             [
27                 "vl_api_interface_index_t",
28                 "sw_if_index1"
29             ],
30             {
31                 "crc": "0x16f70bdf"
32             }
33         ],
34         [
35             "nsim_cross_connect_enable_disable_reply",
36             [
37                 "u16",
38                 "_vl_msg_id"
39             ],
40             [
41                 "u32",
42                 "context"
43             ],
44             [
45                 "i32",
46                 "retval"
47             ],
48             {
49                 "crc": "0xe8d4e804"
50             }
51         ],
52         [
53             "nsim_output_feature_enable_disable",
54             [
55                 "u16",
56                 "_vl_msg_id"
57             ],
58             [
59                 "u32",
60                 "client_index"
61             ],
62             [
63                 "u32",
64                 "context"
65             ],
66             [
67                 "bool",
68                 "enable_disable"
69             ],
70             [
71                 "vl_api_interface_index_t",
72                 "sw_if_index"
73             ],
74             {
75                 "crc": "0x3865946c"
76             }
77         ],
78         [
79             "nsim_output_feature_enable_disable_reply",
80             [
81                 "u16",
82                 "_vl_msg_id"
83             ],
84             [
85                 "u32",
86                 "context"
87             ],
88             [
89                 "i32",
90                 "retval"
91             ],
92             {
93                 "crc": "0xe8d4e804"
94             }
95         ],
96         [
97             "nsim_configure",
98             [
99                 "u16",
100                 "_vl_msg_id"
101             ],
102             [
103                 "u32",
104                 "client_index"
105             ],
106             [
107                 "u32",
108                 "context"
109             ],
110             [
111                 "u32",
112                 "delay_in_usec"
113             ],
114             [
115                 "u32",
116                 "average_packet_size"
117             ],
118             [
119                 "u64",
120                 "bandwidth_in_bits_per_second"
121             ],
122             [
123                 "u32",
124                 "packets_per_drop"
125             ],
126             {
127                 "crc": "0x16ed400f"
128             }
129         ],
130         [
131             "nsim_configure_reply",
132             [
133                 "u16",
134                 "_vl_msg_id"
135             ],
136             [
137                 "u32",
138                 "context"
139             ],
140             [
141                 "i32",
142                 "retval"
143             ],
144             {
145                 "crc": "0xe8d4e804"
146             }
147         ]
148     ],
149     "unions": [],
150     "enums": [
151         [
152             "if_status_flags",
153             [
154                 "IF_STATUS_API_FLAG_ADMIN_UP",
155                 1
156             ],
157             [
158                 "IF_STATUS_API_FLAG_LINK_UP",
159                 2
160             ],
161             {
162                 "enumtype": "u32"
163             }
164         ],
165         [
166             "mtu_proto",
167             [
168                 "MTU_PROTO_API_L3",
169                 1
170             ],
171             [
172                 "MTU_PROTO_API_IP4",
173                 2
174             ],
175             [
176                 "MTU_PROTO_API_IP6",
177                 3
178             ],
179             [
180                 "MTU_PROTO_API_MPLS",
181                 4
182             ],
183             [
184                 "MTU_PROTO_API_N",
185                 5
186             ],
187             {
188                 "enumtype": "u32"
189             }
190         ],
191         [
192             "link_duplex",
193             [
194                 "LINK_DUPLEX_API_UNKNOWN",
195                 0
196             ],
197             [
198                 "LINK_DUPLEX_API_HALF",
199                 1
200             ],
201             [
202                 "LINK_DUPLEX_API_FULL",
203                 2
204             ],
205             {
206                 "enumtype": "u32"
207             }
208         ],
209         [
210             "sub_if_flags",
211             [
212                 "SUB_IF_API_FLAG_NO_TAGS",
213                 1
214             ],
215             [
216                 "SUB_IF_API_FLAG_ONE_TAG",
217                 2
218             ],
219             [
220                 "SUB_IF_API_FLAG_TWO_TAGS",
221                 4
222             ],
223             [
224                 "SUB_IF_API_FLAG_DOT1AD",
225                 8
226             ],
227             [
228                 "SUB_IF_API_FLAG_EXACT_MATCH",
229                 16
230             ],
231             [
232                 "SUB_IF_API_FLAG_DEFAULT",
233                 32
234             ],
235             [
236                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
237                 64
238             ],
239             [
240                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
241                 128
242             ],
243             [
244                 "SUB_IF_API_FLAG_MASK_VNET",
245                 254
246             ],
247             [
248                 "SUB_IF_API_FLAG_DOT1AH",
249                 256
250             ],
251             {
252                 "enumtype": "u32"
253             }
254         ],
255         [
256             "rx_mode",
257             [
258                 "RX_MODE_API_UNKNOWN",
259                 0
260             ],
261             [
262                 "RX_MODE_API_POLLING",
263                 1
264             ],
265             [
266                 "RX_MODE_API_INTERRUPT",
267                 2
268             ],
269             [
270                 "RX_MODE_API_ADAPTIVE",
271                 3
272             ],
273             [
274                 "RX_MODE_API_DEFAULT",
275                 4
276             ],
277             {
278                 "enumtype": "u32"
279             }
280         ],
281         [
282             "if_type",
283             [
284                 "IF_API_TYPE_HARDWARE",
285                 1
286             ],
287             [
288                 "IF_API_TYPE_SUB",
289                 2
290             ],
291             [
292                 "IF_API_TYPE_P2P",
293                 3
294             ],
295             [
296                 "IF_API_TYPE_PIPE",
297                 4
298             ],
299             {
300                 "enumtype": "u32"
301             }
302         ]
303     ],
304     "services": {
305         "nsim_cross_connect_enable_disable": {
306             "reply": "nsim_cross_connect_enable_disable_reply"
307         },
308         "nsim_output_feature_enable_disable": {
309             "reply": "nsim_output_feature_enable_disable_reply"
310         },
311         "nsim_configure": {
312             "reply": "nsim_configure_reply"
313         }
314     },
315     "options": {
316         "version": "2.1.1"
317     },
318     "aliases": {
319         "interface_index": {
320             "type": "u32"
321         }
322     },
323     "vl_api_version": "0xd61e346f"
324 }