Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / nsh.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "nsh_add_del_entry",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "bool",
20                 "is_add"
21             ],
22             [
23                 "u32",
24                 "nsp_nsi"
25             ],
26             [
27                 "u8",
28                 "md_type"
29             ],
30             [
31                 "u8",
32                 "ver_o_c"
33             ],
34             [
35                 "u8",
36                 "ttl"
37             ],
38             [
39                 "u8",
40                 "length"
41             ],
42             [
43                 "u8",
44                 "next_protocol"
45             ],
46             [
47                 "u32",
48                 "c1"
49             ],
50             [
51                 "u32",
52                 "c2"
53             ],
54             [
55                 "u32",
56                 "c3"
57             ],
58             [
59                 "u32",
60                 "c4"
61             ],
62             [
63                 "u8",
64                 "tlv_length"
65             ],
66             [
67                 "u8",
68                 "tlv",
69                 248
70             ],
71             {
72                 "crc": "0x7dea480b"
73             }
74         ],
75         [
76             "nsh_add_del_entry_reply",
77             [
78                 "u16",
79                 "_vl_msg_id"
80             ],
81             [
82                 "u32",
83                 "context"
84             ],
85             [
86                 "i32",
87                 "retval"
88             ],
89             [
90                 "u32",
91                 "entry_index"
92             ],
93             {
94                 "crc": "0x6296a9eb"
95             }
96         ],
97         [
98             "nsh_entry_dump",
99             [
100                 "u16",
101                 "_vl_msg_id"
102             ],
103             [
104                 "u32",
105                 "client_index"
106             ],
107             [
108                 "u32",
109                 "context"
110             ],
111             [
112                 "u32",
113                 "entry_index"
114             ],
115             {
116                 "crc": "0xcdaf8ccb"
117             }
118         ],
119         [
120             "nsh_entry_details",
121             [
122                 "u16",
123                 "_vl_msg_id"
124             ],
125             [
126                 "u32",
127                 "context"
128             ],
129             [
130                 "u32",
131                 "entry_index"
132             ],
133             [
134                 "u32",
135                 "nsp_nsi"
136             ],
137             [
138                 "u8",
139                 "md_type"
140             ],
141             [
142                 "u8",
143                 "ver_o_c"
144             ],
145             [
146                 "u8",
147                 "ttl"
148             ],
149             [
150                 "u8",
151                 "length"
152             ],
153             [
154                 "u8",
155                 "next_protocol"
156             ],
157             [
158                 "u32",
159                 "c1"
160             ],
161             [
162                 "u32",
163                 "c2"
164             ],
165             [
166                 "u32",
167                 "c3"
168             ],
169             [
170                 "u32",
171                 "c4"
172             ],
173             [
174                 "u8",
175                 "tlv_length"
176             ],
177             [
178                 "u8",
179                 "tlv",
180                 248
181             ],
182             {
183                 "crc": "0x046fb556"
184             }
185         ],
186         [
187             "nsh_add_del_map",
188             [
189                 "u16",
190                 "_vl_msg_id"
191             ],
192             [
193                 "u32",
194                 "client_index"
195             ],
196             [
197                 "u32",
198                 "context"
199             ],
200             [
201                 "bool",
202                 "is_add"
203             ],
204             [
205                 "u32",
206                 "nsp_nsi"
207             ],
208             [
209                 "u32",
210                 "mapped_nsp_nsi"
211             ],
212             [
213                 "u32",
214                 "nsh_action"
215             ],
216             [
217                 "vl_api_interface_index_t",
218                 "sw_if_index"
219             ],
220             [
221                 "vl_api_interface_index_t",
222                 "rx_sw_if_index"
223             ],
224             [
225                 "u32",
226                 "next_node"
227             ],
228             {
229                 "crc": "0x898d857d"
230             }
231         ],
232         [
233             "nsh_add_del_map_reply",
234             [
235                 "u16",
236                 "_vl_msg_id"
237             ],
238             [
239                 "u32",
240                 "context"
241             ],
242             [
243                 "i32",
244                 "retval"
245             ],
246             [
247                 "u32",
248                 "map_index"
249             ],
250             {
251                 "crc": "0xb2b127ef"
252             }
253         ],
254         [
255             "nsh_map_dump",
256             [
257                 "u16",
258                 "_vl_msg_id"
259             ],
260             [
261                 "u32",
262                 "client_index"
263             ],
264             [
265                 "u32",
266                 "context"
267             ],
268             [
269                 "u32",
270                 "map_index"
271             ],
272             {
273                 "crc": "0x8fc06b82"
274             }
275         ],
276         [
277             "nsh_map_details",
278             [
279                 "u16",
280                 "_vl_msg_id"
281             ],
282             [
283                 "u32",
284                 "context"
285             ],
286             [
287                 "u32",
288                 "map_index"
289             ],
290             [
291                 "u32",
292                 "nsp_nsi"
293             ],
294             [
295                 "u32",
296                 "mapped_nsp_nsi"
297             ],
298             [
299                 "u32",
300                 "nsh_action"
301             ],
302             [
303                 "vl_api_interface_index_t",
304                 "sw_if_index"
305             ],
306             [
307                 "vl_api_interface_index_t",
308                 "rx_sw_if_index"
309             ],
310             [
311                 "u32",
312                 "next_node"
313             ],
314             {
315                 "crc": "0xb34ac8a1"
316             }
317         ]
318     ],
319     "unions": [],
320     "enums": [
321         [
322             "if_status_flags",
323             [
324                 "IF_STATUS_API_FLAG_ADMIN_UP",
325                 1
326             ],
327             [
328                 "IF_STATUS_API_FLAG_LINK_UP",
329                 2
330             ],
331             {
332                 "enumtype": "u32"
333             }
334         ],
335         [
336             "mtu_proto",
337             [
338                 "MTU_PROTO_API_L3",
339                 1
340             ],
341             [
342                 "MTU_PROTO_API_IP4",
343                 2
344             ],
345             [
346                 "MTU_PROTO_API_IP6",
347                 3
348             ],
349             [
350                 "MTU_PROTO_API_MPLS",
351                 4
352             ],
353             [
354                 "MTU_PROTO_API_N",
355                 5
356             ],
357             {
358                 "enumtype": "u32"
359             }
360         ],
361         [
362             "link_duplex",
363             [
364                 "LINK_DUPLEX_API_UNKNOWN",
365                 0
366             ],
367             [
368                 "LINK_DUPLEX_API_HALF",
369                 1
370             ],
371             [
372                 "LINK_DUPLEX_API_FULL",
373                 2
374             ],
375             {
376                 "enumtype": "u32"
377             }
378         ],
379         [
380             "sub_if_flags",
381             [
382                 "SUB_IF_API_FLAG_NO_TAGS",
383                 1
384             ],
385             [
386                 "SUB_IF_API_FLAG_ONE_TAG",
387                 2
388             ],
389             [
390                 "SUB_IF_API_FLAG_TWO_TAGS",
391                 4
392             ],
393             [
394                 "SUB_IF_API_FLAG_DOT1AD",
395                 8
396             ],
397             [
398                 "SUB_IF_API_FLAG_EXACT_MATCH",
399                 16
400             ],
401             [
402                 "SUB_IF_API_FLAG_DEFAULT",
403                 32
404             ],
405             [
406                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
407                 64
408             ],
409             [
410                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
411                 128
412             ],
413             [
414                 "SUB_IF_API_FLAG_MASK_VNET",
415                 254
416             ],
417             [
418                 "SUB_IF_API_FLAG_DOT1AH",
419                 256
420             ],
421             {
422                 "enumtype": "u32"
423             }
424         ],
425         [
426             "rx_mode",
427             [
428                 "RX_MODE_API_UNKNOWN",
429                 0
430             ],
431             [
432                 "RX_MODE_API_POLLING",
433                 1
434             ],
435             [
436                 "RX_MODE_API_INTERRUPT",
437                 2
438             ],
439             [
440                 "RX_MODE_API_ADAPTIVE",
441                 3
442             ],
443             [
444                 "RX_MODE_API_DEFAULT",
445                 4
446             ],
447             {
448                 "enumtype": "u32"
449             }
450         ],
451         [
452             "if_type",
453             [
454                 "IF_API_TYPE_HARDWARE",
455                 1
456             ],
457             [
458                 "IF_API_TYPE_SUB",
459                 2
460             ],
461             [
462                 "IF_API_TYPE_P2P",
463                 3
464             ],
465             [
466                 "IF_API_TYPE_PIPE",
467                 4
468             ],
469             {
470                 "enumtype": "u32"
471             }
472         ]
473     ],
474     "services": {
475         "nsh_add_del_entry": {
476             "reply": "nsh_add_del_entry_reply"
477         },
478         "nsh_entry_dump": {
479             "reply": "nsh_entry_details",
480             "stream": true
481         },
482         "nsh_add_del_map": {
483             "reply": "nsh_add_del_map_reply"
484         },
485         "nsh_map_dump": {
486             "reply": "nsh_map_details",
487             "stream": true
488         }
489     },
490     "options": {
491         "version": "1.0.0"
492     },
493     "aliases": {
494         "interface_index": {
495             "type": "u32"
496         }
497     },
498     "vl_api_version": "0xac2c8897"
499 }