Fix union data size for types with enums
[govpp.git] / examples / bin_api / vpe.api.json
1 {
2     "messages": [
3         [
4             "control_ping",
5             [
6                 "u16",
7                 "_vl_msg_id"
8             ],
9             [
10                 "u32",
11                 "client_index"
12             ],
13             [
14                 "u32",
15                 "context"
16             ],
17             {
18                 "crc": "0x51077d14"
19             }
20         ],
21         [
22             "control_ping_reply",
23             [
24                 "u16",
25                 "_vl_msg_id"
26             ],
27             [
28                 "u32",
29                 "context"
30             ],
31             [
32                 "i32",
33                 "retval"
34             ],
35             [
36                 "u32",
37                 "client_index"
38             ],
39             [
40                 "u32",
41                 "vpe_pid"
42             ],
43             {
44                 "crc": "0xf6b0b8ca"
45             }
46         ],
47         [
48             "cli",
49             [
50                 "u16",
51                 "_vl_msg_id"
52             ],
53             [
54                 "u32",
55                 "client_index"
56             ],
57             [
58                 "u32",
59                 "context"
60             ],
61             [
62                 "u64",
63                 "cmd_in_shmem"
64             ],
65             {
66                 "crc": "0x23bfbfff"
67             }
68         ],
69         [
70             "cli_inband",
71             [
72                 "u16",
73                 "_vl_msg_id"
74             ],
75             [
76                 "u32",
77                 "client_index"
78             ],
79             [
80                 "u32",
81                 "context"
82             ],
83             [
84                 "string",
85                 "cmd"
86             ],
87             {
88                 "crc": "0xb1ad59b3"
89             }
90         ],
91         [
92             "cli_reply",
93             [
94                 "u16",
95                 "_vl_msg_id"
96             ],
97             [
98                 "u32",
99                 "context"
100             ],
101             [
102                 "i32",
103                 "retval"
104             ],
105             [
106                 "u64",
107                 "reply_in_shmem"
108             ],
109             {
110                 "crc": "0x06d68297"
111             }
112         ],
113         [
114             "cli_inband_reply",
115             [
116                 "u16",
117                 "_vl_msg_id"
118             ],
119             [
120                 "u32",
121                 "context"
122             ],
123             [
124                 "i32",
125                 "retval"
126             ],
127             [
128                 "string",
129                 "reply"
130             ],
131             {
132                 "crc": "0x6d3c80a4"
133             }
134         ],
135         [
136             "get_node_index",
137             [
138                 "u16",
139                 "_vl_msg_id"
140             ],
141             [
142                 "u32",
143                 "client_index"
144             ],
145             [
146                 "u32",
147                 "context"
148             ],
149             [
150                 "u8",
151                 "node_name",
152                 64
153             ],
154             {
155                 "crc": "0x6c9a495d"
156             }
157         ],
158         [
159             "get_node_index_reply",
160             [
161                 "u16",
162                 "_vl_msg_id"
163             ],
164             [
165                 "u32",
166                 "context"
167             ],
168             [
169                 "i32",
170                 "retval"
171             ],
172             [
173                 "u32",
174                 "node_index"
175             ],
176             {
177                 "crc": "0xa8600b89"
178             }
179         ],
180         [
181             "add_node_next",
182             [
183                 "u16",
184                 "_vl_msg_id"
185             ],
186             [
187                 "u32",
188                 "client_index"
189             ],
190             [
191                 "u32",
192                 "context"
193             ],
194             [
195                 "u8",
196                 "node_name",
197                 64
198             ],
199             [
200                 "u8",
201                 "next_name",
202                 64
203             ],
204             {
205                 "crc": "0x9ab92f7a"
206             }
207         ],
208         [
209             "add_node_next_reply",
210             [
211                 "u16",
212                 "_vl_msg_id"
213             ],
214             [
215                 "u32",
216                 "context"
217             ],
218             [
219                 "i32",
220                 "retval"
221             ],
222             [
223                 "u32",
224                 "next_index"
225             ],
226             {
227                 "crc": "0x2ed75f32"
228             }
229         ],
230         [
231             "show_version",
232             [
233                 "u16",
234                 "_vl_msg_id"
235             ],
236             [
237                 "u32",
238                 "client_index"
239             ],
240             [
241                 "u32",
242                 "context"
243             ],
244             {
245                 "crc": "0x51077d14"
246             }
247         ],
248         [
249             "show_version_reply",
250             [
251                 "u16",
252                 "_vl_msg_id"
253             ],
254             [
255                 "u32",
256                 "context"
257             ],
258             [
259                 "i32",
260                 "retval"
261             ],
262             [
263                 "string",
264                 "program"
265             ],
266             [
267                 "string",
268                 "version"
269             ],
270             [
271                 "string",
272                 "build_date"
273             ],
274             [
275                 "string",
276                 "build_directory"
277             ],
278             {
279                 "crc": "0xb9bcf6df"
280             }
281         ],
282         [
283             "show_threads",
284             [
285                 "u16",
286                 "_vl_msg_id"
287             ],
288             [
289                 "u32",
290                 "client_index"
291             ],
292             [
293                 "u32",
294                 "context"
295             ],
296             {
297                 "crc": "0x51077d14"
298             }
299         ],
300         [
301             "show_threads_reply",
302             [
303                 "u16",
304                 "_vl_msg_id"
305             ],
306             [
307                 "u32",
308                 "context"
309             ],
310             [
311                 "i32",
312                 "retval"
313             ],
314             [
315                 "u32",
316                 "count"
317             ],
318             [
319                 "vl_api_thread_data_t",
320                 "thread_data",
321                 0,
322                 "count"
323             ],
324             {
325                 "crc": "0x6942fb35"
326             }
327         ],
328         [
329             "get_node_graph",
330             [
331                 "u16",
332                 "_vl_msg_id"
333             ],
334             [
335                 "u32",
336                 "client_index"
337             ],
338             [
339                 "u32",
340                 "context"
341             ],
342             {
343                 "crc": "0x51077d14"
344             }
345         ],
346         [
347             "get_node_graph_reply",
348             [
349                 "u16",
350                 "_vl_msg_id"
351             ],
352             [
353                 "u32",
354                 "context"
355             ],
356             [
357                 "i32",
358                 "retval"
359             ],
360             [
361                 "u64",
362                 "reply_in_shmem"
363             ],
364             {
365                 "crc": "0x06d68297"
366             }
367         ],
368         [
369             "get_next_index",
370             [
371                 "u16",
372                 "_vl_msg_id"
373             ],
374             [
375                 "u32",
376                 "client_index"
377             ],
378             [
379                 "u32",
380                 "context"
381             ],
382             [
383                 "u8",
384                 "node_name",
385                 64
386             ],
387             [
388                 "u8",
389                 "next_name",
390                 64
391             ],
392             {
393                 "crc": "0x9ab92f7a"
394             }
395         ],
396         [
397             "get_next_index_reply",
398             [
399                 "u16",
400                 "_vl_msg_id"
401             ],
402             [
403                 "u32",
404                 "context"
405             ],
406             [
407                 "i32",
408                 "retval"
409             ],
410             [
411                 "u32",
412                 "next_index"
413             ],
414             {
415                 "crc": "0x2ed75f32"
416             }
417         ]
418     ],
419     "vl_api_version": "0x2cc8d629",
420     "unions": [],
421     "services": {
422         "cli_inband": {
423             "reply": "cli_inband_reply"
424         },
425         "get_node_index": {
426             "reply": "get_node_index_reply"
427         },
428         "cli": {
429             "reply": "cli_reply"
430         },
431         "show_version": {
432             "reply": "show_version_reply"
433         },
434         "get_node_graph": {
435             "reply": "get_node_graph_reply"
436         },
437         "get_next_index": {
438             "reply": "get_next_index_reply"
439         },
440         "show_threads": {
441             "reply": "show_threads_reply"
442         },
443         "add_node_next": {
444             "reply": "add_node_next_reply"
445         },
446         "control_ping": {
447             "reply": "control_ping_reply"
448         }
449     },
450     "enums": [],
451     "types": [
452         [
453             "thread_data",
454             [
455                 "u32",
456                 "id"
457             ],
458             [
459                 "u8",
460                 "name",
461                 64
462             ],
463             [
464                 "u8",
465                 "type",
466                 64
467             ],
468             [
469                 "u32",
470                 "pid"
471             ],
472             [
473                 "u32",
474                 "cpu_id"
475             ],
476             [
477                 "u32",
478                 "core"
479             ],
480             [
481                 "u32",
482                 "cpu_socket"
483             ],
484             {
485                 "crc": "0x0f57094e"
486             }
487         ]
488     ],
489     "aliases": {}
490 }