Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / interface.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             "sw_interface_set_flags",
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_interface_index_t",
95                 "sw_if_index"
96             ],
97             [
98                 "vl_api_if_status_flags_t",
99                 "flags"
100             ],
101             {
102                 "crc": "0x6a2b491a"
103             }
104         ],
105         [
106             "sw_interface_set_flags_reply",
107             [
108                 "u16",
109                 "_vl_msg_id"
110             ],
111             [
112                 "u32",
113                 "context"
114             ],
115             [
116                 "i32",
117                 "retval"
118             ],
119             {
120                 "crc": "0xe8d4e804"
121             }
122         ],
123         [
124             "hw_interface_set_mtu",
125             [
126                 "u16",
127                 "_vl_msg_id"
128             ],
129             [
130                 "u32",
131                 "client_index"
132             ],
133             [
134                 "u32",
135                 "context"
136             ],
137             [
138                 "vl_api_interface_index_t",
139                 "sw_if_index"
140             ],
141             [
142                 "u16",
143                 "mtu"
144             ],
145             {
146                 "crc": "0xe6746899"
147             }
148         ],
149         [
150             "hw_interface_set_mtu_reply",
151             [
152                 "u16",
153                 "_vl_msg_id"
154             ],
155             [
156                 "u32",
157                 "context"
158             ],
159             [
160                 "i32",
161                 "retval"
162             ],
163             {
164                 "crc": "0xe8d4e804"
165             }
166         ],
167         [
168             "sw_interface_set_mtu",
169             [
170                 "u16",
171                 "_vl_msg_id"
172             ],
173             [
174                 "u32",
175                 "client_index"
176             ],
177             [
178                 "u32",
179                 "context"
180             ],
181             [
182                 "vl_api_interface_index_t",
183                 "sw_if_index"
184             ],
185             [
186                 "u32",
187                 "mtu",
188                 4
189             ],
190             {
191                 "crc": "0x5cbe85e5"
192             }
193         ],
194         [
195             "sw_interface_set_mtu_reply",
196             [
197                 "u16",
198                 "_vl_msg_id"
199             ],
200             [
201                 "u32",
202                 "context"
203             ],
204             [
205                 "i32",
206                 "retval"
207             ],
208             {
209                 "crc": "0xe8d4e804"
210             }
211         ],
212         [
213             "sw_interface_set_ip_directed_broadcast",
214             [
215                 "u16",
216                 "_vl_msg_id"
217             ],
218             [
219                 "u32",
220                 "client_index"
221             ],
222             [
223                 "u32",
224                 "context"
225             ],
226             [
227                 "vl_api_interface_index_t",
228                 "sw_if_index"
229             ],
230             [
231                 "bool",
232                 "enable"
233             ],
234             {
235                 "crc": "0xae6cfcfb"
236             }
237         ],
238         [
239             "sw_interface_set_ip_directed_broadcast_reply",
240             [
241                 "u16",
242                 "_vl_msg_id"
243             ],
244             [
245                 "u32",
246                 "context"
247             ],
248             [
249                 "i32",
250                 "retval"
251             ],
252             {
253                 "crc": "0xe8d4e804"
254             }
255         ],
256         [
257             "sw_interface_event",
258             [
259                 "u16",
260                 "_vl_msg_id"
261             ],
262             [
263                 "u32",
264                 "client_index"
265             ],
266             [
267                 "u32",
268                 "pid"
269             ],
270             [
271                 "vl_api_interface_index_t",
272                 "sw_if_index"
273             ],
274             [
275                 "vl_api_if_status_flags_t",
276                 "flags"
277             ],
278             [
279                 "bool",
280                 "deleted"
281             ],
282             {
283                 "crc": "0xf709f78d"
284             }
285         ],
286         [
287             "want_interface_events",
288             [
289                 "u16",
290                 "_vl_msg_id"
291             ],
292             [
293                 "u32",
294                 "client_index"
295             ],
296             [
297                 "u32",
298                 "context"
299             ],
300             [
301                 "u32",
302                 "enable_disable"
303             ],
304             [
305                 "u32",
306                 "pid"
307             ],
308             {
309                 "crc": "0x476f5a08"
310             }
311         ],
312         [
313             "want_interface_events_reply",
314             [
315                 "u16",
316                 "_vl_msg_id"
317             ],
318             [
319                 "u32",
320                 "context"
321             ],
322             [
323                 "i32",
324                 "retval"
325             ],
326             {
327                 "crc": "0xe8d4e804"
328             }
329         ],
330         [
331             "sw_interface_details",
332             [
333                 "u16",
334                 "_vl_msg_id"
335             ],
336             [
337                 "u32",
338                 "context"
339             ],
340             [
341                 "vl_api_interface_index_t",
342                 "sw_if_index"
343             ],
344             [
345                 "u32",
346                 "sup_sw_if_index"
347             ],
348             [
349                 "vl_api_mac_address_t",
350                 "l2_address"
351             ],
352             [
353                 "vl_api_if_status_flags_t",
354                 "flags"
355             ],
356             [
357                 "vl_api_if_type_t",
358                 "type"
359             ],
360             [
361                 "vl_api_link_duplex_t",
362                 "link_duplex"
363             ],
364             [
365                 "u32",
366                 "link_speed"
367             ],
368             [
369                 "u16",
370                 "link_mtu"
371             ],
372             [
373                 "u32",
374                 "mtu",
375                 4
376             ],
377             [
378                 "u32",
379                 "sub_id"
380             ],
381             [
382                 "u8",
383                 "sub_number_of_tags"
384             ],
385             [
386                 "u16",
387                 "sub_outer_vlan_id"
388             ],
389             [
390                 "u16",
391                 "sub_inner_vlan_id"
392             ],
393             [
394                 "vl_api_sub_if_flags_t",
395                 "sub_if_flags"
396             ],
397             [
398                 "u32",
399                 "vtr_op"
400             ],
401             [
402                 "u32",
403                 "vtr_push_dot1q"
404             ],
405             [
406                 "u32",
407                 "vtr_tag1"
408             ],
409             [
410                 "u32",
411                 "vtr_tag2"
412             ],
413             [
414                 "u16",
415                 "outer_tag"
416             ],
417             [
418                 "vl_api_mac_address_t",
419                 "b_dmac"
420             ],
421             [
422                 "vl_api_mac_address_t",
423                 "b_smac"
424             ],
425             [
426                 "u16",
427                 "b_vlanid"
428             ],
429             [
430                 "u32",
431                 "i_sid"
432             ],
433             [
434                 "string",
435                 "interface_name",
436                 64
437             ],
438             [
439                 "string",
440                 "interface_dev_type",
441                 64
442             ],
443             [
444                 "string",
445                 "tag",
446                 64
447             ],
448             {
449                 "crc": "0x17b69fa2"
450             }
451         ],
452         [
453             "sw_interface_dump",
454             [
455                 "u16",
456                 "_vl_msg_id"
457             ],
458             [
459                 "u32",
460                 "client_index"
461             ],
462             [
463                 "u32",
464                 "context"
465             ],
466             [
467                 "vl_api_interface_index_t",
468                 "sw_if_index",
469                 {
470                     "default": 4294967295
471                 }
472             ],
473             [
474                 "bool",
475                 "name_filter_valid"
476             ],
477             [
478                 "string",
479                 "name_filter",
480                 0
481             ],
482             {
483                 "crc": "0xaa610c27"
484             }
485         ],
486         [
487             "sw_interface_add_del_address",
488             [
489                 "u16",
490                 "_vl_msg_id"
491             ],
492             [
493                 "u32",
494                 "client_index"
495             ],
496             [
497                 "u32",
498                 "context"
499             ],
500             [
501                 "vl_api_interface_index_t",
502                 "sw_if_index"
503             ],
504             [
505                 "bool",
506                 "is_add"
507             ],
508             [
509                 "bool",
510                 "del_all"
511             ],
512             [
513                 "vl_api_address_with_prefix_t",
514                 "prefix"
515             ],
516             {
517                 "crc": "0x5803d5c4"
518             }
519         ],
520         [
521             "sw_interface_add_del_address_reply",
522             [
523                 "u16",
524                 "_vl_msg_id"
525             ],
526             [
527                 "u32",
528                 "context"
529             ],
530             [
531                 "i32",
532                 "retval"
533             ],
534             {
535                 "crc": "0xe8d4e804"
536             }
537         ],
538         [
539             "sw_interface_set_table",
540             [
541                 "u16",
542                 "_vl_msg_id"
543             ],
544             [
545                 "u32",
546                 "client_index"
547             ],
548             [
549                 "u32",
550                 "context"
551             ],
552             [
553                 "vl_api_interface_index_t",
554                 "sw_if_index"
555             ],
556             [
557                 "bool",
558                 "is_ipv6"
559             ],
560             [
561                 "u32",
562                 "vrf_id"
563             ],
564             {
565                 "crc": "0xdf42a577"
566             }
567         ],
568         [
569             "sw_interface_set_table_reply",
570             [
571                 "u16",
572                 "_vl_msg_id"
573             ],
574             [
575                 "u32",
576                 "context"
577             ],
578             [
579                 "i32",
580                 "retval"
581             ],
582             {
583                 "crc": "0xe8d4e804"
584             }
585         ],
586         [
587             "sw_interface_get_table",
588             [
589                 "u16",
590                 "_vl_msg_id"
591             ],
592             [
593                 "u32",
594                 "client_index"
595             ],
596             [
597                 "u32",
598                 "context"
599             ],
600             [
601                 "vl_api_interface_index_t",
602                 "sw_if_index"
603             ],
604             [
605                 "bool",
606                 "is_ipv6"
607             ],
608             {
609                 "crc": "0x2d033de4"
610             }
611         ],
612         [
613             "sw_interface_get_table_reply",
614             [
615                 "u16",
616                 "_vl_msg_id"
617             ],
618             [
619                 "u32",
620                 "context"
621             ],
622             [
623                 "i32",
624                 "retval"
625             ],
626             [
627                 "u32",
628                 "vrf_id"
629             ],
630             {
631                 "crc": "0xa6eb0109"
632             }
633         ],
634         [
635             "sw_interface_set_unnumbered",
636             [
637                 "u16",
638                 "_vl_msg_id"
639             ],
640             [
641                 "u32",
642                 "client_index"
643             ],
644             [
645                 "u32",
646                 "context"
647             ],
648             [
649                 "vl_api_interface_index_t",
650                 "sw_if_index"
651             ],
652             [
653                 "vl_api_interface_index_t",
654                 "unnumbered_sw_if_index"
655             ],
656             [
657                 "bool",
658                 "is_add"
659             ],
660             {
661                 "crc": "0x938ef33b"
662             }
663         ],
664         [
665             "sw_interface_set_unnumbered_reply",
666             [
667                 "u16",
668                 "_vl_msg_id"
669             ],
670             [
671                 "u32",
672                 "context"
673             ],
674             [
675                 "i32",
676                 "retval"
677             ],
678             {
679                 "crc": "0xe8d4e804"
680             }
681         ],
682         [
683             "sw_interface_clear_stats",
684             [
685                 "u16",
686                 "_vl_msg_id"
687             ],
688             [
689                 "u32",
690                 "client_index"
691             ],
692             [
693                 "u32",
694                 "context"
695             ],
696             [
697                 "vl_api_interface_index_t",
698                 "sw_if_index"
699             ],
700             {
701                 "crc": "0xf9e6675e"
702             }
703         ],
704         [
705             "sw_interface_clear_stats_reply",
706             [
707                 "u16",
708                 "_vl_msg_id"
709             ],
710             [
711                 "u32",
712                 "context"
713             ],
714             [
715                 "i32",
716                 "retval"
717             ],
718             {
719                 "crc": "0xe8d4e804"
720             }
721         ],
722         [
723             "sw_interface_tag_add_del",
724             [
725                 "u16",
726                 "_vl_msg_id"
727             ],
728             [
729                 "u32",
730                 "client_index"
731             ],
732             [
733                 "u32",
734                 "context"
735             ],
736             [
737                 "bool",
738                 "is_add"
739             ],
740             [
741                 "vl_api_interface_index_t",
742                 "sw_if_index"
743             ],
744             [
745                 "string",
746                 "tag",
747                 64
748             ],
749             {
750                 "crc": "0x426f8bc1"
751             }
752         ],
753         [
754             "sw_interface_tag_add_del_reply",
755             [
756                 "u16",
757                 "_vl_msg_id"
758             ],
759             [
760                 "u32",
761                 "context"
762             ],
763             [
764                 "i32",
765                 "retval"
766             ],
767             {
768                 "crc": "0xe8d4e804"
769             }
770         ],
771         [
772             "sw_interface_add_del_mac_address",
773             [
774                 "u16",
775                 "_vl_msg_id"
776             ],
777             [
778                 "u32",
779                 "client_index"
780             ],
781             [
782                 "u32",
783                 "context"
784             ],
785             [
786                 "u32",
787                 "sw_if_index"
788             ],
789             [
790                 "vl_api_mac_address_t",
791                 "addr"
792             ],
793             [
794                 "u8",
795                 "is_add"
796             ],
797             {
798                 "crc": "0x638bb9f4"
799             }
800         ],
801         [
802             "sw_interface_add_del_mac_address_reply",
803             [
804                 "u16",
805                 "_vl_msg_id"
806             ],
807             [
808                 "u32",
809                 "context"
810             ],
811             [
812                 "i32",
813                 "retval"
814             ],
815             {
816                 "crc": "0xe8d4e804"
817             }
818         ],
819         [
820             "sw_interface_set_mac_address",
821             [
822                 "u16",
823                 "_vl_msg_id"
824             ],
825             [
826                 "u32",
827                 "client_index"
828             ],
829             [
830                 "u32",
831                 "context"
832             ],
833             [
834                 "vl_api_interface_index_t",
835                 "sw_if_index"
836             ],
837             [
838                 "vl_api_mac_address_t",
839                 "mac_address"
840             ],
841             {
842                 "crc": "0x6aca746a"
843             }
844         ],
845         [
846             "sw_interface_set_mac_address_reply",
847             [
848                 "u16",
849                 "_vl_msg_id"
850             ],
851             [
852                 "u32",
853                 "context"
854             ],
855             [
856                 "i32",
857                 "retval"
858             ],
859             {
860                 "crc": "0xe8d4e804"
861             }
862         ],
863         [
864             "sw_interface_get_mac_address",
865             [
866                 "u16",
867                 "_vl_msg_id"
868             ],
869             [
870                 "u32",
871                 "client_index"
872             ],
873             [
874                 "u32",
875                 "context"
876             ],
877             [
878                 "vl_api_interface_index_t",
879                 "sw_if_index"
880             ],
881             {
882                 "crc": "0xf9e6675e"
883             }
884         ],
885         [
886             "sw_interface_get_mac_address_reply",
887             [
888                 "u16",
889                 "_vl_msg_id"
890             ],
891             [
892                 "u32",
893                 "context"
894             ],
895             [
896                 "i32",
897                 "retval"
898             ],
899             [
900                 "vl_api_mac_address_t",
901                 "mac_address"
902             ],
903             {
904                 "crc": "0x40ef2c08"
905             }
906         ],
907         [
908             "sw_interface_set_rx_mode",
909             [
910                 "u16",
911                 "_vl_msg_id"
912             ],
913             [
914                 "u32",
915                 "client_index"
916             ],
917             [
918                 "u32",
919                 "context"
920             ],
921             [
922                 "vl_api_interface_index_t",
923                 "sw_if_index"
924             ],
925             [
926                 "bool",
927                 "queue_id_valid"
928             ],
929             [
930                 "u32",
931                 "queue_id"
932             ],
933             [
934                 "vl_api_rx_mode_t",
935                 "mode"
936             ],
937             {
938                 "crc": "0x780f5cee"
939             }
940         ],
941         [
942             "sw_interface_set_rx_mode_reply",
943             [
944                 "u16",
945                 "_vl_msg_id"
946             ],
947             [
948                 "u32",
949                 "context"
950             ],
951             [
952                 "i32",
953                 "retval"
954             ],
955             {
956                 "crc": "0xe8d4e804"
957             }
958         ],
959         [
960             "sw_interface_set_rx_placement",
961             [
962                 "u16",
963                 "_vl_msg_id"
964             ],
965             [
966                 "u32",
967                 "client_index"
968             ],
969             [
970                 "u32",
971                 "context"
972             ],
973             [
974                 "vl_api_interface_index_t",
975                 "sw_if_index"
976             ],
977             [
978                 "u32",
979                 "queue_id"
980             ],
981             [
982                 "u32",
983                 "worker_id"
984             ],
985             [
986                 "bool",
987                 "is_main"
988             ],
989             {
990                 "crc": "0xdb65f3c9"
991             }
992         ],
993         [
994             "sw_interface_set_rx_placement_reply",
995             [
996                 "u16",
997                 "_vl_msg_id"
998             ],
999             [
1000                 "u32",
1001                 "context"
1002             ],
1003             [
1004                 "i32",
1005                 "retval"
1006             ],
1007             {
1008                 "crc": "0xe8d4e804"
1009             }
1010         ],
1011         [
1012             "sw_interface_rx_placement_dump",
1013             [
1014                 "u16",
1015                 "_vl_msg_id"
1016             ],
1017             [
1018                 "u32",
1019                 "client_index"
1020             ],
1021             [
1022                 "u32",
1023                 "context"
1024             ],
1025             [
1026                 "vl_api_interface_index_t",
1027                 "sw_if_index"
1028             ],
1029             {
1030                 "crc": "0xf9e6675e"
1031             }
1032         ],
1033         [
1034             "sw_interface_rx_placement_details",
1035             [
1036                 "u16",
1037                 "_vl_msg_id"
1038             ],
1039             [
1040                 "u32",
1041                 "client_index"
1042             ],
1043             [
1044                 "u32",
1045                 "context"
1046             ],
1047             [
1048                 "vl_api_interface_index_t",
1049                 "sw_if_index"
1050             ],
1051             [
1052                 "u32",
1053                 "queue_id"
1054             ],
1055             [
1056                 "u32",
1057                 "worker_id"
1058             ],
1059             [
1060                 "vl_api_rx_mode_t",
1061                 "mode"
1062             ],
1063             {
1064                 "crc": "0xf6d7d024"
1065             }
1066         ],
1067         [
1068             "interface_name_renumber",
1069             [
1070                 "u16",
1071                 "_vl_msg_id"
1072             ],
1073             [
1074                 "u32",
1075                 "client_index"
1076             ],
1077             [
1078                 "u32",
1079                 "context"
1080             ],
1081             [
1082                 "vl_api_interface_index_t",
1083                 "sw_if_index"
1084             ],
1085             [
1086                 "u32",
1087                 "new_show_dev_instance"
1088             ],
1089             {
1090                 "crc": "0x2b8858b8"
1091             }
1092         ],
1093         [
1094             "interface_name_renumber_reply",
1095             [
1096                 "u16",
1097                 "_vl_msg_id"
1098             ],
1099             [
1100                 "u32",
1101                 "context"
1102             ],
1103             [
1104                 "i32",
1105                 "retval"
1106             ],
1107             {
1108                 "crc": "0xe8d4e804"
1109             }
1110         ],
1111         [
1112             "create_subif",
1113             [
1114                 "u16",
1115                 "_vl_msg_id"
1116             ],
1117             [
1118                 "u32",
1119                 "client_index"
1120             ],
1121             [
1122                 "u32",
1123                 "context"
1124             ],
1125             [
1126                 "vl_api_interface_index_t",
1127                 "sw_if_index"
1128             ],
1129             [
1130                 "u32",
1131                 "sub_id"
1132             ],
1133             [
1134                 "vl_api_sub_if_flags_t",
1135                 "sub_if_flags"
1136             ],
1137             [
1138                 "u16",
1139                 "outer_vlan_id"
1140             ],
1141             [
1142                 "u16",
1143                 "inner_vlan_id"
1144             ],
1145             {
1146                 "crc": "0xcb371063"
1147             }
1148         ],
1149         [
1150             "create_subif_reply",
1151             [
1152                 "u16",
1153                 "_vl_msg_id"
1154             ],
1155             [
1156                 "u32",
1157                 "context"
1158             ],
1159             [
1160                 "i32",
1161                 "retval"
1162             ],
1163             [
1164                 "vl_api_interface_index_t",
1165                 "sw_if_index"
1166             ],
1167             {
1168                 "crc": "0x5383d31f"
1169             }
1170         ],
1171         [
1172             "create_vlan_subif",
1173             [
1174                 "u16",
1175                 "_vl_msg_id"
1176             ],
1177             [
1178                 "u32",
1179                 "client_index"
1180             ],
1181             [
1182                 "u32",
1183                 "context"
1184             ],
1185             [
1186                 "vl_api_interface_index_t",
1187                 "sw_if_index"
1188             ],
1189             [
1190                 "u32",
1191                 "vlan_id"
1192             ],
1193             {
1194                 "crc": "0xaf34ac8b"
1195             }
1196         ],
1197         [
1198             "create_vlan_subif_reply",
1199             [
1200                 "u16",
1201                 "_vl_msg_id"
1202             ],
1203             [
1204                 "u32",
1205                 "context"
1206             ],
1207             [
1208                 "i32",
1209                 "retval"
1210             ],
1211             [
1212                 "vl_api_interface_index_t",
1213                 "sw_if_index"
1214             ],
1215             {
1216                 "crc": "0x5383d31f"
1217             }
1218         ],
1219         [
1220             "delete_subif",
1221             [
1222                 "u16",
1223                 "_vl_msg_id"
1224             ],
1225             [
1226                 "u32",
1227                 "client_index"
1228             ],
1229             [
1230                 "u32",
1231                 "context"
1232             ],
1233             [
1234                 "vl_api_interface_index_t",
1235                 "sw_if_index"
1236             ],
1237             {
1238                 "crc": "0xf9e6675e"
1239             }
1240         ],
1241         [
1242             "delete_subif_reply",
1243             [
1244                 "u16",
1245                 "_vl_msg_id"
1246             ],
1247             [
1248                 "u32",
1249                 "context"
1250             ],
1251             [
1252                 "i32",
1253                 "retval"
1254             ],
1255             {
1256                 "crc": "0xe8d4e804"
1257             }
1258         ],
1259         [
1260             "create_loopback",
1261             [
1262                 "u16",
1263                 "_vl_msg_id"
1264             ],
1265             [
1266                 "u32",
1267                 "client_index"
1268             ],
1269             [
1270                 "u32",
1271                 "context"
1272             ],
1273             [
1274                 "vl_api_mac_address_t",
1275                 "mac_address"
1276             ],
1277             {
1278                 "crc": "0x42bb5d22"
1279             }
1280         ],
1281         [
1282             "create_loopback_reply",
1283             [
1284                 "u16",
1285                 "_vl_msg_id"
1286             ],
1287             [
1288                 "u32",
1289                 "context"
1290             ],
1291             [
1292                 "i32",
1293                 "retval"
1294             ],
1295             [
1296                 "vl_api_interface_index_t",
1297                 "sw_if_index"
1298             ],
1299             {
1300                 "crc": "0x5383d31f"
1301             }
1302         ],
1303         [
1304             "create_loopback_instance",
1305             [
1306                 "u16",
1307                 "_vl_msg_id"
1308             ],
1309             [
1310                 "u32",
1311                 "client_index"
1312             ],
1313             [
1314                 "u32",
1315                 "context"
1316             ],
1317             [
1318                 "vl_api_mac_address_t",
1319                 "mac_address"
1320             ],
1321             [
1322                 "bool",
1323                 "is_specified"
1324             ],
1325             [
1326                 "u32",
1327                 "user_instance"
1328             ],
1329             {
1330                 "crc": "0xd36a3ee2"
1331             }
1332         ],
1333         [
1334             "create_loopback_instance_reply",
1335             [
1336                 "u16",
1337                 "_vl_msg_id"
1338             ],
1339             [
1340                 "u32",
1341                 "context"
1342             ],
1343             [
1344                 "i32",
1345                 "retval"
1346             ],
1347             [
1348                 "vl_api_interface_index_t",
1349                 "sw_if_index"
1350             ],
1351             {
1352                 "crc": "0x5383d31f"
1353             }
1354         ],
1355         [
1356             "delete_loopback",
1357             [
1358                 "u16",
1359                 "_vl_msg_id"
1360             ],
1361             [
1362                 "u32",
1363                 "client_index"
1364             ],
1365             [
1366                 "u32",
1367                 "context"
1368             ],
1369             [
1370                 "vl_api_interface_index_t",
1371                 "sw_if_index"
1372             ],
1373             {
1374                 "crc": "0xf9e6675e"
1375             }
1376         ],
1377         [
1378             "delete_loopback_reply",
1379             [
1380                 "u16",
1381                 "_vl_msg_id"
1382             ],
1383             [
1384                 "u32",
1385                 "context"
1386             ],
1387             [
1388                 "i32",
1389                 "retval"
1390             ],
1391             {
1392                 "crc": "0xe8d4e804"
1393             }
1394         ],
1395         [
1396             "collect_detailed_interface_stats",
1397             [
1398                 "u16",
1399                 "_vl_msg_id"
1400             ],
1401             [
1402                 "u32",
1403                 "client_index"
1404             ],
1405             [
1406                 "u32",
1407                 "context"
1408             ],
1409             [
1410                 "vl_api_interface_index_t",
1411                 "sw_if_index"
1412             ],
1413             [
1414                 "bool",
1415                 "enable_disable"
1416             ],
1417             {
1418                 "crc": "0x5501adee"
1419             }
1420         ],
1421         [
1422             "collect_detailed_interface_stats_reply",
1423             [
1424                 "u16",
1425                 "_vl_msg_id"
1426             ],
1427             [
1428                 "u32",
1429                 "context"
1430             ],
1431             [
1432                 "i32",
1433                 "retval"
1434             ],
1435             {
1436                 "crc": "0xe8d4e804"
1437             }
1438         ]
1439     ],
1440     "unions": [
1441         [
1442             "address_union",
1443             [
1444                 "vl_api_ip4_address_t",
1445                 "ip4"
1446             ],
1447             [
1448                 "vl_api_ip6_address_t",
1449                 "ip6"
1450             ]
1451         ]
1452     ],
1453     "enums": [
1454         [
1455             "if_status_flags",
1456             [
1457                 "IF_STATUS_API_FLAG_ADMIN_UP",
1458                 1
1459             ],
1460             [
1461                 "IF_STATUS_API_FLAG_LINK_UP",
1462                 2
1463             ],
1464             {
1465                 "enumtype": "u32"
1466             }
1467         ],
1468         [
1469             "mtu_proto",
1470             [
1471                 "MTU_PROTO_API_L3",
1472                 1
1473             ],
1474             [
1475                 "MTU_PROTO_API_IP4",
1476                 2
1477             ],
1478             [
1479                 "MTU_PROTO_API_IP6",
1480                 3
1481             ],
1482             [
1483                 "MTU_PROTO_API_MPLS",
1484                 4
1485             ],
1486             [
1487                 "MTU_PROTO_API_N",
1488                 5
1489             ],
1490             {
1491                 "enumtype": "u32"
1492             }
1493         ],
1494         [
1495             "link_duplex",
1496             [
1497                 "LINK_DUPLEX_API_UNKNOWN",
1498                 0
1499             ],
1500             [
1501                 "LINK_DUPLEX_API_HALF",
1502                 1
1503             ],
1504             [
1505                 "LINK_DUPLEX_API_FULL",
1506                 2
1507             ],
1508             {
1509                 "enumtype": "u32"
1510             }
1511         ],
1512         [
1513             "sub_if_flags",
1514             [
1515                 "SUB_IF_API_FLAG_NO_TAGS",
1516                 1
1517             ],
1518             [
1519                 "SUB_IF_API_FLAG_ONE_TAG",
1520                 2
1521             ],
1522             [
1523                 "SUB_IF_API_FLAG_TWO_TAGS",
1524                 4
1525             ],
1526             [
1527                 "SUB_IF_API_FLAG_DOT1AD",
1528                 8
1529             ],
1530             [
1531                 "SUB_IF_API_FLAG_EXACT_MATCH",
1532                 16
1533             ],
1534             [
1535                 "SUB_IF_API_FLAG_DEFAULT",
1536                 32
1537             ],
1538             [
1539                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
1540                 64
1541             ],
1542             [
1543                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
1544                 128
1545             ],
1546             [
1547                 "SUB_IF_API_FLAG_MASK_VNET",
1548                 254
1549             ],
1550             [
1551                 "SUB_IF_API_FLAG_DOT1AH",
1552                 256
1553             ],
1554             {
1555                 "enumtype": "u32"
1556             }
1557         ],
1558         [
1559             "rx_mode",
1560             [
1561                 "RX_MODE_API_UNKNOWN",
1562                 0
1563             ],
1564             [
1565                 "RX_MODE_API_POLLING",
1566                 1
1567             ],
1568             [
1569                 "RX_MODE_API_INTERRUPT",
1570                 2
1571             ],
1572             [
1573                 "RX_MODE_API_ADAPTIVE",
1574                 3
1575             ],
1576             [
1577                 "RX_MODE_API_DEFAULT",
1578                 4
1579             ],
1580             {
1581                 "enumtype": "u32"
1582             }
1583         ],
1584         [
1585             "if_type",
1586             [
1587                 "IF_API_TYPE_HARDWARE",
1588                 1
1589             ],
1590             [
1591                 "IF_API_TYPE_SUB",
1592                 2
1593             ],
1594             [
1595                 "IF_API_TYPE_P2P",
1596                 3
1597             ],
1598             [
1599                 "IF_API_TYPE_PIPE",
1600                 4
1601             ],
1602             {
1603                 "enumtype": "u32"
1604             }
1605         ],
1606         [
1607             "address_family",
1608             [
1609                 "ADDRESS_IP4",
1610                 0
1611             ],
1612             [
1613                 "ADDRESS_IP6",
1614                 1
1615             ],
1616             {
1617                 "enumtype": "u32"
1618             }
1619         ],
1620         [
1621             "ip_ecn",
1622             [
1623                 "IP_API_ECN_NONE",
1624                 0
1625             ],
1626             [
1627                 "IP_API_ECN_ECT0",
1628                 1
1629             ],
1630             [
1631                 "IP_API_ECN_ECT1",
1632                 2
1633             ],
1634             [
1635                 "IP_API_ECN_CE",
1636                 3
1637             ],
1638             {
1639                 "enumtype": "u8"
1640             }
1641         ],
1642         [
1643             "ip_dscp",
1644             [
1645                 "IP_API_DSCP_CS0",
1646                 0
1647             ],
1648             [
1649                 "IP_API_DSCP_CS1",
1650                 8
1651             ],
1652             [
1653                 "IP_API_DSCP_AF11",
1654                 10
1655             ],
1656             [
1657                 "IP_API_DSCP_AF12",
1658                 12
1659             ],
1660             [
1661                 "IP_API_DSCP_AF13",
1662                 14
1663             ],
1664             [
1665                 "IP_API_DSCP_CS2",
1666                 16
1667             ],
1668             [
1669                 "IP_API_DSCP_AF21",
1670                 18
1671             ],
1672             [
1673                 "IP_API_DSCP_AF22",
1674                 20
1675             ],
1676             [
1677                 "IP_API_DSCP_AF23",
1678                 22
1679             ],
1680             [
1681                 "IP_API_DSCP_CS3",
1682                 24
1683             ],
1684             [
1685                 "IP_API_DSCP_AF31",
1686                 26
1687             ],
1688             [
1689                 "IP_API_DSCP_AF32",
1690                 28
1691             ],
1692             [
1693                 "IP_API_DSCP_AF33",
1694                 30
1695             ],
1696             [
1697                 "IP_API_DSCP_CS4",
1698                 32
1699             ],
1700             [
1701                 "IP_API_DSCP_AF41",
1702                 34
1703             ],
1704             [
1705                 "IP_API_DSCP_AF42",
1706                 36
1707             ],
1708             [
1709                 "IP_API_DSCP_AF43",
1710                 38
1711             ],
1712             [
1713                 "IP_API_DSCP_CS5",
1714                 40
1715             ],
1716             [
1717                 "IP_API_DSCP_EF",
1718                 46
1719             ],
1720             [
1721                 "IP_API_DSCP_CS6",
1722                 48
1723             ],
1724             [
1725                 "IP_API_DSCP_CS7",
1726                 50
1727             ],
1728             {
1729                 "enumtype": "u8"
1730             }
1731         ],
1732         [
1733             "ip_proto",
1734             [
1735                 "IP_API_PROTO_HOPOPT",
1736                 0
1737             ],
1738             [
1739                 "IP_API_PROTO_ICMP",
1740                 1
1741             ],
1742             [
1743                 "IP_API_PROTO_IGMP",
1744                 2
1745             ],
1746             [
1747                 "IP_API_PROTO_TCP",
1748                 6
1749             ],
1750             [
1751                 "IP_API_PROTO_UDP",
1752                 17
1753             ],
1754             [
1755                 "IP_API_PROTO_GRE",
1756                 47
1757             ],
1758             [
1759                 "IP_API_PROTO_AH",
1760                 50
1761             ],
1762             [
1763                 "IP_API_PROTO_ESP",
1764                 51
1765             ],
1766             [
1767                 "IP_API_PROTO_EIGRP",
1768                 88
1769             ],
1770             [
1771                 "IP_API_PROTO_OSPF",
1772                 89
1773             ],
1774             [
1775                 "IP_API_PROTO_SCTP",
1776                 132
1777             ],
1778             [
1779                 "IP_API_PROTO_RESERVED",
1780                 255
1781             ],
1782             {
1783                 "enumtype": "u32"
1784             }
1785         ]
1786     ],
1787     "services": {
1788         "want_interface_events": {
1789             "reply": "want_interface_events_reply",
1790             "events": [
1791                 "sw_interface_event"
1792             ]
1793         },
1794         "sw_interface_set_flags": {
1795             "reply": "sw_interface_set_flags_reply"
1796         },
1797         "hw_interface_set_mtu": {
1798             "reply": "hw_interface_set_mtu_reply"
1799         },
1800         "sw_interface_set_mtu": {
1801             "reply": "sw_interface_set_mtu_reply"
1802         },
1803         "sw_interface_set_ip_directed_broadcast": {
1804             "reply": "sw_interface_set_ip_directed_broadcast_reply"
1805         },
1806         "sw_interface_dump": {
1807             "reply": "sw_interface_details",
1808             "stream": true
1809         },
1810         "sw_interface_add_del_address": {
1811             "reply": "sw_interface_add_del_address_reply"
1812         },
1813         "sw_interface_set_table": {
1814             "reply": "sw_interface_set_table_reply"
1815         },
1816         "sw_interface_get_table": {
1817             "reply": "sw_interface_get_table_reply"
1818         },
1819         "sw_interface_set_unnumbered": {
1820             "reply": "sw_interface_set_unnumbered_reply"
1821         },
1822         "sw_interface_clear_stats": {
1823             "reply": "sw_interface_clear_stats_reply"
1824         },
1825         "sw_interface_tag_add_del": {
1826             "reply": "sw_interface_tag_add_del_reply"
1827         },
1828         "sw_interface_add_del_mac_address": {
1829             "reply": "sw_interface_add_del_mac_address_reply"
1830         },
1831         "sw_interface_set_mac_address": {
1832             "reply": "sw_interface_set_mac_address_reply"
1833         },
1834         "sw_interface_get_mac_address": {
1835             "reply": "sw_interface_get_mac_address_reply"
1836         },
1837         "sw_interface_set_rx_mode": {
1838             "reply": "sw_interface_set_rx_mode_reply"
1839         },
1840         "sw_interface_set_rx_placement": {
1841             "reply": "sw_interface_set_rx_placement_reply"
1842         },
1843         "sw_interface_rx_placement_dump": {
1844             "reply": "sw_interface_rx_placement_details",
1845             "stream": true
1846         },
1847         "interface_name_renumber": {
1848             "reply": "interface_name_renumber_reply"
1849         },
1850         "create_subif": {
1851             "reply": "create_subif_reply"
1852         },
1853         "create_vlan_subif": {
1854             "reply": "create_vlan_subif_reply"
1855         },
1856         "delete_subif": {
1857             "reply": "delete_subif_reply"
1858         },
1859         "create_loopback": {
1860             "reply": "create_loopback_reply"
1861         },
1862         "create_loopback_instance": {
1863             "reply": "create_loopback_instance_reply"
1864         },
1865         "delete_loopback": {
1866             "reply": "delete_loopback_reply"
1867         },
1868         "collect_detailed_interface_stats": {
1869             "reply": "collect_detailed_interface_stats_reply"
1870         }
1871     },
1872     "options": {
1873         "version": "3.2.2"
1874     },
1875     "aliases": {
1876         "interface_index": {
1877             "type": "u32"
1878         },
1879         "mac_address": {
1880             "type": "u8",
1881             "length": 6
1882         },
1883         "ip4_address": {
1884             "type": "u8",
1885             "length": 4
1886         },
1887         "ip6_address": {
1888             "type": "u8",
1889             "length": 16
1890         },
1891         "address_with_prefix": {
1892             "type": "vl_api_prefix_t"
1893         },
1894         "ip4_address_with_prefix": {
1895             "type": "vl_api_ip4_prefix_t"
1896         },
1897         "ip6_address_with_prefix": {
1898             "type": "vl_api_ip6_prefix_t"
1899         }
1900     },
1901     "vl_api_version": "0xfebc3ffa"
1902 }