Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / mpls.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             "fib_mpls_label",
79             [
80                 "u8",
81                 "is_uniform"
82             ],
83             [
84                 "u32",
85                 "label"
86             ],
87             [
88                 "u8",
89                 "ttl"
90             ],
91             [
92                 "u8",
93                 "exp"
94             ]
95         ],
96         [
97             "fib_path_nh",
98             [
99                 "vl_api_address_union_t",
100                 "address"
101             ],
102             [
103                 "u32",
104                 "via_label"
105             ],
106             [
107                 "u32",
108                 "obj_id"
109             ],
110             [
111                 "u32",
112                 "classify_table_index"
113             ]
114         ],
115         [
116             "fib_path",
117             [
118                 "u32",
119                 "sw_if_index"
120             ],
121             [
122                 "u32",
123                 "table_id"
124             ],
125             [
126                 "u32",
127                 "rpf_id"
128             ],
129             [
130                 "u8",
131                 "weight"
132             ],
133             [
134                 "u8",
135                 "preference"
136             ],
137             [
138                 "vl_api_fib_path_type_t",
139                 "type"
140             ],
141             [
142                 "vl_api_fib_path_flags_t",
143                 "flags"
144             ],
145             [
146                 "vl_api_fib_path_nh_proto_t",
147                 "proto"
148             ],
149             [
150                 "vl_api_fib_path_nh_t",
151                 "nh"
152             ],
153             [
154                 "u8",
155                 "n_labels"
156             ],
157             [
158                 "vl_api_fib_mpls_label_t",
159                 "label_stack",
160                 16
161             ]
162         ],
163         [
164             "address",
165             [
166                 "vl_api_address_family_t",
167                 "af"
168             ],
169             [
170                 "vl_api_address_union_t",
171                 "un"
172             ]
173         ],
174         [
175             "prefix",
176             [
177                 "vl_api_address_t",
178                 "address"
179             ],
180             [
181                 "u8",
182                 "len"
183             ]
184         ],
185         [
186             "mprefix",
187             [
188                 "vl_api_address_family_t",
189                 "af"
190             ],
191             [
192                 "u16",
193                 "grp_address_length"
194             ],
195             [
196                 "vl_api_address_union_t",
197                 "grp_address"
198             ],
199             [
200                 "vl_api_address_union_t",
201                 "src_address"
202             ]
203         ],
204         [
205             "ip6_prefix",
206             [
207                 "vl_api_ip6_address_t",
208                 "address"
209             ],
210             [
211                 "u8",
212                 "len"
213             ]
214         ],
215         [
216             "ip4_prefix",
217             [
218                 "vl_api_ip4_address_t",
219                 "address"
220             ],
221             [
222                 "u8",
223                 "len"
224             ]
225         ],
226         [
227             "prefix_matcher",
228             [
229                 "u8",
230                 "le"
231             ],
232             [
233                 "u8",
234                 "ge"
235             ]
236         ],
237         [
238             "mpls_tunnel",
239             [
240                 "vl_api_interface_index_t",
241                 "mt_sw_if_index"
242             ],
243             [
244                 "u32",
245                 "mt_tunnel_index"
246             ],
247             [
248                 "bool",
249                 "mt_l2_only"
250             ],
251             [
252                 "bool",
253                 "mt_is_multicast"
254             ],
255             [
256                 "u8",
257                 "mt_n_paths"
258             ],
259             [
260                 "vl_api_fib_path_t",
261                 "mt_paths",
262                 0,
263                 "mt_n_paths"
264             ]
265         ],
266         [
267             "mpls_table",
268             [
269                 "u32",
270                 "mt_table_id"
271             ],
272             [
273                 "string",
274                 "mt_name",
275                 64
276             ]
277         ],
278         [
279             "mpls_route",
280             [
281                 "u32",
282                 "mr_table_id"
283             ],
284             [
285                 "u32",
286                 "mr_label"
287             ],
288             [
289                 "u8",
290                 "mr_eos"
291             ],
292             [
293                 "u8",
294                 "mr_eos_proto"
295             ],
296             [
297                 "bool",
298                 "mr_is_multicast"
299             ],
300             [
301                 "u8",
302                 "mr_n_paths"
303             ],
304             [
305                 "vl_api_fib_path_t",
306                 "mr_paths",
307                 0,
308                 "mr_n_paths"
309             ]
310         ]
311     ],
312     "messages": [
313         [
314             "mpls_ip_bind_unbind",
315             [
316                 "u16",
317                 "_vl_msg_id"
318             ],
319             [
320                 "u32",
321                 "client_index"
322             ],
323             [
324                 "u32",
325                 "context"
326             ],
327             [
328                 "u32",
329                 "mb_mpls_table_id"
330             ],
331             [
332                 "u32",
333                 "mb_label"
334             ],
335             [
336                 "u32",
337                 "mb_ip_table_id"
338             ],
339             [
340                 "bool",
341                 "mb_is_bind"
342             ],
343             [
344                 "vl_api_prefix_t",
345                 "mb_prefix"
346             ],
347             {
348                 "crc": "0x48249a27"
349             }
350         ],
351         [
352             "mpls_ip_bind_unbind_reply",
353             [
354                 "u16",
355                 "_vl_msg_id"
356             ],
357             [
358                 "u32",
359                 "context"
360             ],
361             [
362                 "i32",
363                 "retval"
364             ],
365             {
366                 "crc": "0xe8d4e804"
367             }
368         ],
369         [
370             "mpls_tunnel_add_del",
371             [
372                 "u16",
373                 "_vl_msg_id"
374             ],
375             [
376                 "u32",
377                 "client_index"
378             ],
379             [
380                 "u32",
381                 "context"
382             ],
383             [
384                 "bool",
385                 "mt_is_add",
386                 {
387                     "default": "true"
388                 }
389             ],
390             [
391                 "vl_api_mpls_tunnel_t",
392                 "mt_tunnel"
393             ],
394             {
395                 "crc": "0x0de2478e"
396             }
397         ],
398         [
399             "mpls_tunnel_add_del_reply",
400             [
401                 "u16",
402                 "_vl_msg_id"
403             ],
404             [
405                 "u32",
406                 "context"
407             ],
408             [
409                 "i32",
410                 "retval"
411             ],
412             [
413                 "vl_api_interface_index_t",
414                 "sw_if_index"
415             ],
416             [
417                 "u32",
418                 "tunnel_index"
419             ],
420             {
421                 "crc": "0xafb01472"
422             }
423         ],
424         [
425             "mpls_tunnel_dump",
426             [
427                 "u16",
428                 "_vl_msg_id"
429             ],
430             [
431                 "u32",
432                 "client_index"
433             ],
434             [
435                 "u32",
436                 "context"
437             ],
438             [
439                 "vl_api_interface_index_t",
440                 "sw_if_index"
441             ],
442             {
443                 "crc": "0xf9e6675e"
444             }
445         ],
446         [
447             "mpls_tunnel_details",
448             [
449                 "u16",
450                 "_vl_msg_id"
451             ],
452             [
453                 "u32",
454                 "context"
455             ],
456             [
457                 "vl_api_mpls_tunnel_t",
458                 "mt_tunnel"
459             ],
460             {
461                 "crc": "0xbdc55cce"
462             }
463         ],
464         [
465             "mpls_table_add_del",
466             [
467                 "u16",
468                 "_vl_msg_id"
469             ],
470             [
471                 "u32",
472                 "client_index"
473             ],
474             [
475                 "u32",
476                 "context"
477             ],
478             [
479                 "bool",
480                 "mt_is_add",
481                 {
482                     "default": "true"
483                 }
484             ],
485             [
486                 "vl_api_mpls_table_t",
487                 "mt_table"
488             ],
489             {
490                 "crc": "0x57817512"
491             }
492         ],
493         [
494             "mpls_table_add_del_reply",
495             [
496                 "u16",
497                 "_vl_msg_id"
498             ],
499             [
500                 "u32",
501                 "context"
502             ],
503             [
504                 "i32",
505                 "retval"
506             ],
507             {
508                 "crc": "0xe8d4e804"
509             }
510         ],
511         [
512             "mpls_table_dump",
513             [
514                 "u16",
515                 "_vl_msg_id"
516             ],
517             [
518                 "u32",
519                 "client_index"
520             ],
521             [
522                 "u32",
523                 "context"
524             ],
525             {
526                 "crc": "0x51077d14"
527             }
528         ],
529         [
530             "mpls_table_details",
531             [
532                 "u16",
533                 "_vl_msg_id"
534             ],
535             [
536                 "u32",
537                 "context"
538             ],
539             [
540                 "vl_api_mpls_table_t",
541                 "mt_table"
542             ],
543             {
544                 "crc": "0xf03ecdc8"
545             }
546         ],
547         [
548             "mpls_route_add_del",
549             [
550                 "u16",
551                 "_vl_msg_id"
552             ],
553             [
554                 "u32",
555                 "client_index"
556             ],
557             [
558                 "u32",
559                 "context"
560             ],
561             [
562                 "bool",
563                 "mr_is_add"
564             ],
565             [
566                 "bool",
567                 "mr_is_multipath"
568             ],
569             [
570                 "vl_api_mpls_route_t",
571                 "mr_route"
572             ],
573             {
574                 "crc": "0x343cff54"
575             }
576         ],
577         [
578             "mpls_route_add_del_reply",
579             [
580                 "u16",
581                 "_vl_msg_id"
582             ],
583             [
584                 "u32",
585                 "context"
586             ],
587             [
588                 "i32",
589                 "retval"
590             ],
591             [
592                 "u32",
593                 "stats_index"
594             ],
595             {
596                 "crc": "0x1992deab"
597             }
598         ],
599         [
600             "mpls_route_dump",
601             [
602                 "u16",
603                 "_vl_msg_id"
604             ],
605             [
606                 "u32",
607                 "client_index"
608             ],
609             [
610                 "u32",
611                 "context"
612             ],
613             [
614                 "vl_api_mpls_table_t",
615                 "table"
616             ],
617             {
618                 "crc": "0x935fdefa"
619             }
620         ],
621         [
622             "mpls_route_details",
623             [
624                 "u16",
625                 "_vl_msg_id"
626             ],
627             [
628                 "u32",
629                 "context"
630             ],
631             [
632                 "vl_api_mpls_route_t",
633                 "mr_route"
634             ],
635             {
636                 "crc": "0xd0ac384c"
637             }
638         ],
639         [
640             "sw_interface_set_mpls_enable",
641             [
642                 "u16",
643                 "_vl_msg_id"
644             ],
645             [
646                 "u32",
647                 "client_index"
648             ],
649             [
650                 "u32",
651                 "context"
652             ],
653             [
654                 "vl_api_interface_index_t",
655                 "sw_if_index"
656             ],
657             [
658                 "bool",
659                 "enable",
660                 {
661                     "default": "true"
662                 }
663             ],
664             {
665                 "crc": "0xae6cfcfb"
666             }
667         ],
668         [
669             "sw_interface_set_mpls_enable_reply",
670             [
671                 "u16",
672                 "_vl_msg_id"
673             ],
674             [
675                 "u32",
676                 "context"
677             ],
678             [
679                 "i32",
680                 "retval"
681             ],
682             {
683                 "crc": "0xe8d4e804"
684             }
685         ]
686     ],
687     "unions": [
688         [
689             "address_union",
690             [
691                 "vl_api_ip4_address_t",
692                 "ip4"
693             ],
694             [
695                 "vl_api_ip6_address_t",
696                 "ip6"
697             ]
698         ],
699         [
700             "address_union",
701             [
702                 "vl_api_ip4_address_t",
703                 "ip4"
704             ],
705             [
706                 "vl_api_ip6_address_t",
707                 "ip6"
708             ]
709         ]
710     ],
711     "enums": [
712         [
713             "address_family",
714             [
715                 "ADDRESS_IP4",
716                 0
717             ],
718             [
719                 "ADDRESS_IP6",
720                 1
721             ],
722             {
723                 "enumtype": "u32"
724             }
725         ],
726         [
727             "ip_ecn",
728             [
729                 "IP_API_ECN_NONE",
730                 0
731             ],
732             [
733                 "IP_API_ECN_ECT0",
734                 1
735             ],
736             [
737                 "IP_API_ECN_ECT1",
738                 2
739             ],
740             [
741                 "IP_API_ECN_CE",
742                 3
743             ],
744             {
745                 "enumtype": "u8"
746             }
747         ],
748         [
749             "ip_dscp",
750             [
751                 "IP_API_DSCP_CS0",
752                 0
753             ],
754             [
755                 "IP_API_DSCP_CS1",
756                 8
757             ],
758             [
759                 "IP_API_DSCP_AF11",
760                 10
761             ],
762             [
763                 "IP_API_DSCP_AF12",
764                 12
765             ],
766             [
767                 "IP_API_DSCP_AF13",
768                 14
769             ],
770             [
771                 "IP_API_DSCP_CS2",
772                 16
773             ],
774             [
775                 "IP_API_DSCP_AF21",
776                 18
777             ],
778             [
779                 "IP_API_DSCP_AF22",
780                 20
781             ],
782             [
783                 "IP_API_DSCP_AF23",
784                 22
785             ],
786             [
787                 "IP_API_DSCP_CS3",
788                 24
789             ],
790             [
791                 "IP_API_DSCP_AF31",
792                 26
793             ],
794             [
795                 "IP_API_DSCP_AF32",
796                 28
797             ],
798             [
799                 "IP_API_DSCP_AF33",
800                 30
801             ],
802             [
803                 "IP_API_DSCP_CS4",
804                 32
805             ],
806             [
807                 "IP_API_DSCP_AF41",
808                 34
809             ],
810             [
811                 "IP_API_DSCP_AF42",
812                 36
813             ],
814             [
815                 "IP_API_DSCP_AF43",
816                 38
817             ],
818             [
819                 "IP_API_DSCP_CS5",
820                 40
821             ],
822             [
823                 "IP_API_DSCP_EF",
824                 46
825             ],
826             [
827                 "IP_API_DSCP_CS6",
828                 48
829             ],
830             [
831                 "IP_API_DSCP_CS7",
832                 50
833             ],
834             {
835                 "enumtype": "u8"
836             }
837         ],
838         [
839             "ip_proto",
840             [
841                 "IP_API_PROTO_HOPOPT",
842                 0
843             ],
844             [
845                 "IP_API_PROTO_ICMP",
846                 1
847             ],
848             [
849                 "IP_API_PROTO_IGMP",
850                 2
851             ],
852             [
853                 "IP_API_PROTO_TCP",
854                 6
855             ],
856             [
857                 "IP_API_PROTO_UDP",
858                 17
859             ],
860             [
861                 "IP_API_PROTO_GRE",
862                 47
863             ],
864             [
865                 "IP_API_PROTO_AH",
866                 50
867             ],
868             [
869                 "IP_API_PROTO_ESP",
870                 51
871             ],
872             [
873                 "IP_API_PROTO_EIGRP",
874                 88
875             ],
876             [
877                 "IP_API_PROTO_OSPF",
878                 89
879             ],
880             [
881                 "IP_API_PROTO_SCTP",
882                 132
883             ],
884             [
885                 "IP_API_PROTO_RESERVED",
886                 255
887             ],
888             {
889                 "enumtype": "u32"
890             }
891         ],
892         [
893             "fib_path_nh_proto",
894             [
895                 "FIB_API_PATH_NH_PROTO_IP4",
896                 0
897             ],
898             [
899                 "FIB_API_PATH_NH_PROTO_IP6",
900                 1
901             ],
902             [
903                 "FIB_API_PATH_NH_PROTO_MPLS",
904                 2
905             ],
906             [
907                 "FIB_API_PATH_NH_PROTO_ETHERNET",
908                 3
909             ],
910             [
911                 "FIB_API_PATH_NH_PROTO_BIER",
912                 4
913             ],
914             {
915                 "enumtype": "u32"
916             }
917         ],
918         [
919             "fib_path_flags",
920             [
921                 "FIB_API_PATH_FLAG_NONE",
922                 0
923             ],
924             [
925                 "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED",
926                 1
927             ],
928             [
929                 "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST",
930                 2
931             ],
932             [
933                 "FIB_API_PATH_FLAG_POP_PW_CW",
934                 4
935             ],
936             {
937                 "enumtype": "u32"
938             }
939         ],
940         [
941             "fib_path_type",
942             [
943                 "FIB_API_PATH_TYPE_NORMAL",
944                 0
945             ],
946             [
947                 "FIB_API_PATH_TYPE_LOCAL",
948                 1
949             ],
950             [
951                 "FIB_API_PATH_TYPE_DROP",
952                 2
953             ],
954             [
955                 "FIB_API_PATH_TYPE_UDP_ENCAP",
956                 3
957             ],
958             [
959                 "FIB_API_PATH_TYPE_BIER_IMP",
960                 4
961             ],
962             [
963                 "FIB_API_PATH_TYPE_ICMP_UNREACH",
964                 5
965             ],
966             [
967                 "FIB_API_PATH_TYPE_ICMP_PROHIBIT",
968                 6
969             ],
970             [
971                 "FIB_API_PATH_TYPE_SOURCE_LOOKUP",
972                 7
973             ],
974             [
975                 "FIB_API_PATH_TYPE_DVR",
976                 8
977             ],
978             [
979                 "FIB_API_PATH_TYPE_INTERFACE_RX",
980                 9
981             ],
982             [
983                 "FIB_API_PATH_TYPE_CLASSIFY",
984                 10
985             ],
986             {
987                 "enumtype": "u32"
988             }
989         ],
990         [
991             "address_family",
992             [
993                 "ADDRESS_IP4",
994                 0
995             ],
996             [
997                 "ADDRESS_IP6",
998                 1
999             ],
1000             {
1001                 "enumtype": "u32"
1002             }
1003         ],
1004         [
1005             "ip_ecn",
1006             [
1007                 "IP_API_ECN_NONE",
1008                 0
1009             ],
1010             [
1011                 "IP_API_ECN_ECT0",
1012                 1
1013             ],
1014             [
1015                 "IP_API_ECN_ECT1",
1016                 2
1017             ],
1018             [
1019                 "IP_API_ECN_CE",
1020                 3
1021             ],
1022             {
1023                 "enumtype": "u8"
1024             }
1025         ],
1026         [
1027             "ip_dscp",
1028             [
1029                 "IP_API_DSCP_CS0",
1030                 0
1031             ],
1032             [
1033                 "IP_API_DSCP_CS1",
1034                 8
1035             ],
1036             [
1037                 "IP_API_DSCP_AF11",
1038                 10
1039             ],
1040             [
1041                 "IP_API_DSCP_AF12",
1042                 12
1043             ],
1044             [
1045                 "IP_API_DSCP_AF13",
1046                 14
1047             ],
1048             [
1049                 "IP_API_DSCP_CS2",
1050                 16
1051             ],
1052             [
1053                 "IP_API_DSCP_AF21",
1054                 18
1055             ],
1056             [
1057                 "IP_API_DSCP_AF22",
1058                 20
1059             ],
1060             [
1061                 "IP_API_DSCP_AF23",
1062                 22
1063             ],
1064             [
1065                 "IP_API_DSCP_CS3",
1066                 24
1067             ],
1068             [
1069                 "IP_API_DSCP_AF31",
1070                 26
1071             ],
1072             [
1073                 "IP_API_DSCP_AF32",
1074                 28
1075             ],
1076             [
1077                 "IP_API_DSCP_AF33",
1078                 30
1079             ],
1080             [
1081                 "IP_API_DSCP_CS4",
1082                 32
1083             ],
1084             [
1085                 "IP_API_DSCP_AF41",
1086                 34
1087             ],
1088             [
1089                 "IP_API_DSCP_AF42",
1090                 36
1091             ],
1092             [
1093                 "IP_API_DSCP_AF43",
1094                 38
1095             ],
1096             [
1097                 "IP_API_DSCP_CS5",
1098                 40
1099             ],
1100             [
1101                 "IP_API_DSCP_EF",
1102                 46
1103             ],
1104             [
1105                 "IP_API_DSCP_CS6",
1106                 48
1107             ],
1108             [
1109                 "IP_API_DSCP_CS7",
1110                 50
1111             ],
1112             {
1113                 "enumtype": "u8"
1114             }
1115         ],
1116         [
1117             "ip_proto",
1118             [
1119                 "IP_API_PROTO_HOPOPT",
1120                 0
1121             ],
1122             [
1123                 "IP_API_PROTO_ICMP",
1124                 1
1125             ],
1126             [
1127                 "IP_API_PROTO_IGMP",
1128                 2
1129             ],
1130             [
1131                 "IP_API_PROTO_TCP",
1132                 6
1133             ],
1134             [
1135                 "IP_API_PROTO_UDP",
1136                 17
1137             ],
1138             [
1139                 "IP_API_PROTO_GRE",
1140                 47
1141             ],
1142             [
1143                 "IP_API_PROTO_AH",
1144                 50
1145             ],
1146             [
1147                 "IP_API_PROTO_ESP",
1148                 51
1149             ],
1150             [
1151                 "IP_API_PROTO_EIGRP",
1152                 88
1153             ],
1154             [
1155                 "IP_API_PROTO_OSPF",
1156                 89
1157             ],
1158             [
1159                 "IP_API_PROTO_SCTP",
1160                 132
1161             ],
1162             [
1163                 "IP_API_PROTO_RESERVED",
1164                 255
1165             ],
1166             {
1167                 "enumtype": "u32"
1168             }
1169         ],
1170         [
1171             "if_status_flags",
1172             [
1173                 "IF_STATUS_API_FLAG_ADMIN_UP",
1174                 1
1175             ],
1176             [
1177                 "IF_STATUS_API_FLAG_LINK_UP",
1178                 2
1179             ],
1180             {
1181                 "enumtype": "u32"
1182             }
1183         ],
1184         [
1185             "mtu_proto",
1186             [
1187                 "MTU_PROTO_API_L3",
1188                 1
1189             ],
1190             [
1191                 "MTU_PROTO_API_IP4",
1192                 2
1193             ],
1194             [
1195                 "MTU_PROTO_API_IP6",
1196                 3
1197             ],
1198             [
1199                 "MTU_PROTO_API_MPLS",
1200                 4
1201             ],
1202             [
1203                 "MTU_PROTO_API_N",
1204                 5
1205             ],
1206             {
1207                 "enumtype": "u32"
1208             }
1209         ],
1210         [
1211             "link_duplex",
1212             [
1213                 "LINK_DUPLEX_API_UNKNOWN",
1214                 0
1215             ],
1216             [
1217                 "LINK_DUPLEX_API_HALF",
1218                 1
1219             ],
1220             [
1221                 "LINK_DUPLEX_API_FULL",
1222                 2
1223             ],
1224             {
1225                 "enumtype": "u32"
1226             }
1227         ],
1228         [
1229             "sub_if_flags",
1230             [
1231                 "SUB_IF_API_FLAG_NO_TAGS",
1232                 1
1233             ],
1234             [
1235                 "SUB_IF_API_FLAG_ONE_TAG",
1236                 2
1237             ],
1238             [
1239                 "SUB_IF_API_FLAG_TWO_TAGS",
1240                 4
1241             ],
1242             [
1243                 "SUB_IF_API_FLAG_DOT1AD",
1244                 8
1245             ],
1246             [
1247                 "SUB_IF_API_FLAG_EXACT_MATCH",
1248                 16
1249             ],
1250             [
1251                 "SUB_IF_API_FLAG_DEFAULT",
1252                 32
1253             ],
1254             [
1255                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
1256                 64
1257             ],
1258             [
1259                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
1260                 128
1261             ],
1262             [
1263                 "SUB_IF_API_FLAG_MASK_VNET",
1264                 254
1265             ],
1266             [
1267                 "SUB_IF_API_FLAG_DOT1AH",
1268                 256
1269             ],
1270             {
1271                 "enumtype": "u32"
1272             }
1273         ],
1274         [
1275             "rx_mode",
1276             [
1277                 "RX_MODE_API_UNKNOWN",
1278                 0
1279             ],
1280             [
1281                 "RX_MODE_API_POLLING",
1282                 1
1283             ],
1284             [
1285                 "RX_MODE_API_INTERRUPT",
1286                 2
1287             ],
1288             [
1289                 "RX_MODE_API_ADAPTIVE",
1290                 3
1291             ],
1292             [
1293                 "RX_MODE_API_DEFAULT",
1294                 4
1295             ],
1296             {
1297                 "enumtype": "u32"
1298             }
1299         ],
1300         [
1301             "if_type",
1302             [
1303                 "IF_API_TYPE_HARDWARE",
1304                 1
1305             ],
1306             [
1307                 "IF_API_TYPE_SUB",
1308                 2
1309             ],
1310             [
1311                 "IF_API_TYPE_P2P",
1312                 3
1313             ],
1314             [
1315                 "IF_API_TYPE_PIPE",
1316                 4
1317             ],
1318             {
1319                 "enumtype": "u32"
1320             }
1321         ]
1322     ],
1323     "services": {
1324         "mpls_ip_bind_unbind": {
1325             "reply": "mpls_ip_bind_unbind_reply"
1326         },
1327         "mpls_tunnel_add_del": {
1328             "reply": "mpls_tunnel_add_del_reply"
1329         },
1330         "mpls_tunnel_dump": {
1331             "reply": "mpls_tunnel_details",
1332             "stream": true
1333         },
1334         "mpls_table_add_del": {
1335             "reply": "mpls_table_add_del_reply"
1336         },
1337         "mpls_table_dump": {
1338             "reply": "mpls_table_details",
1339             "stream": true
1340         },
1341         "mpls_route_add_del": {
1342             "reply": "mpls_route_add_del_reply"
1343         },
1344         "mpls_route_dump": {
1345             "reply": "mpls_route_details",
1346             "stream": true
1347         },
1348         "sw_interface_set_mpls_enable": {
1349             "reply": "sw_interface_set_mpls_enable_reply"
1350         }
1351     },
1352     "options": {
1353         "version": "1.1.1"
1354     },
1355     "aliases": {
1356         "ip4_address": {
1357             "type": "u8",
1358             "length": 4
1359         },
1360         "ip6_address": {
1361             "type": "u8",
1362             "length": 16
1363         },
1364         "address_with_prefix": {
1365             "type": "vl_api_prefix_t"
1366         },
1367         "ip4_address_with_prefix": {
1368             "type": "vl_api_ip4_prefix_t"
1369         },
1370         "ip6_address_with_prefix": {
1371             "type": "vl_api_ip6_prefix_t"
1372         },
1373         "interface_index": {
1374             "type": "u32"
1375         }
1376     },
1377     "vl_api_version": "0xfe593e14"
1378 }