Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / svs.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             "svs_plugin_get_version",
81             [
82                 "u16",
83                 "_vl_msg_id"
84             ],
85             [
86                 "u32",
87                 "client_index"
88             ],
89             [
90                 "u32",
91                 "context"
92             ],
93             {
94                 "crc": "0x51077d14"
95             }
96         ],
97         [
98             "svs_plugin_get_version_reply",
99             [
100                 "u16",
101                 "_vl_msg_id"
102             ],
103             [
104                 "u32",
105                 "context"
106             ],
107             [
108                 "u32",
109                 "major"
110             ],
111             [
112                 "u32",
113                 "minor"
114             ],
115             {
116                 "crc": "0x9b32cf86"
117             }
118         ],
119         [
120             "svs_table_add_del",
121             [
122                 "u16",
123                 "_vl_msg_id"
124             ],
125             [
126                 "u32",
127                 "client_index"
128             ],
129             [
130                 "u32",
131                 "context"
132             ],
133             [
134                 "bool",
135                 "is_add"
136             ],
137             [
138                 "vl_api_address_family_t",
139                 "af"
140             ],
141             [
142                 "u32",
143                 "table_id"
144             ],
145             {
146                 "crc": "0x7d21cb2a"
147             }
148         ],
149         [
150             "svs_table_add_del_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             "svs_route_add_del",
169             [
170                 "u16",
171                 "_vl_msg_id"
172             ],
173             [
174                 "u32",
175                 "client_index"
176             ],
177             [
178                 "u32",
179                 "context"
180             ],
181             [
182                 "bool",
183                 "is_add"
184             ],
185             [
186                 "vl_api_prefix_t",
187                 "prefix"
188             ],
189             [
190                 "u32",
191                 "table_id"
192             ],
193             [
194                 "u32",
195                 "source_table_id"
196             ],
197             {
198                 "crc": "0xd39e31fc"
199             }
200         ],
201         [
202             "svs_route_add_del_reply",
203             [
204                 "u16",
205                 "_vl_msg_id"
206             ],
207             [
208                 "u32",
209                 "context"
210             ],
211             [
212                 "i32",
213                 "retval"
214             ],
215             {
216                 "crc": "0xe8d4e804"
217             }
218         ],
219         [
220             "svs_enable_disable",
221             [
222                 "u16",
223                 "_vl_msg_id"
224             ],
225             [
226                 "u32",
227                 "client_index"
228             ],
229             [
230                 "u32",
231                 "context"
232             ],
233             [
234                 "bool",
235                 "is_enable"
236             ],
237             [
238                 "vl_api_address_family_t",
239                 "af"
240             ],
241             [
242                 "u32",
243                 "table_id"
244             ],
245             [
246                 "vl_api_interface_index_t",
247                 "sw_if_index"
248             ],
249             {
250                 "crc": "0x634b89d2"
251             }
252         ],
253         [
254             "svs_enable_disable_reply",
255             [
256                 "u16",
257                 "_vl_msg_id"
258             ],
259             [
260                 "u32",
261                 "context"
262             ],
263             [
264                 "i32",
265                 "retval"
266             ],
267             {
268                 "crc": "0xe8d4e804"
269             }
270         ],
271         [
272             "svs_dump",
273             [
274                 "u16",
275                 "_vl_msg_id"
276             ],
277             [
278                 "u32",
279                 "client_index"
280             ],
281             [
282                 "u32",
283                 "context"
284             ],
285             {
286                 "crc": "0x51077d14"
287             }
288         ],
289         [
290             "svs_details",
291             [
292                 "u16",
293                 "_vl_msg_id"
294             ],
295             [
296                 "u32",
297                 "context"
298             ],
299             [
300                 "u32",
301                 "table_id"
302             ],
303             [
304                 "vl_api_interface_index_t",
305                 "sw_if_index"
306             ],
307             [
308                 "vl_api_address_family_t",
309                 "af"
310             ],
311             {
312                 "crc": "0xb8523d64"
313             }
314         ]
315     ],
316     "unions": [
317         [
318             "address_union",
319             [
320                 "vl_api_ip4_address_t",
321                 "ip4"
322             ],
323             [
324                 "vl_api_ip6_address_t",
325                 "ip6"
326             ]
327         ]
328     ],
329     "enums": [
330         [
331             "address_family",
332             [
333                 "ADDRESS_IP4",
334                 0
335             ],
336             [
337                 "ADDRESS_IP6",
338                 1
339             ],
340             {
341                 "enumtype": "u32"
342             }
343         ],
344         [
345             "ip_ecn",
346             [
347                 "IP_API_ECN_NONE",
348                 0
349             ],
350             [
351                 "IP_API_ECN_ECT0",
352                 1
353             ],
354             [
355                 "IP_API_ECN_ECT1",
356                 2
357             ],
358             [
359                 "IP_API_ECN_CE",
360                 3
361             ],
362             {
363                 "enumtype": "u8"
364             }
365         ],
366         [
367             "ip_dscp",
368             [
369                 "IP_API_DSCP_CS0",
370                 0
371             ],
372             [
373                 "IP_API_DSCP_CS1",
374                 8
375             ],
376             [
377                 "IP_API_DSCP_AF11",
378                 10
379             ],
380             [
381                 "IP_API_DSCP_AF12",
382                 12
383             ],
384             [
385                 "IP_API_DSCP_AF13",
386                 14
387             ],
388             [
389                 "IP_API_DSCP_CS2",
390                 16
391             ],
392             [
393                 "IP_API_DSCP_AF21",
394                 18
395             ],
396             [
397                 "IP_API_DSCP_AF22",
398                 20
399             ],
400             [
401                 "IP_API_DSCP_AF23",
402                 22
403             ],
404             [
405                 "IP_API_DSCP_CS3",
406                 24
407             ],
408             [
409                 "IP_API_DSCP_AF31",
410                 26
411             ],
412             [
413                 "IP_API_DSCP_AF32",
414                 28
415             ],
416             [
417                 "IP_API_DSCP_AF33",
418                 30
419             ],
420             [
421                 "IP_API_DSCP_CS4",
422                 32
423             ],
424             [
425                 "IP_API_DSCP_AF41",
426                 34
427             ],
428             [
429                 "IP_API_DSCP_AF42",
430                 36
431             ],
432             [
433                 "IP_API_DSCP_AF43",
434                 38
435             ],
436             [
437                 "IP_API_DSCP_CS5",
438                 40
439             ],
440             [
441                 "IP_API_DSCP_EF",
442                 46
443             ],
444             [
445                 "IP_API_DSCP_CS6",
446                 48
447             ],
448             [
449                 "IP_API_DSCP_CS7",
450                 50
451             ],
452             {
453                 "enumtype": "u8"
454             }
455         ],
456         [
457             "ip_proto",
458             [
459                 "IP_API_PROTO_HOPOPT",
460                 0
461             ],
462             [
463                 "IP_API_PROTO_ICMP",
464                 1
465             ],
466             [
467                 "IP_API_PROTO_IGMP",
468                 2
469             ],
470             [
471                 "IP_API_PROTO_TCP",
472                 6
473             ],
474             [
475                 "IP_API_PROTO_UDP",
476                 17
477             ],
478             [
479                 "IP_API_PROTO_GRE",
480                 47
481             ],
482             [
483                 "IP_API_PROTO_AH",
484                 50
485             ],
486             [
487                 "IP_API_PROTO_ESP",
488                 51
489             ],
490             [
491                 "IP_API_PROTO_EIGRP",
492                 88
493             ],
494             [
495                 "IP_API_PROTO_OSPF",
496                 89
497             ],
498             [
499                 "IP_API_PROTO_SCTP",
500                 132
501             ],
502             [
503                 "IP_API_PROTO_RESERVED",
504                 255
505             ],
506             {
507                 "enumtype": "u32"
508             }
509         ],
510         [
511             "if_status_flags",
512             [
513                 "IF_STATUS_API_FLAG_ADMIN_UP",
514                 1
515             ],
516             [
517                 "IF_STATUS_API_FLAG_LINK_UP",
518                 2
519             ],
520             {
521                 "enumtype": "u32"
522             }
523         ],
524         [
525             "mtu_proto",
526             [
527                 "MTU_PROTO_API_L3",
528                 1
529             ],
530             [
531                 "MTU_PROTO_API_IP4",
532                 2
533             ],
534             [
535                 "MTU_PROTO_API_IP6",
536                 3
537             ],
538             [
539                 "MTU_PROTO_API_MPLS",
540                 4
541             ],
542             [
543                 "MTU_PROTO_API_N",
544                 5
545             ],
546             {
547                 "enumtype": "u32"
548             }
549         ],
550         [
551             "link_duplex",
552             [
553                 "LINK_DUPLEX_API_UNKNOWN",
554                 0
555             ],
556             [
557                 "LINK_DUPLEX_API_HALF",
558                 1
559             ],
560             [
561                 "LINK_DUPLEX_API_FULL",
562                 2
563             ],
564             {
565                 "enumtype": "u32"
566             }
567         ],
568         [
569             "sub_if_flags",
570             [
571                 "SUB_IF_API_FLAG_NO_TAGS",
572                 1
573             ],
574             [
575                 "SUB_IF_API_FLAG_ONE_TAG",
576                 2
577             ],
578             [
579                 "SUB_IF_API_FLAG_TWO_TAGS",
580                 4
581             ],
582             [
583                 "SUB_IF_API_FLAG_DOT1AD",
584                 8
585             ],
586             [
587                 "SUB_IF_API_FLAG_EXACT_MATCH",
588                 16
589             ],
590             [
591                 "SUB_IF_API_FLAG_DEFAULT",
592                 32
593             ],
594             [
595                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
596                 64
597             ],
598             [
599                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
600                 128
601             ],
602             [
603                 "SUB_IF_API_FLAG_MASK_VNET",
604                 254
605             ],
606             [
607                 "SUB_IF_API_FLAG_DOT1AH",
608                 256
609             ],
610             {
611                 "enumtype": "u32"
612             }
613         ],
614         [
615             "rx_mode",
616             [
617                 "RX_MODE_API_UNKNOWN",
618                 0
619             ],
620             [
621                 "RX_MODE_API_POLLING",
622                 1
623             ],
624             [
625                 "RX_MODE_API_INTERRUPT",
626                 2
627             ],
628             [
629                 "RX_MODE_API_ADAPTIVE",
630                 3
631             ],
632             [
633                 "RX_MODE_API_DEFAULT",
634                 4
635             ],
636             {
637                 "enumtype": "u32"
638             }
639         ],
640         [
641             "if_type",
642             [
643                 "IF_API_TYPE_HARDWARE",
644                 1
645             ],
646             [
647                 "IF_API_TYPE_SUB",
648                 2
649             ],
650             [
651                 "IF_API_TYPE_P2P",
652                 3
653             ],
654             [
655                 "IF_API_TYPE_PIPE",
656                 4
657             ],
658             {
659                 "enumtype": "u32"
660             }
661         ]
662     ],
663     "services": {
664         "svs_plugin_get_version": {
665             "reply": "svs_plugin_get_version_reply"
666         },
667         "svs_table_add_del": {
668             "reply": "svs_table_add_del_reply"
669         },
670         "svs_route_add_del": {
671             "reply": "svs_route_add_del_reply"
672         },
673         "svs_enable_disable": {
674             "reply": "svs_enable_disable_reply"
675         },
676         "svs_dump": {
677             "reply": "svs_details",
678             "stream": true
679         }
680     },
681     "options": {
682         "version": "1.0.0"
683     },
684     "aliases": {
685         "ip4_address": {
686             "type": "u8",
687             "length": 4
688         },
689         "ip6_address": {
690             "type": "u8",
691             "length": 16
692         },
693         "address_with_prefix": {
694             "type": "vl_api_prefix_t"
695         },
696         "ip4_address_with_prefix": {
697             "type": "vl_api_ip4_prefix_t"
698         },
699         "ip6_address_with_prefix": {
700             "type": "vl_api_ip6_prefix_t"
701         },
702         "interface_index": {
703             "type": "u32"
704         }
705     },
706     "vl_api_version": "0xf870d4cb"
707 }