Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / tapv2.api.json
1 {
2     "types": [
3         [
4             "address",
5             [
6                 "vl_api_address_family_t",
7                 "af"
8             ],
9             [
10                 "vl_api_address_union_t",
11                 "un"
12             ]
13         ],
14         [
15             "prefix",
16             [
17                 "vl_api_address_t",
18                 "address"
19             ],
20             [
21                 "u8",
22                 "len"
23             ]
24         ],
25         [
26             "mprefix",
27             [
28                 "vl_api_address_family_t",
29                 "af"
30             ],
31             [
32                 "u16",
33                 "grp_address_length"
34             ],
35             [
36                 "vl_api_address_union_t",
37                 "grp_address"
38             ],
39             [
40                 "vl_api_address_union_t",
41                 "src_address"
42             ]
43         ],
44         [
45             "ip6_prefix",
46             [
47                 "vl_api_ip6_address_t",
48                 "address"
49             ],
50             [
51                 "u8",
52                 "len"
53             ]
54         ],
55         [
56             "ip4_prefix",
57             [
58                 "vl_api_ip4_address_t",
59                 "address"
60             ],
61             [
62                 "u8",
63                 "len"
64             ]
65         ],
66         [
67             "prefix_matcher",
68             [
69                 "u8",
70                 "le"
71             ],
72             [
73                 "u8",
74                 "ge"
75             ]
76         ]
77     ],
78     "messages": [
79         [
80             "tap_create_v2",
81             [
82                 "u16",
83                 "_vl_msg_id"
84             ],
85             [
86                 "u32",
87                 "client_index"
88             ],
89             [
90                 "u32",
91                 "context"
92             ],
93             [
94                 "u32",
95                 "id",
96                 {
97                     "default": 4294967295
98                 }
99             ],
100             [
101                 "bool",
102                 "use_random_mac",
103                 {
104                     "default": "true"
105                 }
106             ],
107             [
108                 "vl_api_mac_address_t",
109                 "mac_address"
110             ],
111             [
112                 "u8",
113                 "num_rx_queues",
114                 {
115                     "default": 1
116                 }
117             ],
118             [
119                 "u16",
120                 "tx_ring_sz"
121             ],
122             [
123                 "u16",
124                 "rx_ring_sz"
125             ],
126             [
127                 "bool",
128                 "host_mtu_set"
129             ],
130             [
131                 "u32",
132                 "host_mtu_size"
133             ],
134             [
135                 "bool",
136                 "host_mac_addr_set"
137             ],
138             [
139                 "vl_api_mac_address_t",
140                 "host_mac_addr"
141             ],
142             [
143                 "bool",
144                 "host_ip4_prefix_set"
145             ],
146             [
147                 "vl_api_ip4_address_with_prefix_t",
148                 "host_ip4_prefix"
149             ],
150             [
151                 "bool",
152                 "host_ip6_prefix_set"
153             ],
154             [
155                 "vl_api_ip6_address_with_prefix_t",
156                 "host_ip6_prefix"
157             ],
158             [
159                 "bool",
160                 "host_ip4_gw_set"
161             ],
162             [
163                 "vl_api_ip4_address_t",
164                 "host_ip4_gw"
165             ],
166             [
167                 "bool",
168                 "host_ip6_gw_set"
169             ],
170             [
171                 "vl_api_ip6_address_t",
172                 "host_ip6_gw"
173             ],
174             [
175                 "vl_api_tap_flags_t",
176                 "tap_flags"
177             ],
178             [
179                 "bool",
180                 "host_namespace_set"
181             ],
182             [
183                 "string",
184                 "host_namespace",
185                 64
186             ],
187             [
188                 "bool",
189                 "host_if_name_set"
190             ],
191             [
192                 "string",
193                 "host_if_name",
194                 64
195             ],
196             [
197                 "bool",
198                 "host_bridge_set"
199             ],
200             [
201                 "string",
202                 "host_bridge",
203                 64
204             ],
205             [
206                 "string",
207                 "tag",
208                 0
209             ],
210             {
211                 "crc": "0x445835fd"
212             }
213         ],
214         [
215             "tap_create_v2_reply",
216             [
217                 "u16",
218                 "_vl_msg_id"
219             ],
220             [
221                 "u32",
222                 "context"
223             ],
224             [
225                 "i32",
226                 "retval"
227             ],
228             [
229                 "vl_api_interface_index_t",
230                 "sw_if_index"
231             ],
232             {
233                 "crc": "0x5383d31f"
234             }
235         ],
236         [
237             "tap_delete_v2",
238             [
239                 "u16",
240                 "_vl_msg_id"
241             ],
242             [
243                 "u32",
244                 "client_index"
245             ],
246             [
247                 "u32",
248                 "context"
249             ],
250             [
251                 "vl_api_interface_index_t",
252                 "sw_if_index"
253             ],
254             {
255                 "crc": "0xf9e6675e"
256             }
257         ],
258         [
259             "tap_delete_v2_reply",
260             [
261                 "u16",
262                 "_vl_msg_id"
263             ],
264             [
265                 "u32",
266                 "context"
267             ],
268             [
269                 "i32",
270                 "retval"
271             ],
272             {
273                 "crc": "0xe8d4e804"
274             }
275         ],
276         [
277             "sw_interface_tap_v2_dump",
278             [
279                 "u16",
280                 "_vl_msg_id"
281             ],
282             [
283                 "u32",
284                 "client_index"
285             ],
286             [
287                 "u32",
288                 "context"
289             ],
290             [
291                 "vl_api_interface_index_t",
292                 "sw_if_index",
293                 {
294                     "default": 4294967295
295                 }
296             ],
297             {
298                 "crc": "0xf9e6675e"
299             }
300         ],
301         [
302             "sw_interface_tap_v2_details",
303             [
304                 "u16",
305                 "_vl_msg_id"
306             ],
307             [
308                 "u32",
309                 "context"
310             ],
311             [
312                 "u32",
313                 "sw_if_index"
314             ],
315             [
316                 "u32",
317                 "id"
318             ],
319             [
320                 "u16",
321                 "tx_ring_sz"
322             ],
323             [
324                 "u16",
325                 "rx_ring_sz"
326             ],
327             [
328                 "u32",
329                 "host_mtu_size"
330             ],
331             [
332                 "vl_api_mac_address_t",
333                 "host_mac_addr"
334             ],
335             [
336                 "vl_api_ip4_address_with_prefix_t",
337                 "host_ip4_prefix"
338             ],
339             [
340                 "vl_api_ip6_address_with_prefix_t",
341                 "host_ip6_prefix"
342             ],
343             [
344                 "vl_api_tap_flags_t",
345                 "tap_flags"
346             ],
347             [
348                 "string",
349                 "dev_name",
350                 64
351             ],
352             [
353                 "string",
354                 "host_if_name",
355                 64
356             ],
357             [
358                 "string",
359                 "host_namespace",
360                 64
361             ],
362             [
363                 "string",
364                 "host_bridge",
365                 64
366             ],
367             {
368                 "crc": "0xe53c16de"
369             }
370         ]
371     ],
372     "unions": [
373         [
374             "address_union",
375             [
376                 "vl_api_ip4_address_t",
377                 "ip4"
378             ],
379             [
380                 "vl_api_ip6_address_t",
381                 "ip6"
382             ]
383         ]
384     ],
385     "enums": [
386         [
387             "if_status_flags",
388             [
389                 "IF_STATUS_API_FLAG_ADMIN_UP",
390                 1
391             ],
392             [
393                 "IF_STATUS_API_FLAG_LINK_UP",
394                 2
395             ],
396             {
397                 "enumtype": "u32"
398             }
399         ],
400         [
401             "mtu_proto",
402             [
403                 "MTU_PROTO_API_L3",
404                 1
405             ],
406             [
407                 "MTU_PROTO_API_IP4",
408                 2
409             ],
410             [
411                 "MTU_PROTO_API_IP6",
412                 3
413             ],
414             [
415                 "MTU_PROTO_API_MPLS",
416                 4
417             ],
418             [
419                 "MTU_PROTO_API_N",
420                 5
421             ],
422             {
423                 "enumtype": "u32"
424             }
425         ],
426         [
427             "link_duplex",
428             [
429                 "LINK_DUPLEX_API_UNKNOWN",
430                 0
431             ],
432             [
433                 "LINK_DUPLEX_API_HALF",
434                 1
435             ],
436             [
437                 "LINK_DUPLEX_API_FULL",
438                 2
439             ],
440             {
441                 "enumtype": "u32"
442             }
443         ],
444         [
445             "sub_if_flags",
446             [
447                 "SUB_IF_API_FLAG_NO_TAGS",
448                 1
449             ],
450             [
451                 "SUB_IF_API_FLAG_ONE_TAG",
452                 2
453             ],
454             [
455                 "SUB_IF_API_FLAG_TWO_TAGS",
456                 4
457             ],
458             [
459                 "SUB_IF_API_FLAG_DOT1AD",
460                 8
461             ],
462             [
463                 "SUB_IF_API_FLAG_EXACT_MATCH",
464                 16
465             ],
466             [
467                 "SUB_IF_API_FLAG_DEFAULT",
468                 32
469             ],
470             [
471                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
472                 64
473             ],
474             [
475                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
476                 128
477             ],
478             [
479                 "SUB_IF_API_FLAG_MASK_VNET",
480                 254
481             ],
482             [
483                 "SUB_IF_API_FLAG_DOT1AH",
484                 256
485             ],
486             {
487                 "enumtype": "u32"
488             }
489         ],
490         [
491             "rx_mode",
492             [
493                 "RX_MODE_API_UNKNOWN",
494                 0
495             ],
496             [
497                 "RX_MODE_API_POLLING",
498                 1
499             ],
500             [
501                 "RX_MODE_API_INTERRUPT",
502                 2
503             ],
504             [
505                 "RX_MODE_API_ADAPTIVE",
506                 3
507             ],
508             [
509                 "RX_MODE_API_DEFAULT",
510                 4
511             ],
512             {
513                 "enumtype": "u32"
514             }
515         ],
516         [
517             "if_type",
518             [
519                 "IF_API_TYPE_HARDWARE",
520                 1
521             ],
522             [
523                 "IF_API_TYPE_SUB",
524                 2
525             ],
526             [
527                 "IF_API_TYPE_P2P",
528                 3
529             ],
530             [
531                 "IF_API_TYPE_PIPE",
532                 4
533             ],
534             {
535                 "enumtype": "u32"
536             }
537         ],
538         [
539             "address_family",
540             [
541                 "ADDRESS_IP4",
542                 0
543             ],
544             [
545                 "ADDRESS_IP6",
546                 1
547             ],
548             {
549                 "enumtype": "u32"
550             }
551         ],
552         [
553             "ip_ecn",
554             [
555                 "IP_API_ECN_NONE",
556                 0
557             ],
558             [
559                 "IP_API_ECN_ECT0",
560                 1
561             ],
562             [
563                 "IP_API_ECN_ECT1",
564                 2
565             ],
566             [
567                 "IP_API_ECN_CE",
568                 3
569             ],
570             {
571                 "enumtype": "u8"
572             }
573         ],
574         [
575             "ip_dscp",
576             [
577                 "IP_API_DSCP_CS0",
578                 0
579             ],
580             [
581                 "IP_API_DSCP_CS1",
582                 8
583             ],
584             [
585                 "IP_API_DSCP_AF11",
586                 10
587             ],
588             [
589                 "IP_API_DSCP_AF12",
590                 12
591             ],
592             [
593                 "IP_API_DSCP_AF13",
594                 14
595             ],
596             [
597                 "IP_API_DSCP_CS2",
598                 16
599             ],
600             [
601                 "IP_API_DSCP_AF21",
602                 18
603             ],
604             [
605                 "IP_API_DSCP_AF22",
606                 20
607             ],
608             [
609                 "IP_API_DSCP_AF23",
610                 22
611             ],
612             [
613                 "IP_API_DSCP_CS3",
614                 24
615             ],
616             [
617                 "IP_API_DSCP_AF31",
618                 26
619             ],
620             [
621                 "IP_API_DSCP_AF32",
622                 28
623             ],
624             [
625                 "IP_API_DSCP_AF33",
626                 30
627             ],
628             [
629                 "IP_API_DSCP_CS4",
630                 32
631             ],
632             [
633                 "IP_API_DSCP_AF41",
634                 34
635             ],
636             [
637                 "IP_API_DSCP_AF42",
638                 36
639             ],
640             [
641                 "IP_API_DSCP_AF43",
642                 38
643             ],
644             [
645                 "IP_API_DSCP_CS5",
646                 40
647             ],
648             [
649                 "IP_API_DSCP_EF",
650                 46
651             ],
652             [
653                 "IP_API_DSCP_CS6",
654                 48
655             ],
656             [
657                 "IP_API_DSCP_CS7",
658                 50
659             ],
660             {
661                 "enumtype": "u8"
662             }
663         ],
664         [
665             "ip_proto",
666             [
667                 "IP_API_PROTO_HOPOPT",
668                 0
669             ],
670             [
671                 "IP_API_PROTO_ICMP",
672                 1
673             ],
674             [
675                 "IP_API_PROTO_IGMP",
676                 2
677             ],
678             [
679                 "IP_API_PROTO_TCP",
680                 6
681             ],
682             [
683                 "IP_API_PROTO_UDP",
684                 17
685             ],
686             [
687                 "IP_API_PROTO_GRE",
688                 47
689             ],
690             [
691                 "IP_API_PROTO_AH",
692                 50
693             ],
694             [
695                 "IP_API_PROTO_ESP",
696                 51
697             ],
698             [
699                 "IP_API_PROTO_EIGRP",
700                 88
701             ],
702             [
703                 "IP_API_PROTO_OSPF",
704                 89
705             ],
706             [
707                 "IP_API_PROTO_SCTP",
708                 132
709             ],
710             [
711                 "IP_API_PROTO_RESERVED",
712                 255
713             ],
714             {
715                 "enumtype": "u32"
716             }
717         ],
718         [
719             "tap_flags",
720             [
721                 "TAP_FLAG_GSO",
722                 1
723             ],
724             [
725                 "TAP_FLAG_CSUM_OFFLOAD",
726                 2
727             ],
728             {
729                 "enumtype": "u32"
730             }
731         ]
732     ],
733     "services": {
734         "tap_create_v2": {
735             "reply": "tap_create_v2_reply"
736         },
737         "tap_delete_v2": {
738             "reply": "tap_delete_v2_reply"
739         },
740         "sw_interface_tap_v2_dump": {
741             "reply": "sw_interface_tap_v2_details",
742             "stream": true
743         }
744     },
745     "options": {
746         "version": "3.0.0"
747     },
748     "aliases": {
749         "interface_index": {
750             "type": "u32"
751         },
752         "mac_address": {
753             "type": "u8",
754             "length": 6
755         },
756         "ip4_address": {
757             "type": "u8",
758             "length": 4
759         },
760         "ip6_address": {
761             "type": "u8",
762             "length": 16
763         },
764         "address_with_prefix": {
765             "type": "vl_api_prefix_t"
766         },
767         "ip4_address_with_prefix": {
768             "type": "vl_api_ip4_prefix_t"
769         },
770         "ip6_address_with_prefix": {
771             "type": "vl_api_ip6_prefix_t"
772         }
773     },
774     "vl_api_version": "0x7d58f9a4"
775 }