Fix union data size for types with enums
[govpp.git] / examples / bin_api / interface.api.json
1 {
2     "messages": [
3         [
4             "sw_interface_set_flags",
5             [
6                 "u16",
7                 "_vl_msg_id"
8             ],
9             [
10                 "u32",
11                 "client_index"
12             ],
13             [
14                 "u32",
15                 "context"
16             ],
17             [
18                 "u32",
19                 "sw_if_index"
20             ],
21             [
22                 "u8",
23                 "admin_up_down"
24             ],
25             {
26                 "crc": "0x555485f5"
27             }
28         ],
29         [
30             "sw_interface_set_flags_reply",
31             [
32                 "u16",
33                 "_vl_msg_id"
34             ],
35             [
36                 "u32",
37                 "context"
38             ],
39             [
40                 "i32",
41                 "retval"
42             ],
43             {
44                 "crc": "0xe8d4e804"
45             }
46         ],
47         [
48             "hw_interface_set_mtu",
49             [
50                 "u16",
51                 "_vl_msg_id"
52             ],
53             [
54                 "u32",
55                 "client_index"
56             ],
57             [
58                 "u32",
59                 "context"
60             ],
61             [
62                 "u32",
63                 "sw_if_index"
64             ],
65             [
66                 "u16",
67                 "mtu"
68             ],
69             {
70                 "crc": "0x132da1e7"
71             }
72         ],
73         [
74             "hw_interface_set_mtu_reply",
75             [
76                 "u16",
77                 "_vl_msg_id"
78             ],
79             [
80                 "u32",
81                 "context"
82             ],
83             [
84                 "i32",
85                 "retval"
86             ],
87             {
88                 "crc": "0xe8d4e804"
89             }
90         ],
91         [
92             "sw_interface_set_mtu",
93             [
94                 "u16",
95                 "_vl_msg_id"
96             ],
97             [
98                 "u32",
99                 "client_index"
100             ],
101             [
102                 "u32",
103                 "context"
104             ],
105             [
106                 "u32",
107                 "sw_if_index"
108             ],
109             [
110                 "u32",
111                 "mtu",
112                 4
113             ],
114             {
115                 "crc": "0xd0008db8"
116             }
117         ],
118         [
119             "sw_interface_set_mtu_reply",
120             [
121                 "u16",
122                 "_vl_msg_id"
123             ],
124             [
125                 "u32",
126                 "context"
127             ],
128             [
129                 "i32",
130                 "retval"
131             ],
132             {
133                 "crc": "0xe8d4e804"
134             }
135         ],
136         [
137             "sw_interface_set_ip_directed_broadcast",
138             [
139                 "u16",
140                 "_vl_msg_id"
141             ],
142             [
143                 "u32",
144                 "client_index"
145             ],
146             [
147                 "u32",
148                 "context"
149             ],
150             [
151                 "u32",
152                 "sw_if_index"
153             ],
154             [
155                 "u8",
156                 "enable"
157             ],
158             {
159                 "crc": "0xa36fadc0"
160             }
161         ],
162         [
163             "sw_interface_set_ip_directed_broadcast_reply",
164             [
165                 "u16",
166                 "_vl_msg_id"
167             ],
168             [
169                 "u32",
170                 "context"
171             ],
172             [
173                 "i32",
174                 "retval"
175             ],
176             {
177                 "crc": "0xe8d4e804"
178             }
179         ],
180         [
181             "sw_interface_event",
182             [
183                 "u16",
184                 "_vl_msg_id"
185             ],
186             [
187                 "u32",
188                 "client_index"
189             ],
190             [
191                 "u32",
192                 "pid"
193             ],
194             [
195                 "u32",
196                 "sw_if_index"
197             ],
198             [
199                 "u8",
200                 "admin_up_down"
201             ],
202             [
203                 "u8",
204                 "link_up_down"
205             ],
206             [
207                 "u8",
208                 "deleted"
209             ],
210             {
211                 "crc": "0xbf9938e4"
212             }
213         ],
214         [
215             "want_interface_events",
216             [
217                 "u16",
218                 "_vl_msg_id"
219             ],
220             [
221                 "u32",
222                 "client_index"
223             ],
224             [
225                 "u32",
226                 "context"
227             ],
228             [
229                 "u32",
230                 "enable_disable"
231             ],
232             [
233                 "u32",
234                 "pid"
235             ],
236             {
237                 "crc": "0x476f5a08"
238             }
239         ],
240         [
241             "want_interface_events_reply",
242             [
243                 "u16",
244                 "_vl_msg_id"
245             ],
246             [
247                 "u32",
248                 "context"
249             ],
250             [
251                 "i32",
252                 "retval"
253             ],
254             {
255                 "crc": "0xe8d4e804"
256             }
257         ],
258         [
259             "sw_interface_details",
260             [
261                 "u16",
262                 "_vl_msg_id"
263             ],
264             [
265                 "u32",
266                 "context"
267             ],
268             [
269                 "u32",
270                 "sw_if_index"
271             ],
272             [
273                 "u32",
274                 "sup_sw_if_index"
275             ],
276             [
277                 "u32",
278                 "l2_address_length"
279             ],
280             [
281                 "u8",
282                 "l2_address",
283                 8
284             ],
285             [
286                 "u8",
287                 "interface_name",
288                 64
289             ],
290             [
291                 "u8",
292                 "admin_up_down"
293             ],
294             [
295                 "u8",
296                 "link_up_down"
297             ],
298             [
299                 "u8",
300                 "link_duplex"
301             ],
302             [
303                 "u32",
304                 "link_speed"
305             ],
306             [
307                 "u16",
308                 "link_mtu"
309             ],
310             [
311                 "u32",
312                 "mtu",
313                 4
314             ],
315             [
316                 "u32",
317                 "sub_id"
318             ],
319             [
320                 "u8",
321                 "sub_dot1ad"
322             ],
323             [
324                 "u8",
325                 "sub_dot1ah"
326             ],
327             [
328                 "u8",
329                 "sub_number_of_tags"
330             ],
331             [
332                 "u16",
333                 "sub_outer_vlan_id"
334             ],
335             [
336                 "u16",
337                 "sub_inner_vlan_id"
338             ],
339             [
340                 "u8",
341                 "sub_exact_match"
342             ],
343             [
344                 "u8",
345                 "sub_default"
346             ],
347             [
348                 "u8",
349                 "sub_outer_vlan_id_any"
350             ],
351             [
352                 "u8",
353                 "sub_inner_vlan_id_any"
354             ],
355             [
356                 "u32",
357                 "vtr_op"
358             ],
359             [
360                 "u32",
361                 "vtr_push_dot1q"
362             ],
363             [
364                 "u32",
365                 "vtr_tag1"
366             ],
367             [
368                 "u32",
369                 "vtr_tag2"
370             ],
371             [
372                 "u8",
373                 "tag",
374                 64
375             ],
376             [
377                 "u16",
378                 "outer_tag"
379             ],
380             [
381                 "u8",
382                 "b_dmac",
383                 6
384             ],
385             [
386                 "u8",
387                 "b_smac",
388                 6
389             ],
390             [
391                 "u16",
392                 "b_vlanid"
393             ],
394             [
395                 "u32",
396                 "i_sid"
397             ],
398             {
399                 "crc": "0xe4ee7eb6"
400             }
401         ],
402         [
403             "sw_interface_dump",
404             [
405                 "u16",
406                 "_vl_msg_id"
407             ],
408             [
409                 "u32",
410                 "client_index"
411             ],
412             [
413                 "u32",
414                 "context"
415             ],
416             [
417                 "u8",
418                 "name_filter_valid"
419             ],
420             [
421                 "u8",
422                 "name_filter",
423                 49
424             ],
425             {
426                 "crc": "0x63f5e3b7"
427             }
428         ],
429         [
430             "sw_interface_add_del_address",
431             [
432                 "u16",
433                 "_vl_msg_id"
434             ],
435             [
436                 "u32",
437                 "client_index"
438             ],
439             [
440                 "u32",
441                 "context"
442             ],
443             [
444                 "u32",
445                 "sw_if_index"
446             ],
447             [
448                 "u8",
449                 "is_add"
450             ],
451             [
452                 "u8",
453                 "is_ipv6"
454             ],
455             [
456                 "u8",
457                 "del_all"
458             ],
459             [
460                 "u8",
461                 "address_length"
462             ],
463             [
464                 "u8",
465                 "address",
466                 16
467             ],
468             {
469                 "crc": "0x7b583179"
470             }
471         ],
472         [
473             "sw_interface_add_del_address_reply",
474             [
475                 "u16",
476                 "_vl_msg_id"
477             ],
478             [
479                 "u32",
480                 "context"
481             ],
482             [
483                 "i32",
484                 "retval"
485             ],
486             {
487                 "crc": "0xe8d4e804"
488             }
489         ],
490         [
491             "sw_interface_set_table",
492             [
493                 "u16",
494                 "_vl_msg_id"
495             ],
496             [
497                 "u32",
498                 "client_index"
499             ],
500             [
501                 "u32",
502                 "context"
503             ],
504             [
505                 "u32",
506                 "sw_if_index"
507             ],
508             [
509                 "u8",
510                 "is_ipv6"
511             ],
512             [
513                 "u32",
514                 "vrf_id"
515             ],
516             {
517                 "crc": "0xacb25d89"
518             }
519         ],
520         [
521             "sw_interface_set_table_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_get_table",
540             [
541                 "u16",
542                 "_vl_msg_id"
543             ],
544             [
545                 "u32",
546                 "client_index"
547             ],
548             [
549                 "u32",
550                 "context"
551             ],
552             [
553                 "u32",
554                 "sw_if_index"
555             ],
556             [
557                 "u8",
558                 "is_ipv6"
559             ],
560             {
561                 "crc": "0x6b7bcd0a"
562             }
563         ],
564         [
565             "sw_interface_get_table_reply",
566             [
567                 "u16",
568                 "_vl_msg_id"
569             ],
570             [
571                 "u32",
572                 "context"
573             ],
574             [
575                 "i32",
576                 "retval"
577             ],
578             [
579                 "u32",
580                 "vrf_id"
581             ],
582             {
583                 "crc": "0xa6eb0109"
584             }
585         ],
586         [
587             "sw_interface_set_unnumbered",
588             [
589                 "u16",
590                 "_vl_msg_id"
591             ],
592             [
593                 "u32",
594                 "client_index"
595             ],
596             [
597                 "u32",
598                 "context"
599             ],
600             [
601                 "u32",
602                 "sw_if_index"
603             ],
604             [
605                 "u32",
606                 "unnumbered_sw_if_index"
607             ],
608             [
609                 "u8",
610                 "is_add"
611             ],
612             {
613                 "crc": "0xa2c1bbda"
614             }
615         ],
616         [
617             "sw_interface_set_unnumbered_reply",
618             [
619                 "u16",
620                 "_vl_msg_id"
621             ],
622             [
623                 "u32",
624                 "context"
625             ],
626             [
627                 "i32",
628                 "retval"
629             ],
630             {
631                 "crc": "0xe8d4e804"
632             }
633         ],
634         [
635             "sw_interface_clear_stats",
636             [
637                 "u16",
638                 "_vl_msg_id"
639             ],
640             [
641                 "u32",
642                 "client_index"
643             ],
644             [
645                 "u32",
646                 "context"
647             ],
648             [
649                 "u32",
650                 "sw_if_index"
651             ],
652             {
653                 "crc": "0x529cb13f"
654             }
655         ],
656         [
657             "sw_interface_clear_stats_reply",
658             [
659                 "u16",
660                 "_vl_msg_id"
661             ],
662             [
663                 "u32",
664                 "context"
665             ],
666             [
667                 "i32",
668                 "retval"
669             ],
670             {
671                 "crc": "0xe8d4e804"
672             }
673         ],
674         [
675             "sw_interface_tag_add_del",
676             [
677                 "u16",
678                 "_vl_msg_id"
679             ],
680             [
681                 "u32",
682                 "client_index"
683             ],
684             [
685                 "u32",
686                 "context"
687             ],
688             [
689                 "u8",
690                 "is_add"
691             ],
692             [
693                 "u32",
694                 "sw_if_index"
695             ],
696             [
697                 "u8",
698                 "tag",
699                 64
700             ],
701             {
702                 "crc": "0x14cc636c"
703             }
704         ],
705         [
706             "sw_interface_tag_add_del_reply",
707             [
708                 "u16",
709                 "_vl_msg_id"
710             ],
711             [
712                 "u32",
713                 "context"
714             ],
715             [
716                 "i32",
717                 "retval"
718             ],
719             {
720                 "crc": "0xe8d4e804"
721             }
722         ],
723         [
724             "sw_interface_set_mac_address",
725             [
726                 "u16",
727                 "_vl_msg_id"
728             ],
729             [
730                 "u32",
731                 "client_index"
732             ],
733             [
734                 "u32",
735                 "context"
736             ],
737             [
738                 "u32",
739                 "sw_if_index"
740             ],
741             [
742                 "u8",
743                 "mac_address",
744                 6
745             ],
746             {
747                 "crc": "0xeed5dfca"
748             }
749         ],
750         [
751             "sw_interface_set_mac_address_reply",
752             [
753                 "u16",
754                 "_vl_msg_id"
755             ],
756             [
757                 "u32",
758                 "context"
759             ],
760             [
761                 "i32",
762                 "retval"
763             ],
764             {
765                 "crc": "0xe8d4e804"
766             }
767         ],
768         [
769             "sw_interface_get_mac_address",
770             [
771                 "u16",
772                 "_vl_msg_id"
773             ],
774             [
775                 "u32",
776                 "client_index"
777             ],
778             [
779                 "u32",
780                 "context"
781             ],
782             [
783                 "u32",
784                 "sw_if_index"
785             ],
786             {
787                 "crc": "0x529cb13f"
788             }
789         ],
790         [
791             "sw_interface_get_mac_address_reply",
792             [
793                 "u16",
794                 "_vl_msg_id"
795             ],
796             [
797                 "u32",
798                 "context"
799             ],
800             [
801                 "i32",
802                 "retval"
803             ],
804             [
805                 "u8",
806                 "mac_address",
807                 6
808             ],
809             {
810                 "crc": "0x8ea538d3"
811             }
812         ],
813         [
814             "sw_interface_set_rx_mode",
815             [
816                 "u16",
817                 "_vl_msg_id"
818             ],
819             [
820                 "u32",
821                 "client_index"
822             ],
823             [
824                 "u32",
825                 "context"
826             ],
827             [
828                 "u32",
829                 "sw_if_index"
830             ],
831             [
832                 "u8",
833                 "queue_id_valid"
834             ],
835             [
836                 "u32",
837                 "queue_id"
838             ],
839             [
840                 "u8",
841                 "mode"
842             ],
843             {
844                 "crc": "0x2a1cc58c"
845             }
846         ],
847         [
848             "sw_interface_set_rx_mode_reply",
849             [
850                 "u16",
851                 "_vl_msg_id"
852             ],
853             [
854                 "u32",
855                 "context"
856             ],
857             [
858                 "i32",
859                 "retval"
860             ],
861             {
862                 "crc": "0xe8d4e804"
863             }
864         ],
865         [
866             "sw_interface_set_rx_placement",
867             [
868                 "u16",
869                 "_vl_msg_id"
870             ],
871             [
872                 "u32",
873                 "client_index"
874             ],
875             [
876                 "u32",
877                 "context"
878             ],
879             [
880                 "u32",
881                 "sw_if_index"
882             ],
883             [
884                 "u32",
885                 "queue_id"
886             ],
887             [
888                 "u32",
889                 "worker_id"
890             ],
891             [
892                 "u8",
893                 "is_main"
894             ],
895             {
896                 "crc": "0x4ef4377d"
897             }
898         ],
899         [
900             "sw_interface_set_rx_placement_reply",
901             [
902                 "u16",
903                 "_vl_msg_id"
904             ],
905             [
906                 "u32",
907                 "context"
908             ],
909             [
910                 "i32",
911                 "retval"
912             ],
913             {
914                 "crc": "0xe8d4e804"
915             }
916         ],
917         [
918             "sw_interface_rx_placement_dump",
919             [
920                 "u16",
921                 "_vl_msg_id"
922             ],
923             [
924                 "u32",
925                 "client_index"
926             ],
927             [
928                 "u32",
929                 "context"
930             ],
931             [
932                 "u32",
933                 "sw_if_index"
934             ],
935             {
936                 "crc": "0x529cb13f"
937             }
938         ],
939         [
940             "sw_interface_rx_placement_details",
941             [
942                 "u16",
943                 "_vl_msg_id"
944             ],
945             [
946                 "u32",
947                 "client_index"
948             ],
949             [
950                 "u32",
951                 "context"
952             ],
953             [
954                 "u32",
955                 "sw_if_index"
956             ],
957             [
958                 "u32",
959                 "queue_id"
960             ],
961             [
962                 "u32",
963                 "worker_id"
964             ],
965             [
966                 "u8",
967                 "mode"
968             ],
969             {
970                 "crc": "0x0e9e33f4"
971             }
972         ],
973         [
974             "interface_name_renumber",
975             [
976                 "u16",
977                 "_vl_msg_id"
978             ],
979             [
980                 "u32",
981                 "client_index"
982             ],
983             [
984                 "u32",
985                 "context"
986             ],
987             [
988                 "u32",
989                 "sw_if_index"
990             ],
991             [
992                 "u32",
993                 "new_show_dev_instance"
994             ],
995             {
996                 "crc": "0x39194269"
997             }
998         ],
999         [
1000             "interface_name_renumber_reply",
1001             [
1002                 "u16",
1003                 "_vl_msg_id"
1004             ],
1005             [
1006                 "u32",
1007                 "context"
1008             ],
1009             [
1010                 "i32",
1011                 "retval"
1012             ],
1013             {
1014                 "crc": "0xe8d4e804"
1015             }
1016         ],
1017         [
1018             "create_subif",
1019             [
1020                 "u16",
1021                 "_vl_msg_id"
1022             ],
1023             [
1024                 "u32",
1025                 "client_index"
1026             ],
1027             [
1028                 "u32",
1029                 "context"
1030             ],
1031             [
1032                 "u32",
1033                 "sw_if_index"
1034             ],
1035             [
1036                 "u32",
1037                 "sub_id"
1038             ],
1039             [
1040                 "u8",
1041                 "no_tags"
1042             ],
1043             [
1044                 "u8",
1045                 "one_tag"
1046             ],
1047             [
1048                 "u8",
1049                 "two_tags"
1050             ],
1051             [
1052                 "u8",
1053                 "dot1ad"
1054             ],
1055             [
1056                 "u8",
1057                 "exact_match"
1058             ],
1059             [
1060                 "u8",
1061                 "default_sub"
1062             ],
1063             [
1064                 "u8",
1065                 "outer_vlan_id_any"
1066             ],
1067             [
1068                 "u8",
1069                 "inner_vlan_id_any"
1070             ],
1071             [
1072                 "u16",
1073                 "outer_vlan_id"
1074             ],
1075             [
1076                 "u16",
1077                 "inner_vlan_id"
1078             ],
1079             {
1080                 "crc": "0x86cfe408"
1081             }
1082         ],
1083         [
1084             "create_subif_reply",
1085             [
1086                 "u16",
1087                 "_vl_msg_id"
1088             ],
1089             [
1090                 "u32",
1091                 "context"
1092             ],
1093             [
1094                 "i32",
1095                 "retval"
1096             ],
1097             [
1098                 "u32",
1099                 "sw_if_index"
1100             ],
1101             {
1102                 "crc": "0xfda5941f"
1103             }
1104         ],
1105         [
1106             "create_vlan_subif",
1107             [
1108                 "u16",
1109                 "_vl_msg_id"
1110             ],
1111             [
1112                 "u32",
1113                 "client_index"
1114             ],
1115             [
1116                 "u32",
1117                 "context"
1118             ],
1119             [
1120                 "u32",
1121                 "sw_if_index"
1122             ],
1123             [
1124                 "u32",
1125                 "vlan_id"
1126             ],
1127             {
1128                 "crc": "0x70cadeda"
1129             }
1130         ],
1131         [
1132             "create_vlan_subif_reply",
1133             [
1134                 "u16",
1135                 "_vl_msg_id"
1136             ],
1137             [
1138                 "u32",
1139                 "context"
1140             ],
1141             [
1142                 "i32",
1143                 "retval"
1144             ],
1145             [
1146                 "u32",
1147                 "sw_if_index"
1148             ],
1149             {
1150                 "crc": "0xfda5941f"
1151             }
1152         ],
1153         [
1154             "delete_subif",
1155             [
1156                 "u16",
1157                 "_vl_msg_id"
1158             ],
1159             [
1160                 "u32",
1161                 "client_index"
1162             ],
1163             [
1164                 "u32",
1165                 "context"
1166             ],
1167             [
1168                 "u32",
1169                 "sw_if_index"
1170             ],
1171             {
1172                 "crc": "0x529cb13f"
1173             }
1174         ],
1175         [
1176             "delete_subif_reply",
1177             [
1178                 "u16",
1179                 "_vl_msg_id"
1180             ],
1181             [
1182                 "u32",
1183                 "context"
1184             ],
1185             [
1186                 "i32",
1187                 "retval"
1188             ],
1189             {
1190                 "crc": "0xe8d4e804"
1191             }
1192         ],
1193         [
1194             "create_loopback",
1195             [
1196                 "u16",
1197                 "_vl_msg_id"
1198             ],
1199             [
1200                 "u32",
1201                 "client_index"
1202             ],
1203             [
1204                 "u32",
1205                 "context"
1206             ],
1207             [
1208                 "u8",
1209                 "mac_address",
1210                 6
1211             ],
1212             {
1213                 "crc": "0x3b54129c"
1214             }
1215         ],
1216         [
1217             "create_loopback_reply",
1218             [
1219                 "u16",
1220                 "_vl_msg_id"
1221             ],
1222             [
1223                 "u32",
1224                 "context"
1225             ],
1226             [
1227                 "i32",
1228                 "retval"
1229             ],
1230             [
1231                 "u32",
1232                 "sw_if_index"
1233             ],
1234             {
1235                 "crc": "0xfda5941f"
1236             }
1237         ],
1238         [
1239             "create_loopback_instance",
1240             [
1241                 "u16",
1242                 "_vl_msg_id"
1243             ],
1244             [
1245                 "u32",
1246                 "client_index"
1247             ],
1248             [
1249                 "u32",
1250                 "context"
1251             ],
1252             [
1253                 "u8",
1254                 "mac_address",
1255                 6
1256             ],
1257             [
1258                 "u8",
1259                 "is_specified"
1260             ],
1261             [
1262                 "u32",
1263                 "user_instance"
1264             ],
1265             {
1266                 "crc": "0x7bbd53b6"
1267             }
1268         ],
1269         [
1270             "create_loopback_instance_reply",
1271             [
1272                 "u16",
1273                 "_vl_msg_id"
1274             ],
1275             [
1276                 "u32",
1277                 "context"
1278             ],
1279             [
1280                 "i32",
1281                 "retval"
1282             ],
1283             [
1284                 "u32",
1285                 "sw_if_index"
1286             ],
1287             {
1288                 "crc": "0xfda5941f"
1289             }
1290         ],
1291         [
1292             "delete_loopback",
1293             [
1294                 "u16",
1295                 "_vl_msg_id"
1296             ],
1297             [
1298                 "u32",
1299                 "client_index"
1300             ],
1301             [
1302                 "u32",
1303                 "context"
1304             ],
1305             [
1306                 "u32",
1307                 "sw_if_index"
1308             ],
1309             {
1310                 "crc": "0x529cb13f"
1311             }
1312         ],
1313         [
1314             "delete_loopback_reply",
1315             [
1316                 "u16",
1317                 "_vl_msg_id"
1318             ],
1319             [
1320                 "u32",
1321                 "context"
1322             ],
1323             [
1324                 "i32",
1325                 "retval"
1326             ],
1327             {
1328                 "crc": "0xe8d4e804"
1329             }
1330         ],
1331         [
1332             "collect_detailed_interface_stats",
1333             [
1334                 "u16",
1335                 "_vl_msg_id"
1336             ],
1337             [
1338                 "u32",
1339                 "client_index"
1340             ],
1341             [
1342                 "u32",
1343                 "context"
1344             ],
1345             [
1346                 "u32",
1347                 "sw_if_index"
1348             ],
1349             [
1350                 "u8",
1351                 "enable_disable"
1352             ],
1353             {
1354                 "crc": "0x69d24598"
1355             }
1356         ],
1357         [
1358             "collect_detailed_interface_stats_reply",
1359             [
1360                 "u16",
1361                 "_vl_msg_id"
1362             ],
1363             [
1364                 "u32",
1365                 "context"
1366             ],
1367             [
1368                 "i32",
1369                 "retval"
1370             ],
1371             {
1372                 "crc": "0xe8d4e804"
1373             }
1374         ]
1375     ],
1376     "vl_api_version": "0x672de521",
1377     "unions": [],
1378     "services": {
1379         "create_subif": {
1380             "reply": "create_subif_reply"
1381         },
1382         "sw_interface_set_ip_directed_broadcast": {
1383             "reply": "sw_interface_set_ip_directed_broadcast_reply"
1384         },
1385         "delete_subif": {
1386             "reply": "delete_subif_reply"
1387         },
1388         "sw_interface_get_mac_address": {
1389             "reply": "sw_interface_get_mac_address_reply"
1390         },
1391         "sw_interface_tag_add_del": {
1392             "reply": "sw_interface_tag_add_del_reply"
1393         },
1394         "collect_detailed_interface_stats": {
1395             "reply": "collect_detailed_interface_stats_reply"
1396         },
1397         "sw_interface_dump": {
1398             "reply": "sw_interface_details",
1399             "stream": true
1400         },
1401         "sw_interface_set_rx_placement": {
1402             "reply": "sw_interface_set_rx_placement_reply"
1403         },
1404         "sw_interface_add_del_address": {
1405             "reply": "sw_interface_add_del_address_reply"
1406         },
1407         "sw_interface_get_table": {
1408             "reply": "sw_interface_get_table_reply"
1409         },
1410         "interface_name_renumber": {
1411             "reply": "interface_name_renumber_reply"
1412         },
1413         "create_loopback_instance": {
1414             "reply": "create_loopback_instance_reply"
1415         },
1416         "sw_interface_set_mtu": {
1417             "reply": "sw_interface_set_mtu_reply"
1418         },
1419         "want_interface_events": {
1420             "reply": "want_interface_events_reply",
1421             "events": [
1422                 "sw_interface_event"
1423             ]
1424         },
1425         "create_loopback": {
1426             "reply": "create_loopback_reply"
1427         },
1428         "sw_interface_clear_stats": {
1429             "reply": "sw_interface_clear_stats_reply"
1430         },
1431         "hw_interface_set_mtu": {
1432             "reply": "hw_interface_set_mtu_reply"
1433         },
1434         "sw_interface_set_mac_address": {
1435             "reply": "sw_interface_set_mac_address_reply"
1436         },
1437         "sw_interface_set_unnumbered": {
1438             "reply": "sw_interface_set_unnumbered_reply"
1439         },
1440         "sw_interface_rx_placement_dump": {
1441             "reply": "sw_interface_rx_placement_details",
1442             "stream": true
1443         },
1444         "sw_interface_set_flags": {
1445             "reply": "sw_interface_set_flags_reply"
1446         },
1447         "delete_loopback": {
1448             "reply": "delete_loopback_reply"
1449         },
1450         "sw_interface_set_rx_mode": {
1451             "reply": "sw_interface_set_rx_mode_reply"
1452         },
1453         "create_vlan_subif": {
1454             "reply": "create_vlan_subif_reply"
1455         },
1456         "sw_interface_set_table": {
1457             "reply": "sw_interface_set_table_reply"
1458         }
1459     },
1460     "enums": [],
1461     "types": [],
1462     "aliases": {
1463         "interface_index": {
1464             "type": "u32"
1465         }
1466     }
1467 }