Fix union data size for types with enums
[govpp.git] / examples / bin_api / tap.api.json
1 {
2     "messages": [
3         [
4             "tap_connect",
5             [
6                 "u16",
7                 "_vl_msg_id"
8             ],
9             [
10                 "u32",
11                 "client_index"
12             ],
13             [
14                 "u32",
15                 "context"
16             ],
17             [
18                 "u8",
19                 "use_random_mac"
20             ],
21             [
22                 "u8",
23                 "tap_name",
24                 64
25             ],
26             [
27                 "u8",
28                 "mac_address",
29                 6
30             ],
31             [
32                 "u8",
33                 "renumber"
34             ],
35             [
36                 "u32",
37                 "custom_dev_instance"
38             ],
39             [
40                 "u8",
41                 "ip4_address_set"
42             ],
43             [
44                 "u8",
45                 "ip4_address",
46                 4
47             ],
48             [
49                 "u8",
50                 "ip4_mask_width"
51             ],
52             [
53                 "u8",
54                 "ip6_address_set"
55             ],
56             [
57                 "u8",
58                 "ip6_address",
59                 16
60             ],
61             [
62                 "u8",
63                 "ip6_mask_width"
64             ],
65             [
66                 "u8",
67                 "tag",
68                 64
69             ],
70             {
71                 "crc": "0x9b9c396f"
72             }
73         ],
74         [
75             "tap_connect_reply",
76             [
77                 "u16",
78                 "_vl_msg_id"
79             ],
80             [
81                 "u32",
82                 "context"
83             ],
84             [
85                 "i32",
86                 "retval"
87             ],
88             [
89                 "u32",
90                 "sw_if_index"
91             ],
92             {
93                 "crc": "0xfda5941f"
94             }
95         ],
96         [
97             "tap_modify",
98             [
99                 "u16",
100                 "_vl_msg_id"
101             ],
102             [
103                 "u32",
104                 "client_index"
105             ],
106             [
107                 "u32",
108                 "context"
109             ],
110             [
111                 "u32",
112                 "sw_if_index"
113             ],
114             [
115                 "u8",
116                 "use_random_mac"
117             ],
118             [
119                 "u8",
120                 "tap_name",
121                 64
122             ],
123             [
124                 "u8",
125                 "mac_address",
126                 6
127             ],
128             [
129                 "u8",
130                 "renumber"
131             ],
132             [
133                 "u32",
134                 "custom_dev_instance"
135             ],
136             {
137                 "crc": "0x8047ae5c"
138             }
139         ],
140         [
141             "tap_modify_reply",
142             [
143                 "u16",
144                 "_vl_msg_id"
145             ],
146             [
147                 "u32",
148                 "context"
149             ],
150             [
151                 "i32",
152                 "retval"
153             ],
154             [
155                 "u32",
156                 "sw_if_index"
157             ],
158             {
159                 "crc": "0xfda5941f"
160             }
161         ],
162         [
163             "tap_delete",
164             [
165                 "u16",
166                 "_vl_msg_id"
167             ],
168             [
169                 "u32",
170                 "client_index"
171             ],
172             [
173                 "u32",
174                 "context"
175             ],
176             [
177                 "u32",
178                 "sw_if_index"
179             ],
180             {
181                 "crc": "0x529cb13f"
182             }
183         ],
184         [
185             "tap_delete_reply",
186             [
187                 "u16",
188                 "_vl_msg_id"
189             ],
190             [
191                 "u32",
192                 "context"
193             ],
194             [
195                 "i32",
196                 "retval"
197             ],
198             {
199                 "crc": "0xe8d4e804"
200             }
201         ],
202         [
203             "sw_interface_tap_dump",
204             [
205                 "u16",
206                 "_vl_msg_id"
207             ],
208             [
209                 "u32",
210                 "client_index"
211             ],
212             [
213                 "u32",
214                 "context"
215             ],
216             {
217                 "crc": "0x51077d14"
218             }
219         ],
220         [
221             "sw_interface_tap_details",
222             [
223                 "u16",
224                 "_vl_msg_id"
225             ],
226             [
227                 "u32",
228                 "context"
229             ],
230             [
231                 "u32",
232                 "sw_if_index"
233             ],
234             [
235                 "u8",
236                 "dev_name",
237                 64
238             ],
239             {
240                 "crc": "0x76229a57"
241             }
242         ]
243     ],
244     "vl_api_version": "0xacec1ba1",
245     "unions": [],
246     "services": {
247         "tap_delete": {
248             "reply": "tap_delete_reply"
249         },
250         "sw_interface_tap_dump": {
251             "reply": "sw_interface_tap_details",
252             "stream": true
253         },
254         "tap_modify": {
255             "reply": "tap_modify_reply"
256         },
257         "tap_connect": {
258             "reply": "tap_connect_reply"
259         }
260     },
261     "enums": [],
262     "types": [],
263     "aliases": {}
264 }