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