FD.io VPP  v18.07-rc0-415-g6c78436
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 = "1.0.0";
18 
19 /** \brief Endpoint
20  @param client_index - opaque cookie to identify the sender
21  @param context - sender context, to match reply w/ request
22 */
23 
24 typeonly define gbp_endpoint
25 {
29  u8 address[16];
30  u8 mac[6];
31 };
32 
33 autoreply define gbp_endpoint_add_del
34 {
39 };
40 
41 define gbp_endpoint_dump
42 {
45 };
46 
47 define gbp_endpoint_details
48 {
51 };
52 
53 typeonly define gbp_endpoint_group
54 {
60 };
61 
62 autoreply define gbp_endpoint_group_add_del
63 {
68 };
69 
70 define gbp_endpoint_group_dump
71 {
74 };
75 
76 define gbp_endpoint_group_details
77 {
80 };
81 
82 typeonly define gbp_recirc
83 {
87 };
88 
89 autoreply define gbp_recirc_add_del
90 {
95 };
96 
97 define gbp_recirc_dump
98 {
101 };
102 
103 define gbp_recirc_details
104 {
107 };
108 
109 typeonly define gbp_subnet
110 {
117  u8 address[16];
118 };
119 
120 autoreply define gbp_subnet_add_del
121 {
126 };
127 
128 define gbp_subnet_dump
129 {
132 };
133 
134 define gbp_subnet_details
135 {
138 };
139 
140 typeonly define gbp_contract
141 {
145 };
146 
147 autoreply define gbp_contract_add_del
148 {
153 };
154 
155 define gbp_contract_dump
156 {
159 };
160 
161 define gbp_contract_details
162 {
165 };
166 
167 /*
168  * Local Variables:
169  * eval: (c-set-style "gnu")
170  * End:
171  */
typedef address
Definition: ip_types.api:34
vl_api_gbp_subnet_t subnet
Definition: gbp.api:137
Endpoint.
Definition: gbp.api:24
unsigned char u8
Definition: types.h:56
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
unsigned int u32
Definition: types.h:88
vl_api_gbp_endpoint_group_t epg
Definition: gbp.api:67
vl_api_gbp_endpoint_group_t epg
Definition: gbp.api:79
vl_api_gbp_subnet_t subnet
Definition: gbp.api:125
option version
Definition: gbp.api:17
vl_api_gbp_contract_t contract
Definition: gbp.api:152
vl_api_gbp_endpoint_t endpoint
Definition: gbp.api:38
vl_api_gbp_recirc_t recirc
Definition: gbp.api:94
vl_api_gbp_contract_t contract
Definition: gbp.api:164
vl_api_gbp_endpoint_t endpoint
Definition: gbp.api:50
vl_api_gbp_recirc_t recirc
Definition: gbp.api:106