2 * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 option version = "2.0.0";
18 import "vnet/interface_types.api";
19 import "vnet/ip/ip_types.api";
21 define vxlan_gpe_add_del_tunnel
25 vl_api_address_t local;
26 vl_api_address_t remote;
27 vl_api_interface_index_t mcast_sw_if_index;
30 vl_api_ip_proto_t protocol;
32 bool is_add [default=true];
35 define vxlan_gpe_add_del_tunnel_reply
39 vl_api_interface_index_t sw_if_index;
42 define vxlan_gpe_tunnel_dump
46 vl_api_interface_index_t sw_if_index;
49 define vxlan_gpe_tunnel_details
52 vl_api_interface_index_t sw_if_index;
53 vl_api_address_t local;
54 vl_api_address_t remote;
56 vl_api_ip_proto_t protocol;
57 vl_api_interface_index_t mcast_sw_if_index;
63 /** \brief Interface set vxlan-gpe-bypass request
64 @param client_index - opaque cookie to identify the sender
65 @param context - sender context, to match reply w/ request
66 @param sw_if_index - interface used to reach neighbor
67 @param is_ipv6 - if non-zero, enable ipv6-vxlan-bypass, else ipv4-vxlan-bypass
68 @param enable - if non-zero enable, else disable
70 autoreply define sw_interface_set_vxlan_gpe_bypass
74 vl_api_interface_index_t sw_if_index;
76 bool enable [default=true];
81 * eval: (c-set-style "gnu")