Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / classify.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "classify_add_del_table",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "bool",
20                 "is_add"
21             ],
22             [
23                 "bool",
24                 "del_chain"
25             ],
26             [
27                 "u32",
28                 "table_index",
29                 {
30                     "default": 4294967295
31                 }
32             ],
33             [
34                 "u32",
35                 "nbuckets",
36                 {
37                     "default": 2
38                 }
39             ],
40             [
41                 "u32",
42                 "memory_size",
43                 {
44                     "default": 2097152
45                 }
46             ],
47             [
48                 "u32",
49                 "skip_n_vectors",
50                 {
51                     "default": 0
52                 }
53             ],
54             [
55                 "u32",
56                 "match_n_vectors",
57                 {
58                     "default": 1
59                 }
60             ],
61             [
62                 "u32",
63                 "next_table_index",
64                 {
65                     "default": 4294967295
66                 }
67             ],
68             [
69                 "u32",
70                 "miss_next_index",
71                 {
72                     "default": 4294967295
73                 }
74             ],
75             [
76                 "u8",
77                 "current_data_flag",
78                 {
79                     "default": 0
80                 }
81             ],
82             [
83                 "i16",
84                 "current_data_offset",
85                 {
86                     "default": 0
87                 }
88             ],
89             [
90                 "u32",
91                 "mask_len"
92             ],
93             [
94                 "u8",
95                 "mask",
96                 0,
97                 "mask_len"
98             ],
99             {
100                 "crc": "0x6849e39e"
101             }
102         ],
103         [
104             "classify_add_del_table_reply",
105             [
106                 "u16",
107                 "_vl_msg_id"
108             ],
109             [
110                 "u32",
111                 "context"
112             ],
113             [
114                 "i32",
115                 "retval"
116             ],
117             [
118                 "u32",
119                 "new_table_index"
120             ],
121             [
122                 "u32",
123                 "skip_n_vectors"
124             ],
125             [
126                 "u32",
127                 "match_n_vectors"
128             ],
129             {
130                 "crc": "0x05486349"
131             }
132         ],
133         [
134             "classify_add_del_session",
135             [
136                 "u16",
137                 "_vl_msg_id"
138             ],
139             [
140                 "u32",
141                 "client_index"
142             ],
143             [
144                 "u32",
145                 "context"
146             ],
147             [
148                 "bool",
149                 "is_add"
150             ],
151             [
152                 "u32",
153                 "table_index"
154             ],
155             [
156                 "u32",
157                 "hit_next_index",
158                 {
159                     "default": 4294967295
160                 }
161             ],
162             [
163                 "u32",
164                 "opaque_index",
165                 {
166                     "default": 4294967295
167                 }
168             ],
169             [
170                 "i32",
171                 "advance",
172                 {
173                     "default": 0
174                 }
175             ],
176             [
177                 "vl_api_classify_action_t",
178                 "action",
179                 {
180                     "default": 0
181                 }
182             ],
183             [
184                 "u32",
185                 "metadata",
186                 {
187                     "default": 0
188                 }
189             ],
190             [
191                 "u32",
192                 "match_len"
193             ],
194             [
195                 "u8",
196                 "match",
197                 0,
198                 "match_len"
199             ],
200             {
201                 "crc": "0xf20879f0"
202             }
203         ],
204         [
205             "classify_add_del_session_reply",
206             [
207                 "u16",
208                 "_vl_msg_id"
209             ],
210             [
211                 "u32",
212                 "context"
213             ],
214             [
215                 "i32",
216                 "retval"
217             ],
218             {
219                 "crc": "0xe8d4e804"
220             }
221         ],
222         [
223             "policer_classify_set_interface",
224             [
225                 "u16",
226                 "_vl_msg_id"
227             ],
228             [
229                 "u32",
230                 "client_index"
231             ],
232             [
233                 "u32",
234                 "context"
235             ],
236             [
237                 "vl_api_interface_index_t",
238                 "sw_if_index"
239             ],
240             [
241                 "u32",
242                 "ip4_table_index"
243             ],
244             [
245                 "u32",
246                 "ip6_table_index"
247             ],
248             [
249                 "u32",
250                 "l2_table_index"
251             ],
252             [
253                 "bool",
254                 "is_add"
255             ],
256             {
257                 "crc": "0xde7ad708"
258             }
259         ],
260         [
261             "policer_classify_set_interface_reply",
262             [
263                 "u16",
264                 "_vl_msg_id"
265             ],
266             [
267                 "u32",
268                 "context"
269             ],
270             [
271                 "i32",
272                 "retval"
273             ],
274             {
275                 "crc": "0xe8d4e804"
276             }
277         ],
278         [
279             "policer_classify_dump",
280             [
281                 "u16",
282                 "_vl_msg_id"
283             ],
284             [
285                 "u32",
286                 "client_index"
287             ],
288             [
289                 "u32",
290                 "context"
291             ],
292             [
293                 "vl_api_policer_classify_table_t",
294                 "type"
295             ],
296             [
297                 "vl_api_interface_index_t",
298                 "sw_if_index"
299             ],
300             {
301                 "crc": "0x6bfe6603"
302             }
303         ],
304         [
305             "policer_classify_details",
306             [
307                 "u16",
308                 "_vl_msg_id"
309             ],
310             [
311                 "u32",
312                 "context"
313             ],
314             [
315                 "vl_api_interface_index_t",
316                 "sw_if_index"
317             ],
318             [
319                 "u32",
320                 "table_index"
321             ],
322             {
323                 "crc": "0xdfd08765"
324             }
325         ],
326         [
327             "classify_table_ids",
328             [
329                 "u16",
330                 "_vl_msg_id"
331             ],
332             [
333                 "u32",
334                 "client_index"
335             ],
336             [
337                 "u32",
338                 "context"
339             ],
340             {
341                 "crc": "0x51077d14"
342             }
343         ],
344         [
345             "classify_table_ids_reply",
346             [
347                 "u16",
348                 "_vl_msg_id"
349             ],
350             [
351                 "u32",
352                 "context"
353             ],
354             [
355                 "i32",
356                 "retval"
357             ],
358             [
359                 "u32",
360                 "count"
361             ],
362             [
363                 "u32",
364                 "ids",
365                 0,
366                 "count"
367             ],
368             {
369                 "crc": "0xd1d20e1d"
370             }
371         ],
372         [
373             "classify_table_by_interface",
374             [
375                 "u16",
376                 "_vl_msg_id"
377             ],
378             [
379                 "u32",
380                 "client_index"
381             ],
382             [
383                 "u32",
384                 "context"
385             ],
386             [
387                 "vl_api_interface_index_t",
388                 "sw_if_index"
389             ],
390             {
391                 "crc": "0xf9e6675e"
392             }
393         ],
394         [
395             "classify_table_by_interface_reply",
396             [
397                 "u16",
398                 "_vl_msg_id"
399             ],
400             [
401                 "u32",
402                 "context"
403             ],
404             [
405                 "i32",
406                 "retval"
407             ],
408             [
409                 "vl_api_interface_index_t",
410                 "sw_if_index"
411             ],
412             [
413                 "u32",
414                 "l2_table_id"
415             ],
416             [
417                 "u32",
418                 "ip4_table_id"
419             ],
420             [
421                 "u32",
422                 "ip6_table_id"
423             ],
424             {
425                 "crc": "0xed4197db"
426             }
427         ],
428         [
429             "classify_table_info",
430             [
431                 "u16",
432                 "_vl_msg_id"
433             ],
434             [
435                 "u32",
436                 "client_index"
437             ],
438             [
439                 "u32",
440                 "context"
441             ],
442             [
443                 "u32",
444                 "table_id"
445             ],
446             {
447                 "crc": "0x0cca2cd9"
448             }
449         ],
450         [
451             "classify_table_info_reply",
452             [
453                 "u16",
454                 "_vl_msg_id"
455             ],
456             [
457                 "u32",
458                 "context"
459             ],
460             [
461                 "i32",
462                 "retval"
463             ],
464             [
465                 "u32",
466                 "table_id"
467             ],
468             [
469                 "u32",
470                 "nbuckets"
471             ],
472             [
473                 "u32",
474                 "match_n_vectors"
475             ],
476             [
477                 "u32",
478                 "skip_n_vectors"
479             ],
480             [
481                 "u32",
482                 "active_sessions"
483             ],
484             [
485                 "u32",
486                 "next_table_index"
487             ],
488             [
489                 "u32",
490                 "miss_next_index"
491             ],
492             [
493                 "u32",
494                 "mask_length"
495             ],
496             [
497                 "u8",
498                 "mask",
499                 0,
500                 "mask_length"
501             ],
502             {
503                 "crc": "0x4a573c0e"
504             }
505         ],
506         [
507             "classify_session_dump",
508             [
509                 "u16",
510                 "_vl_msg_id"
511             ],
512             [
513                 "u32",
514                 "client_index"
515             ],
516             [
517                 "u32",
518                 "context"
519             ],
520             [
521                 "u32",
522                 "table_id"
523             ],
524             {
525                 "crc": "0x0cca2cd9"
526             }
527         ],
528         [
529             "classify_session_details",
530             [
531                 "u16",
532                 "_vl_msg_id"
533             ],
534             [
535                 "u32",
536                 "context"
537             ],
538             [
539                 "i32",
540                 "retval"
541             ],
542             [
543                 "u32",
544                 "table_id"
545             ],
546             [
547                 "u32",
548                 "hit_next_index"
549             ],
550             [
551                 "i32",
552                 "advance"
553             ],
554             [
555                 "u32",
556                 "opaque_index"
557             ],
558             [
559                 "u32",
560                 "match_length"
561             ],
562             [
563                 "u8",
564                 "match",
565                 0,
566                 "match_length"
567             ],
568             {
569                 "crc": "0x60e3ef94"
570             }
571         ],
572         [
573             "flow_classify_set_interface",
574             [
575                 "u16",
576                 "_vl_msg_id"
577             ],
578             [
579                 "u32",
580                 "client_index"
581             ],
582             [
583                 "u32",
584                 "context"
585             ],
586             [
587                 "vl_api_interface_index_t",
588                 "sw_if_index"
589             ],
590             [
591                 "u32",
592                 "ip4_table_index"
593             ],
594             [
595                 "u32",
596                 "ip6_table_index"
597             ],
598             [
599                 "bool",
600                 "is_add"
601             ],
602             {
603                 "crc": "0xb6192f1c"
604             }
605         ],
606         [
607             "flow_classify_set_interface_reply",
608             [
609                 "u16",
610                 "_vl_msg_id"
611             ],
612             [
613                 "u32",
614                 "context"
615             ],
616             [
617                 "i32",
618                 "retval"
619             ],
620             {
621                 "crc": "0xe8d4e804"
622             }
623         ],
624         [
625             "flow_classify_dump",
626             [
627                 "u16",
628                 "_vl_msg_id"
629             ],
630             [
631                 "u32",
632                 "client_index"
633             ],
634             [
635                 "u32",
636                 "context"
637             ],
638             [
639                 "vl_api_flow_classify_table_t",
640                 "type"
641             ],
642             [
643                 "vl_api_interface_index_t",
644                 "sw_if_index"
645             ],
646             {
647                 "crc": "0x8a6ad43d"
648             }
649         ],
650         [
651             "flow_classify_details",
652             [
653                 "u16",
654                 "_vl_msg_id"
655             ],
656             [
657                 "u32",
658                 "context"
659             ],
660             [
661                 "vl_api_interface_index_t",
662                 "sw_if_index"
663             ],
664             [
665                 "u32",
666                 "table_index"
667             ],
668             {
669                 "crc": "0xdfd08765"
670             }
671         ],
672         [
673             "classify_set_interface_ip_table",
674             [
675                 "u16",
676                 "_vl_msg_id"
677             ],
678             [
679                 "u32",
680                 "client_index"
681             ],
682             [
683                 "u32",
684                 "context"
685             ],
686             [
687                 "bool",
688                 "is_ipv6"
689             ],
690             [
691                 "vl_api_interface_index_t",
692                 "sw_if_index"
693             ],
694             [
695                 "u32",
696                 "table_index"
697             ],
698             {
699                 "crc": "0xe0b097c7"
700             }
701         ],
702         [
703             "classify_set_interface_ip_table_reply",
704             [
705                 "u16",
706                 "_vl_msg_id"
707             ],
708             [
709                 "u32",
710                 "context"
711             ],
712             [
713                 "i32",
714                 "retval"
715             ],
716             {
717                 "crc": "0xe8d4e804"
718             }
719         ],
720         [
721             "classify_set_interface_l2_tables",
722             [
723                 "u16",
724                 "_vl_msg_id"
725             ],
726             [
727                 "u32",
728                 "client_index"
729             ],
730             [
731                 "u32",
732                 "context"
733             ],
734             [
735                 "vl_api_interface_index_t",
736                 "sw_if_index"
737             ],
738             [
739                 "u32",
740                 "ip4_table_index"
741             ],
742             [
743                 "u32",
744                 "ip6_table_index"
745             ],
746             [
747                 "u32",
748                 "other_table_index"
749             ],
750             [
751                 "bool",
752                 "is_input"
753             ],
754             {
755                 "crc": "0x5a6ddf65"
756             }
757         ],
758         [
759             "classify_set_interface_l2_tables_reply",
760             [
761                 "u16",
762                 "_vl_msg_id"
763             ],
764             [
765                 "u32",
766                 "context"
767             ],
768             [
769                 "i32",
770                 "retval"
771             ],
772             {
773                 "crc": "0xe8d4e804"
774             }
775         ],
776         [
777             "input_acl_set_interface",
778             [
779                 "u16",
780                 "_vl_msg_id"
781             ],
782             [
783                 "u32",
784                 "client_index"
785             ],
786             [
787                 "u32",
788                 "context"
789             ],
790             [
791                 "vl_api_interface_index_t",
792                 "sw_if_index"
793             ],
794             [
795                 "u32",
796                 "ip4_table_index"
797             ],
798             [
799                 "u32",
800                 "ip6_table_index"
801             ],
802             [
803                 "u32",
804                 "l2_table_index"
805             ],
806             [
807                 "bool",
808                 "is_add"
809             ],
810             {
811                 "crc": "0xde7ad708"
812             }
813         ],
814         [
815             "input_acl_set_interface_reply",
816             [
817                 "u16",
818                 "_vl_msg_id"
819             ],
820             [
821                 "u32",
822                 "context"
823             ],
824             [
825                 "i32",
826                 "retval"
827             ],
828             {
829                 "crc": "0xe8d4e804"
830             }
831         ],
832         [
833             "output_acl_set_interface",
834             [
835                 "u16",
836                 "_vl_msg_id"
837             ],
838             [
839                 "u32",
840                 "client_index"
841             ],
842             [
843                 "u32",
844                 "context"
845             ],
846             [
847                 "vl_api_interface_index_t",
848                 "sw_if_index"
849             ],
850             [
851                 "u32",
852                 "ip4_table_index"
853             ],
854             [
855                 "u32",
856                 "ip6_table_index"
857             ],
858             [
859                 "u32",
860                 "l2_table_index"
861             ],
862             [
863                 "bool",
864                 "is_add"
865             ],
866             {
867                 "crc": "0xde7ad708"
868             }
869         ],
870         [
871             "output_acl_set_interface_reply",
872             [
873                 "u16",
874                 "_vl_msg_id"
875             ],
876             [
877                 "u32",
878                 "context"
879             ],
880             [
881                 "i32",
882                 "retval"
883             ],
884             {
885                 "crc": "0xe8d4e804"
886             }
887         ]
888     ],
889     "unions": [],
890     "enums": [
891         [
892             "if_status_flags",
893             [
894                 "IF_STATUS_API_FLAG_ADMIN_UP",
895                 1
896             ],
897             [
898                 "IF_STATUS_API_FLAG_LINK_UP",
899                 2
900             ],
901             {
902                 "enumtype": "u32"
903             }
904         ],
905         [
906             "mtu_proto",
907             [
908                 "MTU_PROTO_API_L3",
909                 1
910             ],
911             [
912                 "MTU_PROTO_API_IP4",
913                 2
914             ],
915             [
916                 "MTU_PROTO_API_IP6",
917                 3
918             ],
919             [
920                 "MTU_PROTO_API_MPLS",
921                 4
922             ],
923             [
924                 "MTU_PROTO_API_N",
925                 5
926             ],
927             {
928                 "enumtype": "u32"
929             }
930         ],
931         [
932             "link_duplex",
933             [
934                 "LINK_DUPLEX_API_UNKNOWN",
935                 0
936             ],
937             [
938                 "LINK_DUPLEX_API_HALF",
939                 1
940             ],
941             [
942                 "LINK_DUPLEX_API_FULL",
943                 2
944             ],
945             {
946                 "enumtype": "u32"
947             }
948         ],
949         [
950             "sub_if_flags",
951             [
952                 "SUB_IF_API_FLAG_NO_TAGS",
953                 1
954             ],
955             [
956                 "SUB_IF_API_FLAG_ONE_TAG",
957                 2
958             ],
959             [
960                 "SUB_IF_API_FLAG_TWO_TAGS",
961                 4
962             ],
963             [
964                 "SUB_IF_API_FLAG_DOT1AD",
965                 8
966             ],
967             [
968                 "SUB_IF_API_FLAG_EXACT_MATCH",
969                 16
970             ],
971             [
972                 "SUB_IF_API_FLAG_DEFAULT",
973                 32
974             ],
975             [
976                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
977                 64
978             ],
979             [
980                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
981                 128
982             ],
983             [
984                 "SUB_IF_API_FLAG_MASK_VNET",
985                 254
986             ],
987             [
988                 "SUB_IF_API_FLAG_DOT1AH",
989                 256
990             ],
991             {
992                 "enumtype": "u32"
993             }
994         ],
995         [
996             "rx_mode",
997             [
998                 "RX_MODE_API_UNKNOWN",
999                 0
1000             ],
1001             [
1002                 "RX_MODE_API_POLLING",
1003                 1
1004             ],
1005             [
1006                 "RX_MODE_API_INTERRUPT",
1007                 2
1008             ],
1009             [
1010                 "RX_MODE_API_ADAPTIVE",
1011                 3
1012             ],
1013             [
1014                 "RX_MODE_API_DEFAULT",
1015                 4
1016             ],
1017             {
1018                 "enumtype": "u32"
1019             }
1020         ],
1021         [
1022             "if_type",
1023             [
1024                 "IF_API_TYPE_HARDWARE",
1025                 1
1026             ],
1027             [
1028                 "IF_API_TYPE_SUB",
1029                 2
1030             ],
1031             [
1032                 "IF_API_TYPE_P2P",
1033                 3
1034             ],
1035             [
1036                 "IF_API_TYPE_PIPE",
1037                 4
1038             ],
1039             {
1040                 "enumtype": "u32"
1041             }
1042         ],
1043         [
1044             "classify_action",
1045             [
1046                 "CLASSIFY_API_ACTION_NONE",
1047                 0
1048             ],
1049             [
1050                 "CLASSIFY_API_ACTION_SET_IP4_FIB_INDEX",
1051                 1
1052             ],
1053             [
1054                 "CLASSIFY_API_ACTION_SET_IP6_FIB_INDEX",
1055                 2
1056             ],
1057             [
1058                 "CLASSIFY_API_ACTION_SET_METADATA",
1059                 3
1060             ],
1061             {
1062                 "enumtype": "u8"
1063             }
1064         ],
1065         [
1066             "policer_classify_table",
1067             [
1068                 "POLICER_CLASSIFY_API_TABLE_IP4",
1069                 1
1070             ],
1071             [
1072                 "POLICER_CLASSIFY_API_TABLE_IP6",
1073                 2
1074             ],
1075             [
1076                 "POLICER_CLASSIFY_API_TABLE_L2",
1077                 3
1078             ],
1079             {
1080                 "enumtype": "u8"
1081             }
1082         ],
1083         [
1084             "flow_classify_table",
1085             [
1086                 "FLOW_CLASSIFY_API_TABLE_IP4",
1087                 1
1088             ],
1089             [
1090                 "FLOW_CLASSIFY_API_TABLE_IP6",
1091                 2
1092             ],
1093             {
1094                 "enumtype": "u8"
1095             }
1096         ]
1097     ],
1098     "services": {
1099         "classify_add_del_table": {
1100             "reply": "classify_add_del_table_reply"
1101         },
1102         "classify_add_del_session": {
1103             "reply": "classify_add_del_session_reply"
1104         },
1105         "policer_classify_set_interface": {
1106             "reply": "policer_classify_set_interface_reply"
1107         },
1108         "policer_classify_dump": {
1109             "reply": "policer_classify_details",
1110             "stream": true
1111         },
1112         "classify_table_ids": {
1113             "reply": "classify_table_ids_reply"
1114         },
1115         "classify_table_by_interface": {
1116             "reply": "classify_table_by_interface_reply"
1117         },
1118         "classify_table_info": {
1119             "reply": "classify_table_info_reply"
1120         },
1121         "classify_session_dump": {
1122             "reply": "classify_session_details",
1123             "stream": true
1124         },
1125         "flow_classify_set_interface": {
1126             "reply": "flow_classify_set_interface_reply"
1127         },
1128         "flow_classify_dump": {
1129             "reply": "flow_classify_details",
1130             "stream": true
1131         },
1132         "classify_set_interface_ip_table": {
1133             "reply": "classify_set_interface_ip_table_reply"
1134         },
1135         "classify_set_interface_l2_tables": {
1136             "reply": "classify_set_interface_l2_tables_reply"
1137         },
1138         "input_acl_set_interface": {
1139             "reply": "input_acl_set_interface_reply"
1140         },
1141         "output_acl_set_interface": {
1142             "reply": "output_acl_set_interface_reply"
1143         }
1144     },
1145     "options": {
1146         "version": "3.0.0"
1147     },
1148     "aliases": {
1149         "interface_index": {
1150             "type": "u32"
1151         }
1152     },
1153     "vl_api_version": "0x13587952"
1154 }