Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / pppoe.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             "pppoe_add_del_session",
81             [
82                 "u16",
83                 "_vl_msg_id"
84             ],
85             [
86                 "u32",
87                 "client_index"
88             ],
89             [
90                 "u32",
91                 "context"
92             ],
93             [
94                 "bool",
95                 "is_add"
96             ],
97             [
98                 "u16",
99                 "session_id"
100             ],
101             [
102                 "vl_api_address_t",
103                 "client_ip"
104             ],
105             [
106                 "u32",
107                 "decap_vrf_id"
108             ],
109             [
110                 "vl_api_mac_address_t",
111                 "client_mac"
112             ],
113             {
114                 "crc": "0x46ace853"
115             }
116         ],
117         [
118             "pppoe_add_del_session_reply",
119             [
120                 "u16",
121                 "_vl_msg_id"
122             ],
123             [
124                 "u32",
125                 "context"
126             ],
127             [
128                 "i32",
129                 "retval"
130             ],
131             [
132                 "vl_api_interface_index_t",
133                 "sw_if_index"
134             ],
135             {
136                 "crc": "0x5383d31f"
137             }
138         ],
139         [
140             "pppoe_session_dump",
141             [
142                 "u16",
143                 "_vl_msg_id"
144             ],
145             [
146                 "u32",
147                 "client_index"
148             ],
149             [
150                 "u32",
151                 "context"
152             ],
153             [
154                 "vl_api_interface_index_t",
155                 "sw_if_index"
156             ],
157             {
158                 "crc": "0xf9e6675e"
159             }
160         ],
161         [
162             "pppoe_session_details",
163             [
164                 "u16",
165                 "_vl_msg_id"
166             ],
167             [
168                 "u32",
169                 "context"
170             ],
171             [
172                 "vl_api_interface_index_t",
173                 "sw_if_index"
174             ],
175             [
176                 "u16",
177                 "session_id"
178             ],
179             [
180                 "vl_api_address_t",
181                 "client_ip"
182             ],
183             [
184                 "vl_api_interface_index_t",
185                 "encap_if_index"
186             ],
187             [
188                 "u32",
189                 "decap_vrf_id"
190             ],
191             [
192                 "vl_api_mac_address_t",
193                 "local_mac"
194             ],
195             [
196                 "vl_api_mac_address_t",
197                 "client_mac"
198             ],
199             {
200                 "crc": "0x332bc742"
201             }
202         ]
203     ],
204     "unions": [
205         [
206             "address_union",
207             [
208                 "vl_api_ip4_address_t",
209                 "ip4"
210             ],
211             [
212                 "vl_api_ip6_address_t",
213                 "ip6"
214             ]
215         ]
216     ],
217     "enums": [
218         [
219             "if_status_flags",
220             [
221                 "IF_STATUS_API_FLAG_ADMIN_UP",
222                 1
223             ],
224             [
225                 "IF_STATUS_API_FLAG_LINK_UP",
226                 2
227             ],
228             {
229                 "enumtype": "u32"
230             }
231         ],
232         [
233             "mtu_proto",
234             [
235                 "MTU_PROTO_API_L3",
236                 1
237             ],
238             [
239                 "MTU_PROTO_API_IP4",
240                 2
241             ],
242             [
243                 "MTU_PROTO_API_IP6",
244                 3
245             ],
246             [
247                 "MTU_PROTO_API_MPLS",
248                 4
249             ],
250             [
251                 "MTU_PROTO_API_N",
252                 5
253             ],
254             {
255                 "enumtype": "u32"
256             }
257         ],
258         [
259             "link_duplex",
260             [
261                 "LINK_DUPLEX_API_UNKNOWN",
262                 0
263             ],
264             [
265                 "LINK_DUPLEX_API_HALF",
266                 1
267             ],
268             [
269                 "LINK_DUPLEX_API_FULL",
270                 2
271             ],
272             {
273                 "enumtype": "u32"
274             }
275         ],
276         [
277             "sub_if_flags",
278             [
279                 "SUB_IF_API_FLAG_NO_TAGS",
280                 1
281             ],
282             [
283                 "SUB_IF_API_FLAG_ONE_TAG",
284                 2
285             ],
286             [
287                 "SUB_IF_API_FLAG_TWO_TAGS",
288                 4
289             ],
290             [
291                 "SUB_IF_API_FLAG_DOT1AD",
292                 8
293             ],
294             [
295                 "SUB_IF_API_FLAG_EXACT_MATCH",
296                 16
297             ],
298             [
299                 "SUB_IF_API_FLAG_DEFAULT",
300                 32
301             ],
302             [
303                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
304                 64
305             ],
306             [
307                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
308                 128
309             ],
310             [
311                 "SUB_IF_API_FLAG_MASK_VNET",
312                 254
313             ],
314             [
315                 "SUB_IF_API_FLAG_DOT1AH",
316                 256
317             ],
318             {
319                 "enumtype": "u32"
320             }
321         ],
322         [
323             "rx_mode",
324             [
325                 "RX_MODE_API_UNKNOWN",
326                 0
327             ],
328             [
329                 "RX_MODE_API_POLLING",
330                 1
331             ],
332             [
333                 "RX_MODE_API_INTERRUPT",
334                 2
335             ],
336             [
337                 "RX_MODE_API_ADAPTIVE",
338                 3
339             ],
340             [
341                 "RX_MODE_API_DEFAULT",
342                 4
343             ],
344             {
345                 "enumtype": "u32"
346             }
347         ],
348         [
349             "if_type",
350             [
351                 "IF_API_TYPE_HARDWARE",
352                 1
353             ],
354             [
355                 "IF_API_TYPE_SUB",
356                 2
357             ],
358             [
359                 "IF_API_TYPE_P2P",
360                 3
361             ],
362             [
363                 "IF_API_TYPE_PIPE",
364                 4
365             ],
366             {
367                 "enumtype": "u32"
368             }
369         ],
370         [
371             "address_family",
372             [
373                 "ADDRESS_IP4",
374                 0
375             ],
376             [
377                 "ADDRESS_IP6",
378                 1
379             ],
380             {
381                 "enumtype": "u32"
382             }
383         ],
384         [
385             "ip_ecn",
386             [
387                 "IP_API_ECN_NONE",
388                 0
389             ],
390             [
391                 "IP_API_ECN_ECT0",
392                 1
393             ],
394             [
395                 "IP_API_ECN_ECT1",
396                 2
397             ],
398             [
399                 "IP_API_ECN_CE",
400                 3
401             ],
402             {
403                 "enumtype": "u8"
404             }
405         ],
406         [
407             "ip_dscp",
408             [
409                 "IP_API_DSCP_CS0",
410                 0
411             ],
412             [
413                 "IP_API_DSCP_CS1",
414                 8
415             ],
416             [
417                 "IP_API_DSCP_AF11",
418                 10
419             ],
420             [
421                 "IP_API_DSCP_AF12",
422                 12
423             ],
424             [
425                 "IP_API_DSCP_AF13",
426                 14
427             ],
428             [
429                 "IP_API_DSCP_CS2",
430                 16
431             ],
432             [
433                 "IP_API_DSCP_AF21",
434                 18
435             ],
436             [
437                 "IP_API_DSCP_AF22",
438                 20
439             ],
440             [
441                 "IP_API_DSCP_AF23",
442                 22
443             ],
444             [
445                 "IP_API_DSCP_CS3",
446                 24
447             ],
448             [
449                 "IP_API_DSCP_AF31",
450                 26
451             ],
452             [
453                 "IP_API_DSCP_AF32",
454                 28
455             ],
456             [
457                 "IP_API_DSCP_AF33",
458                 30
459             ],
460             [
461                 "IP_API_DSCP_CS4",
462                 32
463             ],
464             [
465                 "IP_API_DSCP_AF41",
466                 34
467             ],
468             [
469                 "IP_API_DSCP_AF42",
470                 36
471             ],
472             [
473                 "IP_API_DSCP_AF43",
474                 38
475             ],
476             [
477                 "IP_API_DSCP_CS5",
478                 40
479             ],
480             [
481                 "IP_API_DSCP_EF",
482                 46
483             ],
484             [
485                 "IP_API_DSCP_CS6",
486                 48
487             ],
488             [
489                 "IP_API_DSCP_CS7",
490                 50
491             ],
492             {
493                 "enumtype": "u8"
494             }
495         ],
496         [
497             "ip_proto",
498             [
499                 "IP_API_PROTO_HOPOPT",
500                 0
501             ],
502             [
503                 "IP_API_PROTO_ICMP",
504                 1
505             ],
506             [
507                 "IP_API_PROTO_IGMP",
508                 2
509             ],
510             [
511                 "IP_API_PROTO_TCP",
512                 6
513             ],
514             [
515                 "IP_API_PROTO_UDP",
516                 17
517             ],
518             [
519                 "IP_API_PROTO_GRE",
520                 47
521             ],
522             [
523                 "IP_API_PROTO_AH",
524                 50
525             ],
526             [
527                 "IP_API_PROTO_ESP",
528                 51
529             ],
530             [
531                 "IP_API_PROTO_EIGRP",
532                 88
533             ],
534             [
535                 "IP_API_PROTO_OSPF",
536                 89
537             ],
538             [
539                 "IP_API_PROTO_SCTP",
540                 132
541             ],
542             [
543                 "IP_API_PROTO_RESERVED",
544                 255
545             ],
546             {
547                 "enumtype": "u32"
548             }
549         ]
550     ],
551     "services": {
552         "pppoe_add_del_session": {
553             "reply": "pppoe_add_del_session_reply"
554         },
555         "pppoe_session_dump": {
556             "reply": "pppoe_session_details",
557             "stream": true
558         }
559     },
560     "options": {
561         "version": "2.0.0"
562     },
563     "aliases": {
564         "interface_index": {
565             "type": "u32"
566         },
567         "mac_address": {
568             "type": "u8",
569             "length": 6
570         },
571         "ip4_address": {
572             "type": "u8",
573             "length": 4
574         },
575         "ip6_address": {
576             "type": "u8",
577             "length": 16
578         },
579         "address_with_prefix": {
580             "type": "vl_api_prefix_t"
581         },
582         "ip4_address_with_prefix": {
583             "type": "vl_api_ip4_prefix_t"
584         },
585         "ip6_address_with_prefix": {
586             "type": "vl_api_ip6_prefix_t"
587         }
588     },
589     "vl_api_version": "0xb83e4d5f"
590 }