Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / l2e.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "l2_emulation",
6             [
7                 "u16",
8                 "_vl_msg_id"
9             ],
10             [
11                 "u32",
12                 "client_index"
13             ],
14             [
15                 "u32",
16                 "context"
17             ],
18             [
19                 "vl_api_interface_index_t",
20                 "sw_if_index"
21             ],
22             [
23                 "bool",
24                 "enable"
25             ],
26             {
27                 "crc": "0xae6cfcfb"
28             }
29         ],
30         [
31             "l2_emulation_reply",
32             [
33                 "u16",
34                 "_vl_msg_id"
35             ],
36             [
37                 "u32",
38                 "context"
39             ],
40             [
41                 "i32",
42                 "retval"
43             ],
44             {
45                 "crc": "0xe8d4e804"
46             }
47         ]
48     ],
49     "unions": [],
50     "enums": [
51         [
52             "if_status_flags",
53             [
54                 "IF_STATUS_API_FLAG_ADMIN_UP",
55                 1
56             ],
57             [
58                 "IF_STATUS_API_FLAG_LINK_UP",
59                 2
60             ],
61             {
62                 "enumtype": "u32"
63             }
64         ],
65         [
66             "mtu_proto",
67             [
68                 "MTU_PROTO_API_L3",
69                 1
70             ],
71             [
72                 "MTU_PROTO_API_IP4",
73                 2
74             ],
75             [
76                 "MTU_PROTO_API_IP6",
77                 3
78             ],
79             [
80                 "MTU_PROTO_API_MPLS",
81                 4
82             ],
83             [
84                 "MTU_PROTO_API_N",
85                 5
86             ],
87             {
88                 "enumtype": "u32"
89             }
90         ],
91         [
92             "link_duplex",
93             [
94                 "LINK_DUPLEX_API_UNKNOWN",
95                 0
96             ],
97             [
98                 "LINK_DUPLEX_API_HALF",
99                 1
100             ],
101             [
102                 "LINK_DUPLEX_API_FULL",
103                 2
104             ],
105             {
106                 "enumtype": "u32"
107             }
108         ],
109         [
110             "sub_if_flags",
111             [
112                 "SUB_IF_API_FLAG_NO_TAGS",
113                 1
114             ],
115             [
116                 "SUB_IF_API_FLAG_ONE_TAG",
117                 2
118             ],
119             [
120                 "SUB_IF_API_FLAG_TWO_TAGS",
121                 4
122             ],
123             [
124                 "SUB_IF_API_FLAG_DOT1AD",
125                 8
126             ],
127             [
128                 "SUB_IF_API_FLAG_EXACT_MATCH",
129                 16
130             ],
131             [
132                 "SUB_IF_API_FLAG_DEFAULT",
133                 32
134             ],
135             [
136                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
137                 64
138             ],
139             [
140                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
141                 128
142             ],
143             [
144                 "SUB_IF_API_FLAG_MASK_VNET",
145                 254
146             ],
147             [
148                 "SUB_IF_API_FLAG_DOT1AH",
149                 256
150             ],
151             {
152                 "enumtype": "u32"
153             }
154         ],
155         [
156             "rx_mode",
157             [
158                 "RX_MODE_API_UNKNOWN",
159                 0
160             ],
161             [
162                 "RX_MODE_API_POLLING",
163                 1
164             ],
165             [
166                 "RX_MODE_API_INTERRUPT",
167                 2
168             ],
169             [
170                 "RX_MODE_API_ADAPTIVE",
171                 3
172             ],
173             [
174                 "RX_MODE_API_DEFAULT",
175                 4
176             ],
177             {
178                 "enumtype": "u32"
179             }
180         ],
181         [
182             "if_type",
183             [
184                 "IF_API_TYPE_HARDWARE",
185                 1
186             ],
187             [
188                 "IF_API_TYPE_SUB",
189                 2
190             ],
191             [
192                 "IF_API_TYPE_P2P",
193                 3
194             ],
195             [
196                 "IF_API_TYPE_PIPE",
197                 4
198             ],
199             {
200                 "enumtype": "u32"
201             }
202         ]
203     ],
204     "services": {
205         "l2_emulation": {
206             "reply": "l2_emulation_reply"
207         }
208     },
209     "options": {
210         "version": "1.0.0"
211     },
212     "aliases": {
213         "interface_index": {
214             "type": "u32"
215         }
216     },
217     "vl_api_version": "0x541d3edd"
218 }