Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / core / cop.api.json
1 {
2     "types": [],
3     "messages": [
4         [
5             "cop_interface_enable_disable",
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_disable"
25             ],
26             {
27                 "crc": "0x5501adee"
28             }
29         ],
30         [
31             "cop_interface_enable_disable_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             "cop_whitelist_enable_disable",
50             [
51                 "u16",
52                 "_vl_msg_id"
53             ],
54             [
55                 "u32",
56                 "client_index"
57             ],
58             [
59                 "u32",
60                 "context"
61             ],
62             [
63                 "vl_api_interface_index_t",
64                 "sw_if_index"
65             ],
66             [
67                 "u32",
68                 "fib_id"
69             ],
70             [
71                 "bool",
72                 "ip4"
73             ],
74             [
75                 "bool",
76                 "ip6"
77             ],
78             [
79                 "bool",
80                 "default_cop"
81             ],
82             {
83                 "crc": "0xdebe13ea"
84             }
85         ],
86         [
87             "cop_whitelist_enable_disable_reply",
88             [
89                 "u16",
90                 "_vl_msg_id"
91             ],
92             [
93                 "u32",
94                 "context"
95             ],
96             [
97                 "i32",
98                 "retval"
99             ],
100             {
101                 "crc": "0xe8d4e804"
102             }
103         ]
104     ],
105     "unions": [],
106     "enums": [
107         [
108             "if_status_flags",
109             [
110                 "IF_STATUS_API_FLAG_ADMIN_UP",
111                 1
112             ],
113             [
114                 "IF_STATUS_API_FLAG_LINK_UP",
115                 2
116             ],
117             {
118                 "enumtype": "u32"
119             }
120         ],
121         [
122             "mtu_proto",
123             [
124                 "MTU_PROTO_API_L3",
125                 1
126             ],
127             [
128                 "MTU_PROTO_API_IP4",
129                 2
130             ],
131             [
132                 "MTU_PROTO_API_IP6",
133                 3
134             ],
135             [
136                 "MTU_PROTO_API_MPLS",
137                 4
138             ],
139             [
140                 "MTU_PROTO_API_N",
141                 5
142             ],
143             {
144                 "enumtype": "u32"
145             }
146         ],
147         [
148             "link_duplex",
149             [
150                 "LINK_DUPLEX_API_UNKNOWN",
151                 0
152             ],
153             [
154                 "LINK_DUPLEX_API_HALF",
155                 1
156             ],
157             [
158                 "LINK_DUPLEX_API_FULL",
159                 2
160             ],
161             {
162                 "enumtype": "u32"
163             }
164         ],
165         [
166             "sub_if_flags",
167             [
168                 "SUB_IF_API_FLAG_NO_TAGS",
169                 1
170             ],
171             [
172                 "SUB_IF_API_FLAG_ONE_TAG",
173                 2
174             ],
175             [
176                 "SUB_IF_API_FLAG_TWO_TAGS",
177                 4
178             ],
179             [
180                 "SUB_IF_API_FLAG_DOT1AD",
181                 8
182             ],
183             [
184                 "SUB_IF_API_FLAG_EXACT_MATCH",
185                 16
186             ],
187             [
188                 "SUB_IF_API_FLAG_DEFAULT",
189                 32
190             ],
191             [
192                 "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
193                 64
194             ],
195             [
196                 "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
197                 128
198             ],
199             [
200                 "SUB_IF_API_FLAG_MASK_VNET",
201                 254
202             ],
203             [
204                 "SUB_IF_API_FLAG_DOT1AH",
205                 256
206             ],
207             {
208                 "enumtype": "u32"
209             }
210         ],
211         [
212             "rx_mode",
213             [
214                 "RX_MODE_API_UNKNOWN",
215                 0
216             ],
217             [
218                 "RX_MODE_API_POLLING",
219                 1
220             ],
221             [
222                 "RX_MODE_API_INTERRUPT",
223                 2
224             ],
225             [
226                 "RX_MODE_API_ADAPTIVE",
227                 3
228             ],
229             [
230                 "RX_MODE_API_DEFAULT",
231                 4
232             ],
233             {
234                 "enumtype": "u32"
235             }
236         ],
237         [
238             "if_type",
239             [
240                 "IF_API_TYPE_HARDWARE",
241                 1
242             ],
243             [
244                 "IF_API_TYPE_SUB",
245                 2
246             ],
247             [
248                 "IF_API_TYPE_P2P",
249                 3
250             ],
251             [
252                 "IF_API_TYPE_PIPE",
253                 4
254             ],
255             {
256                 "enumtype": "u32"
257             }
258         ]
259     ],
260     "services": {
261         "cop_interface_enable_disable": {
262             "reply": "cop_interface_enable_disable_reply"
263         },
264         "cop_whitelist_enable_disable": {
265             "reply": "cop_whitelist_enable_disable_reply"
266         }
267     },
268     "options": {
269         "version": "1.0.1"
270     },
271     "aliases": {
272         "interface_index": {
273             "type": "u32"
274         }
275     },
276     "vl_api_version": "0x59bc1ad8"
277 }