Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / qos.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             "qos_store",
79             [
80                 "vl_api_interface_index_t",
81                 "sw_if_index"
82             ],
83             [
84                 "vl_api_qos_source_t",
85                 "input_source"
86             ],
87             [
88                 "u8",
89                 "value"
90             ]
91         ],
92         [
93             "qos_record",
94             [
95                 "vl_api_interface_index_t",
96                 "sw_if_index"
97             ],
98             [
99                 "vl_api_qos_source_t",
100                 "input_source"
101             ]
102         ],
103         [
104             "qos_egress_map_row",
105             [
106                 "u8",
107                 "outputs",
108                 256
109             ]
110         ],
111         [
112             "qos_egress_map",
113             [
114                 "u32",
115                 "id"
116             ],
117             [
118                 "vl_api_qos_egress_map_row_t",
119                 "rows",
120                 4
121             ]
122         ],
123         [
124             "qos_mark",
125             [
126                 "u32",
127                 "sw_if_index"
128             ],
129             [
130                 "u32",
131                 "map_id"
132             ],
133             [
134                 "vl_api_qos_source_t",
135                 "output_source"
136             ]
137         ]
138     ],
139     "messages": [
140         [
141             "qos_store_enable_disable",
142             [
143                 "u16",
144                 "_vl_msg_id"
145             ],
146             [
147                 "u32",
148                 "client_index"
149             ],
150             [
151                 "u32",
152                 "context"
153             ],
154             [
155                 "bool",
156                 "enable",
157                 {
158                     "default": "true"
159                 }
160             ],
161             [
162                 "vl_api_qos_store_t",
163                 "store"
164             ],
165             {
166                 "crc": "0x3507235e"
167             }
168         ],
169         [
170             "qos_store_enable_disable_reply",
171             [
172                 "u16",
173                 "_vl_msg_id"
174             ],
175             [
176                 "u32",
177                 "context"
178             ],
179             [
180                 "i32",
181                 "retval"
182             ],
183             {
184                 "crc": "0xe8d4e804"
185             }
186         ],
187         [
188             "qos_store_dump",
189             [
190                 "u16",
191                 "_vl_msg_id"
192             ],
193             [
194                 "u32",
195                 "client_index"
196             ],
197             [
198                 "u32",
199                 "context"
200             ],
201             {
202                 "crc": "0x51077d14"
203             }
204         ],
205         [
206             "qos_store_details",
207             [
208                 "u16",
209                 "_vl_msg_id"
210             ],
211             [
212                 "u32",
213                 "context"
214             ],
215             [
216                 "vl_api_qos_store_t",
217                 "store"
218             ],
219             {
220                 "crc": "0x038a6d48"
221             }
222         ],
223         [
224             "qos_record_enable_disable",
225             [
226                 "u16",
227                 "_vl_msg_id"
228             ],
229             [
230                 "u32",
231                 "client_index"
232             ],
233             [
234                 "u32",
235                 "context"
236             ],
237             [
238                 "bool",
239                 "enable",
240                 {
241                     "default": "true"
242                 }
243             ],
244             [
245                 "vl_api_qos_record_t",
246                 "record"
247             ],
248             {
249                 "crc": "0x25b33f88"
250             }
251         ],
252         [
253             "qos_record_enable_disable_reply",
254             [
255                 "u16",
256                 "_vl_msg_id"
257             ],
258             [
259                 "u32",
260                 "context"
261             ],
262             [
263                 "i32",
264                 "retval"
265             ],
266             {
267                 "crc": "0xe8d4e804"
268             }
269         ],
270         [
271             "qos_record_dump",
272             [
273                 "u16",
274                 "_vl_msg_id"
275             ],
276             [
277                 "u32",
278                 "client_index"
279             ],
280             [
281                 "u32",
282                 "context"
283             ],
284             {
285                 "crc": "0x51077d14"
286             }
287         ],
288         [
289             "qos_record_details",
290             [
291                 "u16",
292                 "_vl_msg_id"
293             ],
294             [
295                 "u32",
296                 "context"
297             ],
298             [
299                 "vl_api_qos_record_t",
300                 "record"
301             ],
302             {
303                 "crc": "0x4956ccdd"
304             }
305         ],
306         [
307             "qos_egress_map_update",
308             [
309                 "u16",
310                 "_vl_msg_id"
311             ],
312             [
313                 "u32",
314                 "client_index"
315             ],
316             [
317                 "u32",
318                 "context"
319             ],
320             [
321                 "vl_api_qos_egress_map_t",
322                 "map"
323             ],
324             {
325                 "crc": "0x6d1c065f"
326             }
327         ],
328         [
329             "qos_egress_map_update_reply",
330             [
331                 "u16",
332                 "_vl_msg_id"
333             ],
334             [
335                 "u32",
336                 "context"
337             ],
338             [
339                 "i32",
340                 "retval"
341             ],
342             {
343                 "crc": "0xe8d4e804"
344             }
345         ],
346         [
347             "qos_egress_map_delete",
348             [
349                 "u16",
350                 "_vl_msg_id"
351             ],
352             [
353                 "u32",
354                 "client_index"
355             ],
356             [
357                 "u32",
358                 "context"
359             ],
360             [
361                 "u32",
362                 "id"
363             ],
364             {
365                 "crc": "0x3a91bde5"
366             }
367         ],
368         [
369             "qos_egress_map_delete_reply",
370             [
371                 "u16",
372                 "_vl_msg_id"
373             ],
374             [
375                 "u32",
376                 "context"
377             ],
378             [
379                 "i32",
380                 "retval"
381             ],
382             {
383                 "crc": "0xe8d4e804"
384             }
385         ],
386         [
387             "qos_egress_map_dump",
388             [
389                 "u16",
390                 "_vl_msg_id"
391             ],
392             [
393                 "u32",
394                 "client_index"
395             ],
396             [
397                 "u32",
398                 "context"
399             ],
400             {
401                 "crc": "0x51077d14"
402             }
403         ],
404         [
405             "qos_egress_map_details",
406             [
407                 "u16",
408                 "_vl_msg_id"
409             ],
410             [
411                 "u32",
412                 "context"
413             ],
414             [
415                 "vl_api_qos_egress_map_t",
416                 "map"
417             ],
418             {
419                 "crc": "0x46c5653c"
420             }
421         ],
422         [
423             "qos_mark_enable_disable",
424             [
425                 "u16",
426                 "_vl_msg_id"
427             ],
428             [
429                 "u32",
430                 "client_index"
431             ],
432             [
433                 "u32",
434                 "context"
435             ],
436             [
437                 "bool",
438                 "enable",
439                 {
440                     "default": "true"
441                 }
442             ],
443             [
444                 "vl_api_qos_mark_t",
445                 "mark"
446             ],
447             {
448                 "crc": "0x1a010f74"
449             }
450         ],
451         [
452             "qos_mark_enable_disable_reply",
453             [
454                 "u16",
455                 "_vl_msg_id"
456             ],
457             [
458                 "u32",
459                 "context"
460             ],
461             [
462                 "i32",
463                 "retval"
464             ],
465             {
466                 "crc": "0xe8d4e804"
467             }
468         ],
469         [
470             "qos_mark_dump",
471             [
472                 "u16",
473                 "_vl_msg_id"
474             ],
475             [
476                 "u32",
477                 "client_index"
478             ],
479             [
480                 "u32",
481                 "context"
482             ],
483             [
484                 "vl_api_interface_index_t",
485                 "sw_if_index"
486             ],
487             {
488                 "crc": "0xf9e6675e"
489             }
490         ],
491         [
492             "qos_mark_details",
493             [
494                 "u16",
495                 "_vl_msg_id"
496             ],
497             [
498                 "u32",
499                 "context"
500             ],
501             [
502                 "vl_api_qos_mark_t",
503                 "mark"
504             ],
505             {
506                 "crc": "0x89fe81a9"
507             }
508         ],
509         [
510             "qos_mark_details_reply",
511             [
512                 "u16",
513                 "_vl_msg_id"
514             ],
515             [
516                 "u32",
517                 "context"
518             ],
519             [
520                 "i32",
521                 "retval"
522             ],
523             {
524                 "crc": "0xe8d4e804"
525             }
526         ]
527     ],
528     "unions": [
529         [
530             "address_union",
531             [
532                 "vl_api_ip4_address_t",
533                 "ip4"
534             ],
535             [
536                 "vl_api_ip6_address_t",
537                 "ip6"
538             ]
539         ]
540     ],
541     "enums": [
542         [
543             "address_family",
544             [
545                 "ADDRESS_IP4",
546                 0
547             ],
548             [
549                 "ADDRESS_IP6",
550                 1
551             ],
552             {
553                 "enumtype": "u32"
554             }
555         ],
556         [
557             "ip_ecn",
558             [
559                 "IP_API_ECN_NONE",
560                 0
561             ],
562             [
563                 "IP_API_ECN_ECT0",
564                 1
565             ],
566             [
567                 "IP_API_ECN_ECT1",
568                 2
569             ],
570             [
571                 "IP_API_ECN_CE",
572                 3
573             ],
574             {
575                 "enumtype": "u8"
576             }
577         ],
578         [
579             "ip_dscp",
580             [
581                 "IP_API_DSCP_CS0",
582                 0
583             ],
584             [
585                 "IP_API_DSCP_CS1",
586                 8
587             ],
588             [
589                 "IP_API_DSCP_AF11",
590                 10
591             ],
592             [
593                 "IP_API_DSCP_AF12",
594                 12
595             ],
596             [
597                 "IP_API_DSCP_AF13",
598                 14
599             ],
600             [
601                 "IP_API_DSCP_CS2",
602                 16
603             ],
604             [
605                 "IP_API_DSCP_AF21",
606                 18
607             ],
608             [
609                 "IP_API_DSCP_AF22",
610                 20
611             ],
612             [
613                 "IP_API_DSCP_AF23",
614                 22
615             ],
616             [
617                 "IP_API_DSCP_CS3",
618                 24
619             ],
620             [
621                 "IP_API_DSCP_AF31",
622                 26
623             ],
624             [
625                 "IP_API_DSCP_AF32",
626                 28
627             ],
628             [
629                 "IP_API_DSCP_AF33",
630                 30
631             ],
632             [
633                 "IP_API_DSCP_CS4",
634                 32
635             ],
636             [
637                 "IP_API_DSCP_AF41",
638                 34
639             ],
640             [
641                 "IP_API_DSCP_AF42",
642                 36
643             ],
644             [
645                 "IP_API_DSCP_AF43",
646                 38
647             ],
648             [
649                 "IP_API_DSCP_CS5",
650                 40
651             ],
652             [
653                 "IP_API_DSCP_EF",
654                 46
655             ],
656             [
657                 "IP_API_DSCP_CS6",
658                 48
659             ],
660             [
661                 "IP_API_DSCP_CS7",
662                 50
663             ],
664             {
665                 "enumtype": "u8"
666             }
667         ],
668         [
669             "ip_proto",
670             [
671                 "IP_API_PROTO_HOPOPT",
672                 0
673             ],
674             [
675                 "IP_API_PROTO_ICMP",
676                 1
677             ],
678             [
679                 "IP_API_PROTO_IGMP",
680                 2
681             ],
682             [
683                 "IP_API_PROTO_TCP",
684                 6
685             ],
686             [
687                 "IP_API_PROTO_UDP",
688                 17
689             ],
690             [
691                 "IP_API_PROTO_GRE",
692                 47
693             ],
694             [
695                 "IP_API_PROTO_AH",
696                 50
697             ],
698             [
699                 "IP_API_PROTO_ESP",
700                 51
701             ],
702             [
703                 "IP_API_PROTO_EIGRP",
704                 88
705             ],
706             [
707                 "IP_API_PROTO_OSPF",
708                 89
709             ],
710             [
711                 "IP_API_PROTO_SCTP",
712                 132
713             ],
714             [
715                 "IP_API_PROTO_RESERVED",
716                 255
717             ],
718             {
719                 "enumtype": "u32"
720             }
721         ],
722         [
723             "if_status_flags",
724             [
725                 "IF_STATUS_API_FLAG_ADMIN_UP",
726                 1
727             ],
728             [
729                 "IF_STATUS_API_FLAG_LINK_UP",
730                 2
731             ],
732             {
733                 "enumtype": "u32"
734             }
735         ],
736         [
737             "mtu_proto",
738             [
739                 "MTU_PROTO_API_L3",
740                 1
741             ],
742             [
743                 "MTU_PROTO_API_IP4",
744                 2
745             ],
746             [
747                 "MTU_PROTO_API_IP6",
748                 3
749             ],
750             [
751                 "MTU_PROTO_API_MPLS",
752                 4
753             ],
754             [
755                 "MTU_PROTO_API_N",
756                 5
757             ],
758             {
759                 "enumtype": "u32"
760             }
761         ],
762         [
763             "link_duplex",
764             [
765                 "LINK_DUPLEX_API_UNKNOWN",
766                 0
767             ],
768             [
769                 "LINK_DUPLEX_API_HALF",
770                 1
771             ],
772             [
773                 "LINK_DUPLEX_API_FULL",
774                 2
775             ],
776             {
777                 "enumtype": "u32"
778             }
779         ],
780         [
781             "sub_if_flags",
782             [
783                 "SUB_IF_API_FLAG_NO_TAGS",
784                 1
785             ],
786             [
787                 "SUB_IF_API_FLAG_ONE_TAG",
788                 2
789             ],
790             [
791                 "SUB_IF_API_FLAG_TWO_TAGS",
792                 4
793             ],
794             [
795                 "SUB_IF_API_FLAG_DOT1AD",
796                 8
797             ],
798             [
799                 "SUB_IF_API_FLAG_EXACT_MATCH",
800                 16
801             ],
802             [
803                 "SUB_IF_API_FLAG_DEFAULT",
804                 32
805             ],
806             [
807                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
808                 64
809             ],
810             [
811                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
812                 128
813             ],
814             [
815                 "SUB_IF_API_FLAG_MASK_VNET",
816                 254
817             ],
818             [
819                 "SUB_IF_API_FLAG_DOT1AH",
820                 256
821             ],
822             {
823                 "enumtype": "u32"
824             }
825         ],
826         [
827             "rx_mode",
828             [
829                 "RX_MODE_API_UNKNOWN",
830                 0
831             ],
832             [
833                 "RX_MODE_API_POLLING",
834                 1
835             ],
836             [
837                 "RX_MODE_API_INTERRUPT",
838                 2
839             ],
840             [
841                 "RX_MODE_API_ADAPTIVE",
842                 3
843             ],
844             [
845                 "RX_MODE_API_DEFAULT",
846                 4
847             ],
848             {
849                 "enumtype": "u32"
850             }
851         ],
852         [
853             "if_type",
854             [
855                 "IF_API_TYPE_HARDWARE",
856                 1
857             ],
858             [
859                 "IF_API_TYPE_SUB",
860                 2
861             ],
862             [
863                 "IF_API_TYPE_P2P",
864                 3
865             ],
866             [
867                 "IF_API_TYPE_PIPE",
868                 4
869             ],
870             {
871                 "enumtype": "u32"
872             }
873         ],
874         [
875             "qos_source",
876             [
877                 "QOS_API_SOURCE_EXT",
878                 0
879             ],
880             [
881                 "QOS_API_SOURCE_VLAN",
882                 1
883             ],
884             [
885                 "QOS_API_SOURCE_MPLS",
886                 2
887             ],
888             [
889                 "QOS_API_SOURCE_IP",
890                 3
891             ],
892             {
893                 "enumtype": "u8"
894             }
895         ]
896     ],
897     "services": {
898         "qos_store_enable_disable": {
899             "reply": "qos_store_enable_disable_reply"
900         },
901         "qos_store_dump": {
902             "reply": "qos_store_details",
903             "stream": true
904         },
905         "qos_record_enable_disable": {
906             "reply": "qos_record_enable_disable_reply"
907         },
908         "qos_record_dump": {
909             "reply": "qos_record_details",
910             "stream": true
911         },
912         "qos_egress_map_update": {
913             "reply": "qos_egress_map_update_reply"
914         },
915         "qos_egress_map_delete": {
916             "reply": "qos_egress_map_delete_reply"
917         },
918         "qos_egress_map_dump": {
919             "reply": "qos_egress_map_details",
920             "stream": true
921         },
922         "qos_mark_enable_disable": {
923             "reply": "qos_mark_enable_disable_reply"
924         },
925         "qos_mark_dump": {
926             "reply": "qos_mark_details",
927             "stream": true
928         }
929     },
930     "options": {
931         "version": "1.1.1"
932     },
933     "aliases": {
934         "ip4_address": {
935             "type": "u8",
936             "length": 4
937         },
938         "ip6_address": {
939             "type": "u8",
940             "length": 16
941         },
942         "address_with_prefix": {
943             "type": "vl_api_prefix_t"
944         },
945         "ip4_address_with_prefix": {
946             "type": "vl_api_ip4_prefix_t"
947         },
948         "ip6_address_with_prefix": {
949             "type": "vl_api_ip6_prefix_t"
950         },
951         "interface_index": {
952             "type": "u32"
953         }
954     },
955     "vl_api_version": "0x86291f7f"
956 }