1 /* Hey Emacs use -*- mode: C -*- */
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:
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 option version = "2.0.0";
19 import "vnet/ip/ip_types.api";
20 import "vnet/ethernet/ethernet_types.api";
23 @param client_index - opaque cookie to identify the sender
24 @param context - sender context, to match reply w/ request
31 vl_api_mac_address_t mac;
33 vl_api_address_t ips[n_ips];
36 define gbp_endpoint_add
40 vl_api_gbp_endpoint_t endpoint;
43 define gbp_endpoint_add_reply
50 autoreply define gbp_endpoint_del
57 define gbp_endpoint_dump
63 define gbp_endpoint_details
66 vl_api_gbp_endpoint_t endpoint;
69 typeonly define gbp_endpoint_group
75 u32 uplink_sw_if_index;
78 autoreply define gbp_endpoint_group_add_del
83 vl_api_gbp_endpoint_group_t epg;
86 define gbp_endpoint_group_dump
92 define gbp_endpoint_group_details
95 vl_api_gbp_endpoint_group_t epg;
98 typeonly define gbp_recirc
105 autoreply define gbp_recirc_add_del
110 vl_api_gbp_recirc_t recirc;
113 define gbp_recirc_dump
119 define gbp_recirc_details
122 vl_api_gbp_recirc_t recirc;
125 typeonly define gbp_subnet
131 vl_api_prefix_t prefix;
134 autoreply define gbp_subnet_add_del
139 vl_api_gbp_subnet_t subnet;
142 define gbp_subnet_dump
148 define gbp_subnet_details
151 vl_api_gbp_subnet_t subnet;
154 typeonly define gbp_contract
161 autoreply define gbp_contract_add_del
166 vl_api_gbp_contract_t contract;
169 define gbp_contract_dump
175 define gbp_contract_details
178 vl_api_gbp_contract_t contract;
183 * eval: (c-set-style "gnu")