Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / bond.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "bond_create",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "u32",
20                 "id"
21             ],
22             [
23                 "bool",
24                 "use_custom_mac"
25             ],
26             [
27                 "vl_api_mac_address_t",
28                 "mac_address"
29             ],
30             [
31                 "vl_api_bond_mode_t",
32                 "mode"
33             ],
34             [
35                 "vl_api_bond_lb_algo_t",
36                 "lb"
37             ],
38             [
39                 "bool",
40                 "numa_only"
41             ],
42             {
43                 "crc": "0x48883c7e"
44             }
45         ],
46         [
47             "bond_create_reply",
48             [
49                 "u16",
50                 "_vl_msg_id"
51             ],
52             [
53                 "u32",
54                 "context"
55             ],
56             [
57                 "i32",
58                 "retval"
59             ],
60             [
61                 "vl_api_interface_index_t",
62                 "sw_if_index"
63             ],
64             {
65                 "crc": "0x5383d31f"
66             }
67         ],
68         [
69             "bond_delete",
70             [
71                 "u16",
72                 "_vl_msg_id"
73             ],
74             [
75                 "u32",
76                 "client_index"
77             ],
78             [
79                 "u32",
80                 "context"
81             ],
82             [
83                 "vl_api_interface_index_t",
84                 "sw_if_index"
85             ],
86             {
87                 "crc": "0xf9e6675e"
88             }
89         ],
90         [
91             "bond_delete_reply",
92             [
93                 "u16",
94                 "_vl_msg_id"
95             ],
96             [
97                 "u32",
98                 "context"
99             ],
100             [
101                 "i32",
102                 "retval"
103             ],
104             {
105                 "crc": "0xe8d4e804"
106             }
107         ],
108         [
109             "bond_enslave",
110             [
111                 "u16",
112                 "_vl_msg_id"
113             ],
114             [
115                 "u32",
116                 "client_index"
117             ],
118             [
119                 "u32",
120                 "context"
121             ],
122             [
123                 "vl_api_interface_index_t",
124                 "sw_if_index"
125             ],
126             [
127                 "vl_api_interface_index_t",
128                 "bond_sw_if_index"
129             ],
130             [
131                 "bool",
132                 "is_passive"
133             ],
134             [
135                 "bool",
136                 "is_long_timeout"
137             ],
138             {
139                 "crc": "0x076ecfa7"
140             }
141         ],
142         [
143             "bond_enslave_reply",
144             [
145                 "u16",
146                 "_vl_msg_id"
147             ],
148             [
149                 "u32",
150                 "context"
151             ],
152             [
153                 "i32",
154                 "retval"
155             ],
156             {
157                 "crc": "0xe8d4e804"
158             }
159         ],
160         [
161             "bond_detach_slave",
162             [
163                 "u16",
164                 "_vl_msg_id"
165             ],
166             [
167                 "u32",
168                 "client_index"
169             ],
170             [
171                 "u32",
172                 "context"
173             ],
174             [
175                 "vl_api_interface_index_t",
176                 "sw_if_index"
177             ],
178             {
179                 "crc": "0xf9e6675e"
180             }
181         ],
182         [
183             "bond_detach_slave_reply",
184             [
185                 "u16",
186                 "_vl_msg_id"
187             ],
188             [
189                 "u32",
190                 "context"
191             ],
192             [
193                 "i32",
194                 "retval"
195             ],
196             {
197                 "crc": "0xe8d4e804"
198             }
199         ],
200         [
201             "sw_interface_bond_dump",
202             [
203                 "u16",
204                 "_vl_msg_id"
205             ],
206             [
207                 "u32",
208                 "client_index"
209             ],
210             [
211                 "u32",
212                 "context"
213             ],
214             {
215                 "crc": "0x51077d14"
216             }
217         ],
218         [
219             "sw_interface_bond_details",
220             [
221                 "u16",
222                 "_vl_msg_id"
223             ],
224             [
225                 "u32",
226                 "context"
227             ],
228             [
229                 "vl_api_interface_index_t",
230                 "sw_if_index"
231             ],
232             [
233                 "u32",
234                 "id"
235             ],
236             [
237                 "vl_api_bond_mode_t",
238                 "mode"
239             ],
240             [
241                 "vl_api_bond_lb_algo_t",
242                 "lb"
243             ],
244             [
245                 "bool",
246                 "numa_only"
247             ],
248             [
249                 "u32",
250                 "active_slaves"
251             ],
252             [
253                 "u32",
254                 "slaves"
255             ],
256             [
257                 "string",
258                 "interface_name",
259                 64
260             ],
261             {
262                 "crc": "0xf5ef2106"
263             }
264         ],
265         [
266             "sw_interface_slave_dump",
267             [
268                 "u16",
269                 "_vl_msg_id"
270             ],
271             [
272                 "u32",
273                 "client_index"
274             ],
275             [
276                 "u32",
277                 "context"
278             ],
279             [
280                 "vl_api_interface_index_t",
281                 "sw_if_index"
282             ],
283             {
284                 "crc": "0xf9e6675e"
285             }
286         ],
287         [
288             "sw_interface_slave_details",
289             [
290                 "u16",
291                 "_vl_msg_id"
292             ],
293             [
294                 "u32",
295                 "context"
296             ],
297             [
298                 "vl_api_interface_index_t",
299                 "sw_if_index"
300             ],
301             [
302                 "string",
303                 "interface_name",
304                 64
305             ],
306             [
307                 "bool",
308                 "is_passive"
309             ],
310             [
311                 "bool",
312                 "is_long_timeout"
313             ],
314             [
315                 "bool",
316                 "is_local_numa"
317             ],
318             [
319                 "u32",
320                 "weight"
321             ],
322             {
323                 "crc": "0x3c4a0e23"
324             }
325         ],
326         [
327             "sw_interface_set_bond_weight",
328             [
329                 "u16",
330                 "_vl_msg_id"
331             ],
332             [
333                 "u32",
334                 "client_index"
335             ],
336             [
337                 "u32",
338                 "context"
339             ],
340             [
341                 "vl_api_interface_index_t",
342                 "sw_if_index"
343             ],
344             [
345                 "u32",
346                 "weight"
347             ],
348             {
349                 "crc": "0xdeb510a0"
350             }
351         ],
352         [
353             "sw_interface_set_bond_weight_reply",
354             [
355                 "u16",
356                 "_vl_msg_id"
357             ],
358             [
359                 "u32",
360                 "context"
361             ],
362             [
363                 "i32",
364                 "retval"
365             ],
366             {
367                 "crc": "0xe8d4e804"
368             }
369         ]
370     ],
371     "unions": [],
372     "enums": [
373         [
374             "if_status_flags",
375             [
376                 "IF_STATUS_API_FLAG_ADMIN_UP",
377                 1
378             ],
379             [
380                 "IF_STATUS_API_FLAG_LINK_UP",
381                 2
382             ],
383             {
384                 "enumtype": "u32"
385             }
386         ],
387         [
388             "mtu_proto",
389             [
390                 "MTU_PROTO_API_L3",
391                 1
392             ],
393             [
394                 "MTU_PROTO_API_IP4",
395                 2
396             ],
397             [
398                 "MTU_PROTO_API_IP6",
399                 3
400             ],
401             [
402                 "MTU_PROTO_API_MPLS",
403                 4
404             ],
405             [
406                 "MTU_PROTO_API_N",
407                 5
408             ],
409             {
410                 "enumtype": "u32"
411             }
412         ],
413         [
414             "link_duplex",
415             [
416                 "LINK_DUPLEX_API_UNKNOWN",
417                 0
418             ],
419             [
420                 "LINK_DUPLEX_API_HALF",
421                 1
422             ],
423             [
424                 "LINK_DUPLEX_API_FULL",
425                 2
426             ],
427             {
428                 "enumtype": "u32"
429             }
430         ],
431         [
432             "sub_if_flags",
433             [
434                 "SUB_IF_API_FLAG_NO_TAGS",
435                 1
436             ],
437             [
438                 "SUB_IF_API_FLAG_ONE_TAG",
439                 2
440             ],
441             [
442                 "SUB_IF_API_FLAG_TWO_TAGS",
443                 4
444             ],
445             [
446                 "SUB_IF_API_FLAG_DOT1AD",
447                 8
448             ],
449             [
450                 "SUB_IF_API_FLAG_EXACT_MATCH",
451                 16
452             ],
453             [
454                 "SUB_IF_API_FLAG_DEFAULT",
455                 32
456             ],
457             [
458                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
459                 64
460             ],
461             [
462                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
463                 128
464             ],
465             [
466                 "SUB_IF_API_FLAG_MASK_VNET",
467                 254
468             ],
469             [
470                 "SUB_IF_API_FLAG_DOT1AH",
471                 256
472             ],
473             {
474                 "enumtype": "u32"
475             }
476         ],
477         [
478             "rx_mode",
479             [
480                 "RX_MODE_API_UNKNOWN",
481                 0
482             ],
483             [
484                 "RX_MODE_API_POLLING",
485                 1
486             ],
487             [
488                 "RX_MODE_API_INTERRUPT",
489                 2
490             ],
491             [
492                 "RX_MODE_API_ADAPTIVE",
493                 3
494             ],
495             [
496                 "RX_MODE_API_DEFAULT",
497                 4
498             ],
499             {
500                 "enumtype": "u32"
501             }
502         ],
503         [
504             "if_type",
505             [
506                 "IF_API_TYPE_HARDWARE",
507                 1
508             ],
509             [
510                 "IF_API_TYPE_SUB",
511                 2
512             ],
513             [
514                 "IF_API_TYPE_P2P",
515                 3
516             ],
517             [
518                 "IF_API_TYPE_PIPE",
519                 4
520             ],
521             {
522                 "enumtype": "u32"
523             }
524         ],
525         [
526             "bond_mode",
527             [
528                 "BOND_API_MODE_ROUND_ROBIN",
529                 1
530             ],
531             [
532                 "BOND_API_MODE_ACTIVE_BACKUP",
533                 2
534             ],
535             [
536                 "BOND_API_MODE_XOR",
537                 3
538             ],
539             [
540                 "BOND_API_MODE_BROADCAST",
541                 4
542             ],
543             [
544                 "BOND_API_MODE_LACP",
545                 5
546             ],
547             {
548                 "enumtype": "u32"
549             }
550         ],
551         [
552             "bond_lb_algo",
553             [
554                 "BOND_API_LB_ALGO_L2",
555                 0
556             ],
557             [
558                 "BOND_API_LB_ALGO_L34",
559                 1
560             ],
561             [
562                 "BOND_API_LB_ALGO_L23",
563                 2
564             ],
565             [
566                 "BOND_API_LB_ALGO_RR",
567                 3
568             ],
569             [
570                 "BOND_API_LB_ALGO_BC",
571                 4
572             ],
573             [
574                 "BOND_API_LB_ALGO_AB",
575                 5
576             ],
577             {
578                 "enumtype": "u32"
579             }
580         ]
581     ],
582     "services": {
583         "bond_create": {
584             "reply": "bond_create_reply"
585         },
586         "bond_delete": {
587             "reply": "bond_delete_reply"
588         },
589         "bond_enslave": {
590             "reply": "bond_enslave_reply"
591         },
592         "bond_detach_slave": {
593             "reply": "bond_detach_slave_reply"
594         },
595         "sw_interface_bond_dump": {
596             "reply": "sw_interface_bond_details",
597             "stream": true
598         },
599         "sw_interface_slave_dump": {
600             "reply": "sw_interface_slave_details",
601             "stream": true
602         },
603         "sw_interface_set_bond_weight": {
604             "reply": "sw_interface_set_bond_weight_reply"
605         }
606     },
607     "options": {
608         "version": "2.0.0"
609     },
610     "aliases": {
611         "interface_index": {
612             "type": "u32"
613         },
614         "mac_address": {
615             "type": "u8",
616             "length": 6
617         }
618     },
619     "vl_api_version": "0x69f583ad"
620 }