FD.io VPP  v18.10-34-gcce845e
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 
22 /** \brief Endpoint
23  @param client_index - opaque cookie to identify the sender
24  @param context - sender context, to match reply w/ request
25 */
26 
27 typedef gbp_endpoint
28 {
31  vl_api_mac_address_t mac;
33  vl_api_address_t ips[n_ips];
34 };
35 
36 define gbp_endpoint_add
37 {
40  vl_api_gbp_endpoint_t endpoint;
41 };
42 
43 define gbp_endpoint_add_reply
44 {
48 };
49 
50 autoreply define gbp_endpoint_del
51 {
55 };
56 
57 define gbp_endpoint_dump
58 {
61 };
62 
63 define gbp_endpoint_details
64 {
66  vl_api_gbp_endpoint_t endpoint;
67 };
68 
69 typeonly define gbp_endpoint_group
70 {
76 };
77 
78 autoreply define gbp_endpoint_group_add_del
79 {
84 };
85 
86 define gbp_endpoint_group_dump
87 {
90 };
91 
92 define gbp_endpoint_group_details
93 {
96 };
97 
98 typeonly define gbp_recirc
99 {
103 };
104 
105 autoreply define gbp_recirc_add_del
106 {
111 };
112 
113 define gbp_recirc_dump
114 {
117 };
118 
119 define gbp_recirc_details
120 {
123 };
124 
125 typeonly define gbp_subnet
126 {
131  vl_api_prefix_t prefix;
132 };
133 
134 autoreply define gbp_subnet_add_del
135 {
140 };
141 
142 define gbp_subnet_dump
143 {
146 };
147 
148 define gbp_subnet_details
149 {
152 };
153 
154 typeonly define gbp_contract
155 {
159 };
160 
161 autoreply define gbp_contract_add_del
162 {
167 };
168 
169 define gbp_contract_dump
170 {
173 };
174 
175 define gbp_contract_details
176 {
179 };
180 
181 /*
182  * Local Variables:
183  * eval: (c-set-style "gnu")
184  * End:
185  */
vl_api_gbp_endpoint_t endpoint
Definition: gbp.api:40
vl_api_gbp_subnet_t subnet
Definition: gbp.api:151
unsigned char u8
Definition: types.h:56
u32 sw_if_index
Definition: vxlan_gbp.api:39
int gbp_subnet_add_del(u32 table_id, const fib_prefix_t *pfx, u32 sw_if_index, epg_id_t epg, u8 is_add, u8 is_internal)
Definition: gbp_subnet.c:71
u8 n_ips
Definition: gbp.api:32
unsigned int u32
Definition: types.h:88
unsigned short u16
Definition: types.h:57
u16 epg_id
Definition: gbp.api:30
vl_api_gbp_endpoint_group_t epg
Definition: gbp.api:83
vl_api_prefix_t prefix
Definition: gbp.api:131
vl_api_gbp_endpoint_group_t epg
Definition: gbp.api:95
vl_api_gbp_subnet_t subnet
Definition: gbp.api:139
option version
Definition: gbp.api:17
signed int i32
Definition: types.h:77
vl_api_gbp_contract_t contract
Definition: gbp.api:166
vl_api_gbp_recirc_t recirc
Definition: gbp.api:110
vl_api_gbp_contract_t contract
Definition: gbp.api:178
typedef gbp_endpoint
Endpoint.
Definition: gbp.api:28
vl_api_gbp_endpoint_t endpoint
Definition: gbp.api:66
vl_api_address_t ips[n_ips]
Definition: gbp.api:33
vl_api_mac_address_t mac
Definition: gbp.api:31
vl_api_gbp_recirc_t recirc
Definition: gbp.api:122