Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / ikev2.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             "ikev2_plugin_get_version",
81             [
82                 "u16",
83                 "_vl_msg_id"
84             ],
85             [
86                 "u32",
87                 "client_index"
88             ],
89             [
90                 "u32",
91                 "context"
92             ],
93             {
94                 "crc": "0x51077d14"
95             }
96         ],
97         [
98             "ikev2_plugin_get_version_reply",
99             [
100                 "u16",
101                 "_vl_msg_id"
102             ],
103             [
104                 "u32",
105                 "context"
106             ],
107             [
108                 "u32",
109                 "major"
110             ],
111             [
112                 "u32",
113                 "minor"
114             ],
115             {
116                 "crc": "0x9b32cf86"
117             }
118         ],
119         [
120             "ikev2_profile_add_del",
121             [
122                 "u16",
123                 "_vl_msg_id"
124             ],
125             [
126                 "u32",
127                 "client_index"
128             ],
129             [
130                 "u32",
131                 "context"
132             ],
133             [
134                 "string",
135                 "name",
136                 64
137             ],
138             [
139                 "bool",
140                 "is_add"
141             ],
142             {
143                 "crc": "0x2c925b55"
144             }
145         ],
146         [
147             "ikev2_profile_add_del_reply",
148             [
149                 "u16",
150                 "_vl_msg_id"
151             ],
152             [
153                 "u32",
154                 "context"
155             ],
156             [
157                 "i32",
158                 "retval"
159             ],
160             {
161                 "crc": "0xe8d4e804"
162             }
163         ],
164         [
165             "ikev2_profile_set_auth",
166             [
167                 "u16",
168                 "_vl_msg_id"
169             ],
170             [
171                 "u32",
172                 "client_index"
173             ],
174             [
175                 "u32",
176                 "context"
177             ],
178             [
179                 "string",
180                 "name",
181                 64
182             ],
183             [
184                 "u8",
185                 "auth_method"
186             ],
187             [
188                 "bool",
189                 "is_hex"
190             ],
191             [
192                 "u32",
193                 "data_len"
194             ],
195             [
196                 "u8",
197                 "data",
198                 0,
199                 "data_len"
200             ],
201             {
202                 "crc": "0x642c97cd"
203             }
204         ],
205         [
206             "ikev2_profile_set_auth_reply",
207             [
208                 "u16",
209                 "_vl_msg_id"
210             ],
211             [
212                 "u32",
213                 "context"
214             ],
215             [
216                 "i32",
217                 "retval"
218             ],
219             {
220                 "crc": "0xe8d4e804"
221             }
222         ],
223         [
224             "ikev2_profile_set_id",
225             [
226                 "u16",
227                 "_vl_msg_id"
228             ],
229             [
230                 "u32",
231                 "client_index"
232             ],
233             [
234                 "u32",
235                 "context"
236             ],
237             [
238                 "string",
239                 "name",
240                 64
241             ],
242             [
243                 "bool",
244                 "is_local"
245             ],
246             [
247                 "u8",
248                 "id_type"
249             ],
250             [
251                 "u32",
252                 "data_len"
253             ],
254             [
255                 "u8",
256                 "data",
257                 0,
258                 "data_len"
259             ],
260             {
261                 "crc": "0x4d7e2418"
262             }
263         ],
264         [
265             "ikev2_profile_set_id_reply",
266             [
267                 "u16",
268                 "_vl_msg_id"
269             ],
270             [
271                 "u32",
272                 "context"
273             ],
274             [
275                 "i32",
276                 "retval"
277             ],
278             {
279                 "crc": "0xe8d4e804"
280             }
281         ],
282         [
283             "ikev2_profile_set_ts",
284             [
285                 "u16",
286                 "_vl_msg_id"
287             ],
288             [
289                 "u32",
290                 "client_index"
291             ],
292             [
293                 "u32",
294                 "context"
295             ],
296             [
297                 "string",
298                 "name",
299                 64
300             ],
301             [
302                 "bool",
303                 "is_local"
304             ],
305             [
306                 "u8",
307                 "proto"
308             ],
309             [
310                 "u16",
311                 "start_port"
312             ],
313             [
314                 "u16",
315                 "end_port"
316             ],
317             [
318                 "u32",
319                 "start_addr"
320             ],
321             [
322                 "u32",
323                 "end_addr"
324             ],
325             {
326                 "crc": "0x64d55c16"
327             }
328         ],
329         [
330             "ikev2_profile_set_ts_reply",
331             [
332                 "u16",
333                 "_vl_msg_id"
334             ],
335             [
336                 "u32",
337                 "context"
338             ],
339             [
340                 "i32",
341                 "retval"
342             ],
343             {
344                 "crc": "0xe8d4e804"
345             }
346         ],
347         [
348             "ikev2_set_local_key",
349             [
350                 "u16",
351                 "_vl_msg_id"
352             ],
353             [
354                 "u32",
355                 "client_index"
356             ],
357             [
358                 "u32",
359                 "context"
360             ],
361             [
362                 "u8",
363                 "key_file",
364                 256
365             ],
366             {
367                 "crc": "0xe4996cd5"
368             }
369         ],
370         [
371             "ikev2_set_local_key_reply",
372             [
373                 "u16",
374                 "_vl_msg_id"
375             ],
376             [
377                 "u32",
378                 "context"
379             ],
380             [
381                 "i32",
382                 "retval"
383             ],
384             {
385                 "crc": "0xe8d4e804"
386             }
387         ],
388         [
389             "ikev2_set_responder",
390             [
391                 "u16",
392                 "_vl_msg_id"
393             ],
394             [
395                 "u32",
396                 "client_index"
397             ],
398             [
399                 "u32",
400                 "context"
401             ],
402             [
403                 "string",
404                 "name",
405                 64
406             ],
407             [
408                 "vl_api_interface_index_t",
409                 "sw_if_index"
410             ],
411             [
412                 "vl_api_ip4_address_t",
413                 "address"
414             ],
415             {
416                 "crc": "0xf0d3dc80"
417             }
418         ],
419         [
420             "ikev2_set_responder_reply",
421             [
422                 "u16",
423                 "_vl_msg_id"
424             ],
425             [
426                 "u32",
427                 "context"
428             ],
429             [
430                 "i32",
431                 "retval"
432             ],
433             {
434                 "crc": "0xe8d4e804"
435             }
436         ],
437         [
438             "ikev2_set_ike_transforms",
439             [
440                 "u16",
441                 "_vl_msg_id"
442             ],
443             [
444                 "u32",
445                 "client_index"
446             ],
447             [
448                 "u32",
449                 "context"
450             ],
451             [
452                 "string",
453                 "name",
454                 64
455             ],
456             [
457                 "u32",
458                 "crypto_alg"
459             ],
460             [
461                 "u32",
462                 "crypto_key_size"
463             ],
464             [
465                 "u32",
466                 "integ_alg"
467             ],
468             [
469                 "u32",
470                 "dh_group"
471             ],
472             {
473                 "crc": "0x936a1a37"
474             }
475         ],
476         [
477             "ikev2_set_ike_transforms_reply",
478             [
479                 "u16",
480                 "_vl_msg_id"
481             ],
482             [
483                 "u32",
484                 "context"
485             ],
486             [
487                 "i32",
488                 "retval"
489             ],
490             {
491                 "crc": "0xe8d4e804"
492             }
493         ],
494         [
495             "ikev2_set_esp_transforms",
496             [
497                 "u16",
498                 "_vl_msg_id"
499             ],
500             [
501                 "u32",
502                 "client_index"
503             ],
504             [
505                 "u32",
506                 "context"
507             ],
508             [
509                 "string",
510                 "name",
511                 64
512             ],
513             [
514                 "u32",
515                 "crypto_alg"
516             ],
517             [
518                 "u32",
519                 "crypto_key_size"
520             ],
521             [
522                 "u32",
523                 "integ_alg"
524             ],
525             [
526                 "u32",
527                 "dh_group"
528             ],
529             {
530                 "crc": "0x936a1a37"
531             }
532         ],
533         [
534             "ikev2_set_esp_transforms_reply",
535             [
536                 "u16",
537                 "_vl_msg_id"
538             ],
539             [
540                 "u32",
541                 "context"
542             ],
543             [
544                 "i32",
545                 "retval"
546             ],
547             {
548                 "crc": "0xe8d4e804"
549             }
550         ],
551         [
552             "ikev2_set_sa_lifetime",
553             [
554                 "u16",
555                 "_vl_msg_id"
556             ],
557             [
558                 "u32",
559                 "client_index"
560             ],
561             [
562                 "u32",
563                 "context"
564             ],
565             [
566                 "string",
567                 "name",
568                 64
569             ],
570             [
571                 "u64",
572                 "lifetime"
573             ],
574             [
575                 "u32",
576                 "lifetime_jitter"
577             ],
578             [
579                 "u32",
580                 "handover"
581             ],
582             [
583                 "u64",
584                 "lifetime_maxdata"
585             ],
586             {
587                 "crc": "0x7039feaa"
588             }
589         ],
590         [
591             "ikev2_set_sa_lifetime_reply",
592             [
593                 "u16",
594                 "_vl_msg_id"
595             ],
596             [
597                 "u32",
598                 "context"
599             ],
600             [
601                 "i32",
602                 "retval"
603             ],
604             {
605                 "crc": "0xe8d4e804"
606             }
607         ],
608         [
609             "ikev2_initiate_sa_init",
610             [
611                 "u16",
612                 "_vl_msg_id"
613             ],
614             [
615                 "u32",
616                 "client_index"
617             ],
618             [
619                 "u32",
620                 "context"
621             ],
622             [
623                 "string",
624                 "name",
625                 64
626             ],
627             {
628                 "crc": "0xebf79a66"
629             }
630         ],
631         [
632             "ikev2_initiate_sa_init_reply",
633             [
634                 "u16",
635                 "_vl_msg_id"
636             ],
637             [
638                 "u32",
639                 "context"
640             ],
641             [
642                 "i32",
643                 "retval"
644             ],
645             {
646                 "crc": "0xe8d4e804"
647             }
648         ],
649         [
650             "ikev2_initiate_del_ike_sa",
651             [
652                 "u16",
653                 "_vl_msg_id"
654             ],
655             [
656                 "u32",
657                 "client_index"
658             ],
659             [
660                 "u32",
661                 "context"
662             ],
663             [
664                 "u64",
665                 "ispi"
666             ],
667             {
668                 "crc": "0x8d125bdd"
669             }
670         ],
671         [
672             "ikev2_initiate_del_ike_sa_reply",
673             [
674                 "u16",
675                 "_vl_msg_id"
676             ],
677             [
678                 "u32",
679                 "context"
680             ],
681             [
682                 "i32",
683                 "retval"
684             ],
685             {
686                 "crc": "0xe8d4e804"
687             }
688         ],
689         [
690             "ikev2_initiate_del_child_sa",
691             [
692                 "u16",
693                 "_vl_msg_id"
694             ],
695             [
696                 "u32",
697                 "client_index"
698             ],
699             [
700                 "u32",
701                 "context"
702             ],
703             [
704                 "u32",
705                 "ispi"
706             ],
707             {
708                 "crc": "0x7f004d2e"
709             }
710         ],
711         [
712             "ikev2_initiate_del_child_sa_reply",
713             [
714                 "u16",
715                 "_vl_msg_id"
716             ],
717             [
718                 "u32",
719                 "context"
720             ],
721             [
722                 "i32",
723                 "retval"
724             ],
725             {
726                 "crc": "0xe8d4e804"
727             }
728         ],
729         [
730             "ikev2_initiate_rekey_child_sa",
731             [
732                 "u16",
733                 "_vl_msg_id"
734             ],
735             [
736                 "u32",
737                 "client_index"
738             ],
739             [
740                 "u32",
741                 "context"
742             ],
743             [
744                 "u32",
745                 "ispi"
746             ],
747             {
748                 "crc": "0x7f004d2e"
749             }
750         ],
751         [
752             "ikev2_initiate_rekey_child_sa_reply",
753             [
754                 "u16",
755                 "_vl_msg_id"
756             ],
757             [
758                 "u32",
759                 "context"
760             ],
761             [
762                 "i32",
763                 "retval"
764             ],
765             {
766                 "crc": "0xe8d4e804"
767             }
768         ]
769     ],
770     "unions": [
771         [
772             "address_union",
773             [
774                 "vl_api_ip4_address_t",
775                 "ip4"
776             ],
777             [
778                 "vl_api_ip6_address_t",
779                 "ip6"
780             ]
781         ]
782     ],
783     "enums": [
784         [
785             "address_family",
786             [
787                 "ADDRESS_IP4",
788                 0
789             ],
790             [
791                 "ADDRESS_IP6",
792                 1
793             ],
794             {
795                 "enumtype": "u32"
796             }
797         ],
798         [
799             "ip_ecn",
800             [
801                 "IP_API_ECN_NONE",
802                 0
803             ],
804             [
805                 "IP_API_ECN_ECT0",
806                 1
807             ],
808             [
809                 "IP_API_ECN_ECT1",
810                 2
811             ],
812             [
813                 "IP_API_ECN_CE",
814                 3
815             ],
816             {
817                 "enumtype": "u8"
818             }
819         ],
820         [
821             "ip_dscp",
822             [
823                 "IP_API_DSCP_CS0",
824                 0
825             ],
826             [
827                 "IP_API_DSCP_CS1",
828                 8
829             ],
830             [
831                 "IP_API_DSCP_AF11",
832                 10
833             ],
834             [
835                 "IP_API_DSCP_AF12",
836                 12
837             ],
838             [
839                 "IP_API_DSCP_AF13",
840                 14
841             ],
842             [
843                 "IP_API_DSCP_CS2",
844                 16
845             ],
846             [
847                 "IP_API_DSCP_AF21",
848                 18
849             ],
850             [
851                 "IP_API_DSCP_AF22",
852                 20
853             ],
854             [
855                 "IP_API_DSCP_AF23",
856                 22
857             ],
858             [
859                 "IP_API_DSCP_CS3",
860                 24
861             ],
862             [
863                 "IP_API_DSCP_AF31",
864                 26
865             ],
866             [
867                 "IP_API_DSCP_AF32",
868                 28
869             ],
870             [
871                 "IP_API_DSCP_AF33",
872                 30
873             ],
874             [
875                 "IP_API_DSCP_CS4",
876                 32
877             ],
878             [
879                 "IP_API_DSCP_AF41",
880                 34
881             ],
882             [
883                 "IP_API_DSCP_AF42",
884                 36
885             ],
886             [
887                 "IP_API_DSCP_AF43",
888                 38
889             ],
890             [
891                 "IP_API_DSCP_CS5",
892                 40
893             ],
894             [
895                 "IP_API_DSCP_EF",
896                 46
897             ],
898             [
899                 "IP_API_DSCP_CS6",
900                 48
901             ],
902             [
903                 "IP_API_DSCP_CS7",
904                 50
905             ],
906             {
907                 "enumtype": "u8"
908             }
909         ],
910         [
911             "ip_proto",
912             [
913                 "IP_API_PROTO_HOPOPT",
914                 0
915             ],
916             [
917                 "IP_API_PROTO_ICMP",
918                 1
919             ],
920             [
921                 "IP_API_PROTO_IGMP",
922                 2
923             ],
924             [
925                 "IP_API_PROTO_TCP",
926                 6
927             ],
928             [
929                 "IP_API_PROTO_UDP",
930                 17
931             ],
932             [
933                 "IP_API_PROTO_GRE",
934                 47
935             ],
936             [
937                 "IP_API_PROTO_AH",
938                 50
939             ],
940             [
941                 "IP_API_PROTO_ESP",
942                 51
943             ],
944             [
945                 "IP_API_PROTO_EIGRP",
946                 88
947             ],
948             [
949                 "IP_API_PROTO_OSPF",
950                 89
951             ],
952             [
953                 "IP_API_PROTO_SCTP",
954                 132
955             ],
956             [
957                 "IP_API_PROTO_RESERVED",
958                 255
959             ],
960             {
961                 "enumtype": "u32"
962             }
963         ],
964         [
965             "if_status_flags",
966             [
967                 "IF_STATUS_API_FLAG_ADMIN_UP",
968                 1
969             ],
970             [
971                 "IF_STATUS_API_FLAG_LINK_UP",
972                 2
973             ],
974             {
975                 "enumtype": "u32"
976             }
977         ],
978         [
979             "mtu_proto",
980             [
981                 "MTU_PROTO_API_L3",
982                 1
983             ],
984             [
985                 "MTU_PROTO_API_IP4",
986                 2
987             ],
988             [
989                 "MTU_PROTO_API_IP6",
990                 3
991             ],
992             [
993                 "MTU_PROTO_API_MPLS",
994                 4
995             ],
996             [
997                 "MTU_PROTO_API_N",
998                 5
999             ],
1000             {
1001                 "enumtype": "u32"
1002             }
1003         ],
1004         [
1005             "link_duplex",
1006             [
1007                 "LINK_DUPLEX_API_UNKNOWN",
1008                 0
1009             ],
1010             [
1011                 "LINK_DUPLEX_API_HALF",
1012                 1
1013             ],
1014             [
1015                 "LINK_DUPLEX_API_FULL",
1016                 2
1017             ],
1018             {
1019                 "enumtype": "u32"
1020             }
1021         ],
1022         [
1023             "sub_if_flags",
1024             [
1025                 "SUB_IF_API_FLAG_NO_TAGS",
1026                 1
1027             ],
1028             [
1029                 "SUB_IF_API_FLAG_ONE_TAG",
1030                 2
1031             ],
1032             [
1033                 "SUB_IF_API_FLAG_TWO_TAGS",
1034                 4
1035             ],
1036             [
1037                 "SUB_IF_API_FLAG_DOT1AD",
1038                 8
1039             ],
1040             [
1041                 "SUB_IF_API_FLAG_EXACT_MATCH",
1042                 16
1043             ],
1044             [
1045                 "SUB_IF_API_FLAG_DEFAULT",
1046                 32
1047             ],
1048             [
1049                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
1050                 64
1051             ],
1052             [
1053                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
1054                 128
1055             ],
1056             [
1057                 "SUB_IF_API_FLAG_MASK_VNET",
1058                 254
1059             ],
1060             [
1061                 "SUB_IF_API_FLAG_DOT1AH",
1062                 256
1063             ],
1064             {
1065                 "enumtype": "u32"
1066             }
1067         ],
1068         [
1069             "rx_mode",
1070             [
1071                 "RX_MODE_API_UNKNOWN",
1072                 0
1073             ],
1074             [
1075                 "RX_MODE_API_POLLING",
1076                 1
1077             ],
1078             [
1079                 "RX_MODE_API_INTERRUPT",
1080                 2
1081             ],
1082             [
1083                 "RX_MODE_API_ADAPTIVE",
1084                 3
1085             ],
1086             [
1087                 "RX_MODE_API_DEFAULT",
1088                 4
1089             ],
1090             {
1091                 "enumtype": "u32"
1092             }
1093         ],
1094         [
1095             "if_type",
1096             [
1097                 "IF_API_TYPE_HARDWARE",
1098                 1
1099             ],
1100             [
1101                 "IF_API_TYPE_SUB",
1102                 2
1103             ],
1104             [
1105                 "IF_API_TYPE_P2P",
1106                 3
1107             ],
1108             [
1109                 "IF_API_TYPE_PIPE",
1110                 4
1111             ],
1112             {
1113                 "enumtype": "u32"
1114             }
1115         ]
1116     ],
1117     "services": {
1118         "ikev2_plugin_get_version": {
1119             "reply": "ikev2_plugin_get_version_reply"
1120         },
1121         "ikev2_profile_add_del": {
1122             "reply": "ikev2_profile_add_del_reply"
1123         },
1124         "ikev2_profile_set_auth": {
1125             "reply": "ikev2_profile_set_auth_reply"
1126         },
1127         "ikev2_profile_set_id": {
1128             "reply": "ikev2_profile_set_id_reply"
1129         },
1130         "ikev2_profile_set_ts": {
1131             "reply": "ikev2_profile_set_ts_reply"
1132         },
1133         "ikev2_set_local_key": {
1134             "reply": "ikev2_set_local_key_reply"
1135         },
1136         "ikev2_set_responder": {
1137             "reply": "ikev2_set_responder_reply"
1138         },
1139         "ikev2_set_ike_transforms": {
1140             "reply": "ikev2_set_ike_transforms_reply"
1141         },
1142         "ikev2_set_esp_transforms": {
1143             "reply": "ikev2_set_esp_transforms_reply"
1144         },
1145         "ikev2_set_sa_lifetime": {
1146             "reply": "ikev2_set_sa_lifetime_reply"
1147         },
1148         "ikev2_initiate_sa_init": {
1149             "reply": "ikev2_initiate_sa_init_reply"
1150         },
1151         "ikev2_initiate_del_ike_sa": {
1152             "reply": "ikev2_initiate_del_ike_sa_reply"
1153         },
1154         "ikev2_initiate_del_child_sa": {
1155             "reply": "ikev2_initiate_del_child_sa_reply"
1156         },
1157         "ikev2_initiate_rekey_child_sa": {
1158             "reply": "ikev2_initiate_rekey_child_sa_reply"
1159         }
1160     },
1161     "options": {
1162         "version": "1.0.1"
1163     },
1164     "aliases": {
1165         "ip4_address": {
1166             "type": "u8",
1167             "length": 4
1168         },
1169         "ip6_address": {
1170             "type": "u8",
1171             "length": 16
1172         },
1173         "address_with_prefix": {
1174             "type": "vl_api_prefix_t"
1175         },
1176         "ip4_address_with_prefix": {
1177             "type": "vl_api_ip4_prefix_t"
1178         },
1179         "ip6_address_with_prefix": {
1180             "type": "vl_api_ip6_prefix_t"
1181         },
1182         "interface_index": {
1183             "type": "u32"
1184         }
1185     },
1186     "vl_api_version": "0x4eab5d22"
1187 }