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