FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
gbp.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2018 Cisco and/or its affiliates.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 option version = "2.0.0";
18 
19 import "vnet/ip/ip_types.api";
20 import "vnet/ethernet/ethernet_types.api";
21 import "vnet/interface_types.api";
22 
24 {
30 };
31 
32 typedef gbp_bridge_domain
33 {
34  u32 bd_id;
36  vl_api_gbp_bridge_domain_flags_t flags;
37  vl_api_interface_index_t bvi_sw_if_index;
38  vl_api_interface_index_t uu_fwd_sw_if_index;
39  vl_api_interface_index_t bm_flood_sw_if_index;
40 };
41 
42  autoreply define gbp_bridge_domain_add
43 {
44  option status="in_progress";
47  vl_api_gbp_bridge_domain_t bd;
48 };
49  autoreply define gbp_bridge_domain_del
50 {
51  option status="in_progress";
55 };
56 autoreply define gbp_bridge_domain_dump
57 {
58  option status="in_progress";
61 };
62 define gbp_bridge_domain_details
63 {
64  option status="in_progress";
66  vl_api_gbp_bridge_domain_t bd;
67 };
68 
69 typedef u16 gbp_scope;
70 
71 typedef gbp_route_domain
72 {
73  u32 rd_id;
76  vl_api_interface_index_t ip4_uu_sw_if_index;
77  vl_api_interface_index_t ip6_uu_sw_if_index;
78  vl_api_gbp_scope_t scope;
79 };
80 
81  autoreply define gbp_route_domain_add
82 {
83  option status="in_progress";
86  vl_api_gbp_route_domain_t rd;
87 };
88  autoreply define gbp_route_domain_del
89 {
90  option status="in_progress";
94 };
95 autoreply define gbp_route_domain_dump
96 {
97  option status="in_progress";
100 };
101 define gbp_route_domain_details
102 {
103  option status="in_progress";
105  vl_api_gbp_route_domain_t rd;
106 };
107 
108 /** \brief Endpoint
109  @param client_index - opaque cookie to identify the sender
110  @param context - sender context, to match reply w/ request
111 */
112 
114 {
120 };
121 
122 typedef gbp_endpoint_tun
123 {
124  vl_api_address_t src;
125  vl_api_address_t dst;
126 };
127 
128 typedef gbp_endpoint
129 {
130  vl_api_interface_index_t sw_if_index;
132  vl_api_gbp_endpoint_flags_t flags;
133  vl_api_mac_address_t mac;
134  vl_api_gbp_endpoint_tun_t tun;
136  vl_api_address_t ips[n_ips];
137 };
138 
139  define gbp_endpoint_add
140 {
141  option status="in_progress";
144  vl_api_gbp_endpoint_t endpoint;
145 };
146 
147 define gbp_endpoint_add_reply
148 {
149  option status="in_progress";
153 };
154 
155  autoreply define gbp_endpoint_del
156 {
157  option status="in_progress";
161 };
162 
163 define gbp_endpoint_dump
164 {
165  option status="in_progress";
168 };
169 
170 define gbp_endpoint_details
171 {
172  option status="in_progress";
176  vl_api_gbp_endpoint_t endpoint;
177 };
178 
180 {
181  u32 remote_ep_timeout;
182 };
183 
184 typedef gbp_endpoint_group
185 {
186  u32 vnid;
187  u16 sclass;
189  u32 rd_id;
190  vl_api_interface_index_t uplink_sw_if_index;
191  vl_api_gbp_endpoint_retention_t retention;
192 };
193 
194  autoreply define gbp_endpoint_group_add
195 {
196  option status="in_progress";
199  vl_api_gbp_endpoint_group_t epg;
200 };
201  autoreply define gbp_endpoint_group_del
202 {
203  option status="in_progress";
207 };
208 
209 define gbp_endpoint_group_dump
210 {
211  option status="in_progress";
214 };
215 
216 define gbp_endpoint_group_details
217 {
218  option status="in_progress";
220  vl_api_gbp_endpoint_group_t epg;
221 };
222 
223 typedef gbp_recirc
224 {
225  vl_api_interface_index_t sw_if_index;
226  u16 sclass;
227  bool is_ext;
228 };
229 
230  autoreply define gbp_recirc_add_del
231 {
232  option status="in_progress";
235  bool is_add;
236  vl_api_gbp_recirc_t recirc;
237 };
238 
239 define gbp_recirc_dump
240 {
241  option status="in_progress";
244 };
245 
246 define gbp_recirc_details
247 {
248  option status="in_progress";
250  vl_api_gbp_recirc_t recirc;
251 };
252 
254 {
260 };
261 
262 typedef gbp_subnet
263 {
264  u32 rd_id;
265  vl_api_interface_index_t sw_if_index [default= 0xffffffff];
266  u16 sclass [default=0xffffffff];
267  vl_api_gbp_subnet_type_t type;
268  vl_api_prefix_t prefix;
269 };
270 
271  autoreply define gbp_subnet_add_del
272 {
273  option status="in_progress";
276  bool is_add;
277  vl_api_gbp_subnet_t subnet;
278 };
279 
280 define gbp_subnet_dump
281 {
282  option status="in_progress";
285 };
286 
287 define gbp_subnet_details
288 {
289  option status="in_progress";
291  vl_api_gbp_subnet_t subnet;
292 };
293 
294 typedef gbp_next_hop
295 {
296  vl_api_address_t ip;
297  vl_api_mac_address_t mac;
298  u32 bd_id;
299  u32 rd_id;
300 };
301 
303 {
307 };
308 
309 typedef gbp_next_hop_set
310 {
311  vl_api_gbp_hash_mode_t hash_mode;
313  vl_api_gbp_next_hop_t nhs[8];
314 };
315 
317 {
321 };
322 
323 typedef gbp_rule
324 {
325  vl_api_gbp_rule_action_t action;
326  vl_api_gbp_next_hop_set_t nh_set;
327 };
328 
329 typedef gbp_contract
330 {
331  vl_api_gbp_scope_t scope;
332  u16 sclass;
338  vl_api_gbp_rule_t rules[n_rules];
339 };
340 
341  define gbp_contract_add_del
342 {
343  option status="in_progress";
346  bool is_add;
347  vl_api_gbp_contract_t contract;
348 };
349 define gbp_contract_add_del_reply
350 {
351  option status="in_progress";
355 };
356 
357 define gbp_contract_dump
358 {
359  option status="in_progress";
362 };
363 
364 define gbp_contract_details
365 {
366  option status="in_progress";
368  vl_api_gbp_contract_t contract;
369 };
370 
371 /**
372  * @brief Configure a 'base' tunnel from which learned tunnels
373  * are permitted to derive
374  * A base tunnel consists only of the VNI, any src,dst IP
375  * pair is thus allowed.
376  */
378 {
381 };
382 
383 typedef gbp_vxlan_tunnel
384 {
385  u32 vni;
386  vl_api_gbp_vxlan_tunnel_mode_t mode;
388  vl_api_ip4_address_t src;
389 };
390 
392 {
393  option status="in_progress";
396  vl_api_gbp_vxlan_tunnel_t tunnel;
397 };
398 
399 define gbp_vxlan_tunnel_add_reply
400 {
401  option status="in_progress";
404  vl_api_interface_index_t sw_if_index;
405 };
406 
407  autoreply define gbp_vxlan_tunnel_del
408 {
409  option status="in_progress";
413 };
414 
415 define gbp_vxlan_tunnel_dump
416 {
417  option status="in_progress";
420 };
421 
422 define gbp_vxlan_tunnel_details
423 {
424  option status="in_progress";
426  vl_api_gbp_vxlan_tunnel_t tunnel;
427 };
428 
430 {
433 };
434 
435 typedef gbp_ext_itf
436 {
437  vl_api_interface_index_t sw_if_index;
438  u32 bd_id;
439  u32 rd_id;
440  vl_api_gbp_ext_itf_flags_t flags;
441 };
442 
443  autoreply define gbp_ext_itf_add_del
444 {
445  option status="in_progress";
448  bool is_add;
449  vl_api_gbp_ext_itf_t ext_itf;
450 };
451 
452 define gbp_ext_itf_dump
453 {
454  option status="in_progress";
457 };
458 
459 define gbp_ext_itf_details
460 {
461  option status="in_progress";
463  vl_api_gbp_ext_itf_t ext_itf;
464 };
465 
466 /*
467  * Local Variables:
468  * eval: (c-set-style "gnu")
469  * End:
470  */
vl_api_gbp_contract_add_del_t::status
option status
Definition: gbp.api:343
GBP_API_ENDPOINT_FLAG_LEARNT
@ GBP_API_ENDPOINT_FLAG_LEARNT
Definition: gbp.api:118
vl_api_gbp_contract_add_del_t::client_index
u32 client_index
Definition: gbp.api:344
vl_api_gbp_endpoint_group_details_t::context
u32 context
Definition: gbp.api:219
gbp_next_hop
typedef gbp_next_hop
Definition: gbp.api:295
GBP_API_SUBNET_L3_OUT
@ GBP_API_SUBNET_L3_OUT
Definition: gbp.api:258
vl_api_gbp_ext_itf_details_t::status
option status
Definition: gbp.api:461
GBP_API_RULE_REDIRECT
@ GBP_API_RULE_REDIRECT
Definition: gbp.api:320
vl_api_gbp_recirc_add_del_t::is_add
bool is_add
Definition: gbp.api:235
n_ips
u8 n_ips
Definition: gbp.api:135
ip6_uu_sw_if_index
vl_api_interface_index_t ip6_uu_sw_if_index
Definition: gbp.api:77
vl_api_gbp_subnet_add_del_t::is_add
bool is_add
Definition: gbp.api:276
GBP_API_HASH_MODE_DST_IP
@ GBP_API_HASH_MODE_DST_IP
Definition: gbp.api:305
vl_api_gbp_endpoint_group_add_t::client_index
u32 client_index
Definition: gbp.api:197
gbp_contract
typedef gbp_contract
Definition: gbp.api:330
vl_api_gbp_endpoint_add_reply_t::retval
i32 retval
Definition: gbp.api:151
vl_api_gbp_route_domain_del_t::context
u32 context
Definition: gbp.api:92
vl_api_gbp_bridge_domain_dump_t
Definition: gbp.api:56
uplink_sw_if_index
vl_api_interface_index_t uplink_sw_if_index
Definition: gbp.api:190
GBP_API_HASH_MODE_SRC_IP
@ GBP_API_HASH_MODE_SRC_IP
Definition: gbp.api:304
vl_api_gbp_route_domain_add_t::status
option status
Definition: gbp.api:83
vl_api_gbp_endpoint_del_t::context
u32 context
Definition: gbp.api:159
vl_api_gbp_bridge_domain_del_t::client_index
u32 client_index
Definition: gbp.api:52
GBP_API_SUBNET_ANON_L3_OUT
@ GBP_API_SUBNET_ANON_L3_OUT
Definition: gbp.api:259
vl_api_gbp_subnet_dump_t::status
option status
Definition: gbp.api:282
vl_api_gbp_vxlan_tunnel_dump_t::context
u32 context
Definition: gbp.api:419
vl_api_gbp_vxlan_tunnel_add_reply_t::status
option status
Definition: gbp.api:401
vl_api_gbp_recirc_details_t::status
option status
Definition: gbp.api:248
vl_api_gbp_route_domain_add_t::context
u32 context
Definition: gbp.api:85
vl_api_gbp_bridge_domain_add_t
Definition: gbp.api:42
vl_api_gbp_recirc_add_del_t::client_index
u32 client_index
Definition: gbp.api:233
mode
vl_api_gbp_vxlan_tunnel_mode_t mode
Definition: gbp.api:386
vl_api_gbp_vxlan_tunnel_details_t
Definition: gbp.api:422
vl_api_gbp_bridge_domain_details_t
Definition: gbp.api:62
vl_api_gbp_subnet_add_del_t
Definition: gbp.api:271
vl_api_gbp_contract_add_del_reply_t::status
option status
Definition: gbp.api:351
vl_api_gbp_endpoint_group_details_t::status
option status
Definition: gbp.api:218
vl_api_gbp_endpoint_group_add_t
Definition: gbp.api:194
type
vl_api_gbp_subnet_type_t type
Definition: gbp.api:267
vl_api_gbp_contract_add_del_reply_t::retval
i32 retval
Definition: gbp.api:353
vl_api_gbp_contract_add_del_t::context
u32 context
Definition: gbp.api:345
vl_api_gbp_contract_add_del_t::contract
vl_api_gbp_contract_t contract
Definition: gbp.api:347
vl_api_gbp_endpoint_add_reply_t
Definition: gbp.api:147
vl_api_gbp_endpoint_del_t
Definition: gbp.api:155
gbp_vxlan_tunnel_mode
gbp_vxlan_tunnel_mode
Configure a 'base' tunnel from which learned tunnels are permitted to derive A base tunnel consists o...
Definition: gbp.api:377
vl_api_gbp_subnet_dump_t::client_index
u32 client_index
Definition: gbp.api:283
vl_api_gbp_bridge_domain_dump_t::client_index
u32 client_index
Definition: gbp.api:59
vni
u32 vni
Definition: flow_types.api:160
vl_api_gbp_endpoint_group_del_t::client_index
u32 client_index
Definition: gbp.api:204
vl_api_gbp_bridge_domain_del_t::status
option status
Definition: gbp.api:51
vl_api_gbp_ext_itf_details_t::ext_itf
vl_api_gbp_ext_itf_t ext_itf
Definition: gbp.api:463
dst
vl_api_address_t dst
Definition: gbp.api:125
gbp_bridge_domain
typedef gbp_bridge_domain
Definition: gbp.api:33
vl_api_gbp_vxlan_tunnel_del_t::status
option status
Definition: gbp.api:409
vl_api_gbp_ext_itf_dump_t
Definition: gbp.api:452
u16
unsigned short u16
Definition: types.h:57
gbp_next_hop_set
typedef gbp_next_hop_set
Definition: gbp.api:310
vl_api_gbp_vxlan_tunnel_add_reply_t::context
u32 context
Definition: gbp.api:402
GBP_API_ENDPOINT_FLAG_BOUNCE
@ GBP_API_ENDPOINT_FLAG_BOUNCE
Definition: gbp.api:116
vl_api_gbp_endpoint_del_t::status
option status
Definition: gbp.api:157
vl_api_gbp_contract_dump_t
Definition: gbp.api:357
vl_api_gbp_ext_itf_details_t
Definition: gbp.api:459
gbp_recirc
typedef gbp_recirc
Definition: gbp.api:224
vl_api_gbp_route_domain_details_t::rd
vl_api_gbp_route_domain_t rd
Definition: gbp.api:105
GBP_VXLAN_TUNNEL_MODE_L2
@ GBP_VXLAN_TUNNEL_MODE_L2
Definition: gbp.api:379
nhs
vl_api_gbp_next_hop_t nhs[8]
Definition: gbp.api:313
vl_api_gbp_vxlan_tunnel_add_reply_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: gbp.api:404
gbp_endpoint_retention
typedef gbp_endpoint_retention
Definition: gbp.api:180
vl_api_gbp_bridge_domain_add_t::client_index
u32 client_index
Definition: gbp.api:45
vl_api_gbp_endpoint_group_details_t::epg
vl_api_gbp_endpoint_group_t epg
Definition: gbp.api:220
vl_api_gbp_endpoint_add_reply_t::handle
u32 handle
Definition: gbp.api:152
vl_api_gbp_recirc_dump_t::context
u32 context
Definition: gbp.api:243
vl_api_gbp_bridge_domain_details_t::bd
vl_api_gbp_bridge_domain_t bd
Definition: gbp.api:66
allowed_ethertypes
u16 allowed_ethertypes[16]
Definition: gbp.api:336
vl_api_gbp_ext_itf_add_del_t::status
option status
Definition: gbp.api:445
bvi_sw_if_index
vl_api_interface_index_t bvi_sw_if_index
Definition: gbp.api:37
GBP_API_SUBNET_STITCHED_INTERNAL
@ GBP_API_SUBNET_STITCHED_INTERNAL
Definition: gbp.api:256
vl_api_gbp_endpoint_group_del_t
Definition: gbp.api:201
GBP_API_EXT_ITF_F_NONE
@ GBP_API_EXT_ITF_F_NONE
Definition: gbp.api:431
vl_api_gbp_bridge_domain_add_t::status
option status
Definition: gbp.api:44
vl_api_gbp_endpoint_add_reply_t::status
option status
Definition: gbp.api:149
vl_api_gbp_bridge_domain_add_t::context
u32 context
Definition: gbp.api:46
is_ext
bool is_ext
Definition: gbp.api:227
GBP_API_ENDPOINT_FLAG_REMOTE
@ GBP_API_ENDPOINT_FLAG_REMOTE
Definition: gbp.api:117
gbp_endpoint_flags
gbp_endpoint_flags
Endpoint.
Definition: gbp.api:113
vl_api_gbp_recirc_details_t::recirc
vl_api_gbp_recirc_t recirc
Definition: gbp.api:250
gbp_vxlan_tunnel
typedef gbp_vxlan_tunnel
Definition: gbp.api:384
gbp_scope
u16 gbp_scope
Definition: gbp.api:69
vl_api_gbp_endpoint_add_t
Definition: gbp.api:139
i32
signed int i32
Definition: types.h:77
bm_flood_sw_if_index
vl_api_interface_index_t bm_flood_sw_if_index
Definition: gbp.api:39
vl_api_gbp_bridge_domain_add_t::bd
vl_api_gbp_bridge_domain_t bd
Definition: gbp.api:47
vl_api_gbp_contract_dump_t::context
u32 context
Definition: gbp.api:361
prefix
vl_api_prefix_t prefix
Definition: gbp.api:268
vl_api_gbp_vxlan_tunnel_dump_t::client_index
u32 client_index
Definition: gbp.api:418
vl_api_gbp_recirc_add_del_t::recirc
vl_api_gbp_recirc_t recirc
Definition: gbp.api:236
ips
vl_api_address_t ips[n_ips]
Definition: gbp.api:136
vl_api_gbp_endpoint_del_t::handle
u32 handle
Definition: gbp.api:160
src
vl_api_ip4_address_t src
Definition: gbp.api:388
vl_api_gbp_endpoint_details_t
Definition: gbp.api:170
vl_api_gbp_subnet_details_t::subnet
vl_api_gbp_subnet_t subnet
Definition: gbp.api:291
vl_api_gbp_endpoint_group_add_t::context
u32 context
Definition: gbp.api:198
vl_api_gbp_route_domain_add_t::rd
vl_api_gbp_route_domain_t rd
Definition: gbp.api:86
vl_api_gbp_endpoint_dump_t::context
u32 context
Definition: gbp.api:167
vl_api_gbp_vxlan_tunnel_add_t::status
option status
Definition: gbp.api:393
vl_api_gbp_route_domain_details_t
Definition: gbp.api:101
GBP_API_HASH_MODE_SYMMETRIC
@ GBP_API_HASH_MODE_SYMMETRIC
Definition: gbp.api:306
vl_api_gbp_subnet_details_t
Definition: gbp.api:287
bd_id
u32 bd_id
Definition: gbp.api:188
gbp_rule_action
gbp_rule_action
Definition: gbp.api:316
vl_api_gbp_recirc_details_t
Definition: gbp.api:246
mac
vl_api_mac_address_t mac
Definition: gbp.api:133
vl_api_gbp_contract_details_t::context
u32 context
Definition: gbp.api:367
vl_api_gbp_ext_itf_dump_t::context
u32 context
Definition: gbp.api:456
vl_api_gbp_endpoint_group_dump_t::context
u32 context
Definition: gbp.api:213
GBP_API_ENDPOINT_FLAG_NONE
@ GBP_API_ENDPOINT_FLAG_NONE
Definition: gbp.api:115
bd_rd_id
u32 bd_rd_id
Definition: gbp.api:387
gbp_subnet_add_del
static vlib_cli_command_t gbp_subnet_add_del
(constructor) VLIB_CLI_COMMAND (gbp_subnet_add_del)
Definition: gbp_subnet.c:406
vl_api_gbp_subnet_add_del_t::context
u32 context
Definition: gbp.api:275
gbp_subnet
typedef gbp_subnet
Definition: gbp.api:263
vl_api_gbp_endpoint_details_t::age
f64 age
Definition: gbp.api:174
vl_api_gbp_subnet_add_del_t::status
option status
Definition: gbp.api:273
vl_api_gbp_endpoint_group_del_t::sclass
u16 sclass
Definition: gbp.api:206
gbp_endpoint_tun
typedef gbp_endpoint_tun
Definition: gbp.api:123
GBP_API_ENDPOINT_FLAG_EXTERNAL
@ GBP_API_ENDPOINT_FLAG_EXTERNAL
Definition: gbp.api:119
vl_api_gbp_endpoint_dump_t::status
option status
Definition: gbp.api:165
scope
vl_api_gbp_scope_t scope
Definition: gbp.api:78
sw_if_index
vl_api_interface_index_t sw_if_index[default=0xffffffff]
Definition: gbp.api:265
vl_api_gbp_contract_dump_t::client_index
u32 client_index
Definition: gbp.api:360
gbp_subnet_type
gbp_subnet_type
Definition: gbp.api:253
f64
double f64
Definition: types.h:142
acl_index
u32 acl_index
Definition: gbp.api:334
retention
vl_api_gbp_endpoint_retention_t retention
Definition: gbp.api:191
vl_api_gbp_endpoint_add_t::context
u32 context
Definition: gbp.api:143
vl_api_gbp_route_domain_add_t
Definition: gbp.api:81
vl_api_gbp_endpoint_dump_t::client_index
u32 client_index
Definition: gbp.api:166
vl_api_gbp_vxlan_tunnel_details_t::tunnel
vl_api_gbp_vxlan_tunnel_t tunnel
Definition: gbp.api:426
vl_api_gbp_bridge_domain_dump_t::context
u32 context
Definition: gbp.api:60
vl_api_gbp_route_domain_del_t::status
option status
Definition: gbp.api:90
sclass
u16 sclass
Definition: gbp.api:131
n_nhs
u8 n_nhs
Definition: gbp.api:312
vl_api_gbp_contract_add_del_reply_t
Definition: gbp.api:349
vl_api_gbp_vxlan_tunnel_details_t::status
option status
Definition: gbp.api:424
vl_api_gbp_ext_itf_add_del_t::is_add
bool is_add
Definition: gbp.api:448
vl_api_gbp_vxlan_tunnel_add_t::context
u32 context
Definition: gbp.api:395
ip4_uu_sw_if_index
vl_api_interface_index_t ip4_uu_sw_if_index
Definition: gbp.api:76
GBP_API_SUBNET_STITCHED_EXTERNAL
@ GBP_API_SUBNET_STITCHED_EXTERNAL
Definition: gbp.api:257
vl_api_gbp_recirc_add_del_t
Definition: gbp.api:230
vl_api_gbp_contract_add_del_reply_t::stats_index
u32 stats_index
Definition: gbp.api:354
vl_api_gbp_endpoint_add_reply_t::context
u32 context
Definition: gbp.api:150
GBP_API_RULE_PERMIT
@ GBP_API_RULE_PERMIT
Definition: gbp.api:318
vl_api_gbp_ext_itf_dump_t::status
option status
Definition: gbp.api:454
vl_api_gbp_ext_itf_add_del_t::ext_itf
vl_api_gbp_ext_itf_t ext_itf
Definition: gbp.api:449
gbp_route_domain
typedef gbp_route_domain
Definition: gbp.api:72
vl_api_gbp_endpoint_details_t::handle
u32 handle
Definition: gbp.api:175
vl_api_gbp_route_domain_dump_t::client_index
u32 client_index
Definition: gbp.api:98
vl_api_gbp_ext_itf_dump_t::client_index
u32 client_index
Definition: gbp.api:455
vl_api_gbp_endpoint_del_t::client_index
u32 client_index
Definition: gbp.api:158
rd_id
u32 rd_id
Definition: gbp.api:35
dclass
u16 dclass
Definition: gbp.api:333
vl_api_gbp_endpoint_group_dump_t
Definition: gbp.api:209
vl_api_gbp_contract_details_t::status
option status
Definition: gbp.api:366
vl_api_gbp_route_domain_add_t::client_index
u32 client_index
Definition: gbp.api:84
vl_api_gbp_vxlan_tunnel_add_t::tunnel
vl_api_gbp_vxlan_tunnel_t tunnel
Definition: gbp.api:396
vl_api_gbp_endpoint_add_t::endpoint
vl_api_gbp_endpoint_t endpoint
Definition: gbp.api:144
GBP_BD_API_FLAG_UU_FWD_DROP
@ GBP_BD_API_FLAG_UU_FWD_DROP
Definition: gbp.api:27
vl_api_gbp_contract_details_t
Definition: gbp.api:364
GBP_BD_API_FLAG_NONE
@ GBP_BD_API_FLAG_NONE
Definition: gbp.api:25
vl_api_gbp_recirc_dump_t::status
option status
Definition: gbp.api:241
vl_api_gbp_vxlan_tunnel_del_t::client_index
u32 client_index
Definition: gbp.api:410
GBP_API_EXT_ITF_F_ANON
@ GBP_API_EXT_ITF_F_ANON
Definition: gbp.api:432
vl_api_gbp_recirc_dump_t::client_index
u32 client_index
Definition: gbp.api:242
vl_api_gbp_endpoint_group_dump_t::client_index
u32 client_index
Definition: gbp.api:212
u32
unsigned int u32
Definition: types.h:88
vl_api_gbp_endpoint_group_dump_t::status
option status
Definition: gbp.api:211
vl_api_gbp_vxlan_tunnel_dump_t
Definition: gbp.api:415
vl_api_gbp_subnet_details_t::context
u32 context
Definition: gbp.api:290
gbp_endpoint
typedef gbp_endpoint
Definition: gbp.api:129
version
option version
Definition: gbp.api:17
vl_api_gbp_ext_itf_add_del_t
Definition: gbp.api:443
vl_api_gbp_contract_details_t::contract
vl_api_gbp_contract_t contract
Definition: gbp.api:368
vl_api_gbp_route_domain_details_t::status
option status
Definition: gbp.api:103
rules
vl_api_gbp_rule_t rules[n_rules]
Definition: gbp.api:338
vl_api_gbp_bridge_domain_details_t::status
option status
Definition: gbp.api:64
vl_api_gbp_endpoint_add_t::client_index
u32 client_index
Definition: gbp.api:142
vl_api_gbp_route_domain_del_t::client_index
u32 client_index
Definition: gbp.api:91
ip6_table_id
u32 ip6_table_id
Definition: gbp.api:75
vl_api_gbp_route_domain_del_t
Definition: gbp.api:88
vl_api_gbp_ext_itf_add_del_t::client_index
u32 client_index
Definition: gbp.api:446
vl_api_gbp_recirc_add_del_t::context
u32 context
Definition: gbp.api:234
vl_api_gbp_bridge_domain_del_t
Definition: gbp.api:49
vl_api_gbp_bridge_domain_del_t::context
u32 context
Definition: gbp.api:53
GBP_BD_API_FLAG_UCAST_ARP
@ GBP_BD_API_FLAG_UCAST_ARP
Definition: gbp.api:29
vl_api_gbp_subnet_dump_t
Definition: gbp.api:280
vl_api_gbp_route_domain_del_t::rd_id
u32 rd_id
Definition: gbp.api:93
GBP_BD_API_FLAG_MCAST_DROP
@ GBP_BD_API_FLAG_MCAST_DROP
Definition: gbp.api:28
vl_api_gbp_endpoint_details_t::endpoint
vl_api_gbp_endpoint_t endpoint
Definition: gbp.api:176
vl_api_gbp_route_domain_dump_t
Definition: gbp.api:95
u8
unsigned char u8
Definition: types.h:56
vl_api_gbp_route_domain_dump_t::context
u32 context
Definition: gbp.api:99
gbp_ext_itf_flags
gbp_ext_itf_flags
Definition: gbp.api:429
flags
vl_api_gbp_bridge_domain_flags_t flags
Definition: gbp.api:36
gbp_rule
typedef gbp_rule
Definition: gbp.api:324
ip
vl_api_address_t ip
Definition: l2.api:558
vl_api_gbp_ext_itf_add_del_t::context
u32 context
Definition: gbp.api:447
vl_api_gbp_bridge_domain_del_t::bd_id
u32 bd_id
Definition: gbp.api:54
vl_api_gbp_contract_add_del_t
Definition: gbp.api:341
vl_api_gbp_ext_itf_details_t::context
u32 context
Definition: gbp.api:462
vl_api_gbp_vxlan_tunnel_del_t::context
u32 context
Definition: gbp.api:411
vl_api_gbp_route_domain_details_t::context
u32 context
Definition: gbp.api:104
GBP_API_RULE_DENY
@ GBP_API_RULE_DENY
Definition: gbp.api:319
vl_api_gbp_recirc_dump_t
Definition: gbp.api:239
ip4_table_id
u32 ip4_table_id
Definition: gbp.api:74
vl_api_gbp_vxlan_tunnel_del_t::vni
u32 vni
Definition: gbp.api:412
vl_api_gbp_endpoint_details_t::status
option status
Definition: gbp.api:172
vl_api_gbp_contract_add_del_reply_t::context
u32 context
Definition: gbp.api:352
gbp_vxlan_tunnel_add
int gbp_vxlan_tunnel_add(u32 vni, gbp_vxlan_tunnel_layer_t layer, u32 bd_rd_id, const ip4_address_t *src, u32 *sw_if_indexp)
Definition: gbp_vxlan.c:439
n_rules
u8 n_rules
Definition: gbp.api:337
vl_api_gbp_contract_dump_t::status
option status
Definition: gbp.api:359
vl_api_gbp_endpoint_group_del_t::context
u32 context
Definition: gbp.api:205
vl_api_gbp_subnet_add_del_t::client_index
u32 client_index
Definition: gbp.api:274
vl_api_gbp_bridge_domain_details_t::context
u32 context
Definition: gbp.api:65
vl_api_gbp_contract_add_del_t::is_add
bool is_add
Definition: gbp.api:346
vl_api_gbp_endpoint_add_t::status
option status
Definition: gbp.api:141
GBP_VXLAN_TUNNEL_MODE_L3
@ GBP_VXLAN_TUNNEL_MODE_L3
Definition: gbp.api:380
n_ether_types
u8 n_ether_types
Definition: gbp.api:335
vl_api_gbp_vxlan_tunnel_details_t::context
u32 context
Definition: gbp.api:425
gbp_bridge_domain_flags
gbp_bridge_domain_flags
Definition: gbp.api:23
vl_api_gbp_subnet_details_t::status
option status
Definition: gbp.api:289
action
vl_api_mac_event_action_t action
Definition: l2.api:211
vl_api_gbp_endpoint_details_t::context
u32 context
Definition: gbp.api:173
tun
vl_api_gbp_endpoint_tun_t tun
Definition: gbp.api:134
uu_fwd_sw_if_index
vl_api_interface_index_t uu_fwd_sw_if_index
Definition: gbp.api:38
vl_api_gbp_route_domain_dump_t::status
option status
Definition: gbp.api:97
vl_api_gbp_recirc_details_t::context
u32 context
Definition: gbp.api:249
vl_api_gbp_endpoint_group_details_t
Definition: gbp.api:216
vl_api_gbp_vxlan_tunnel_add_reply_t::retval
i32 retval
Definition: gbp.api:403
vl_api_gbp_subnet_dump_t::context
u32 context
Definition: gbp.api:284
gbp_endpoint_group
typedef gbp_endpoint_group
Definition: gbp.api:185
vl_api_gbp_vxlan_tunnel_add_t
Definition: gbp.api:391
vl_api_gbp_recirc_add_del_t::status
option status
Definition: gbp.api:232
vl_api_gbp_vxlan_tunnel_add_t::client_index
u32 client_index
Definition: gbp.api:394
vl_api_gbp_vxlan_tunnel_del_t
Definition: gbp.api:407
gbp_vxlan_tunnel_del
int gbp_vxlan_tunnel_del(u32 vni)
Definition: gbp_vxlan.c:550
nh_set
vl_api_gbp_next_hop_set_t nh_set
Definition: gbp.api:326
GBP_API_SUBNET_TRANSPORT
@ GBP_API_SUBNET_TRANSPORT
Definition: gbp.api:255
vl_api_gbp_endpoint_group_del_t::status
option status
Definition: gbp.api:203
vl_api_gbp_endpoint_dump_t
Definition: gbp.api:163
gbp_hash_mode
gbp_hash_mode
Definition: gbp.api:302
gbp_ext_itf
typedef gbp_ext_itf
Definition: gbp.api:436
vl_api_gbp_endpoint_group_add_t::status
option status
Definition: gbp.api:196
GBP_BD_API_FLAG_DO_NOT_LEARN
@ GBP_BD_API_FLAG_DO_NOT_LEARN
Definition: gbp.api:26
vl_api_gbp_vxlan_tunnel_add_reply_t
Definition: gbp.api:399
vl_api_gbp_subnet_add_del_t::subnet
vl_api_gbp_subnet_t subnet
Definition: gbp.api:277
vl_api_gbp_endpoint_group_add_t::epg
vl_api_gbp_endpoint_group_t epg
Definition: gbp.api:199
vl_api_gbp_bridge_domain_dump_t::status
option status
Definition: gbp.api:58
vl_api_gbp_vxlan_tunnel_dump_t::status
option status
Definition: gbp.api:417