FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
vxlan_gpe.api
Go to the documentation of this file.
1 /*
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:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
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.
14  */
15 
16 option version = "2.0.0";
17 
18 import "vnet/interface_types.api";
19 import "vnet/ip/ip_types.api";
20 
21 define vxlan_gpe_add_del_tunnel
22 {
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];
33 };
34 
35 define vxlan_gpe_add_del_tunnel_reply
36 {
39  vl_api_interface_index_t sw_if_index;
40 };
41 
42 define vxlan_gpe_tunnel_dump
43 {
46  vl_api_interface_index_t sw_if_index;
47 };
48 
49 define vxlan_gpe_tunnel_details
50 {
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;
60  bool is_ipv6;
61 };
62 
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
69 */
70 autoreply define sw_interface_set_vxlan_gpe_bypass
71 {
74  vl_api_interface_index_t sw_if_index;
75  bool is_ipv6;
76  bool enable [default=true];
77 };
78 
79 /*
80  * Local Variables:
81  * eval: (c-set-style "gnu")
82  * End:
83  */
vl_api_vxlan_gpe_tunnel_details_t::context
u32 context
Definition: vxlan_gpe.api:51
vl_api_vxlan_gpe_tunnel_details_t::mcast_sw_if_index
vl_api_interface_index_t mcast_sw_if_index
Definition: vxlan_gpe.api:57
vl_api_vxlan_gpe_tunnel_details_t
Definition: vxlan_gpe.api:49
vl_api_vxlan_gpe_add_del_tunnel_t::is_add
bool is_add[default=true]
Definition: vxlan_gpe.api:32
vl_api_vxlan_gpe_tunnel_details_t::local
vl_api_address_t local
Definition: vxlan_gpe.api:53
vl_api_vxlan_gpe_add_del_tunnel_t::decap_vrf_id
u32 decap_vrf_id
Definition: vxlan_gpe.api:29
vl_api_sw_interface_set_vxlan_gpe_bypass_t::client_index
u32 client_index
Definition: vxlan_gpe.api:72
vl_api_vxlan_gpe_add_del_tunnel_t::protocol
vl_api_ip_proto_t protocol
Definition: vxlan_gpe.api:30
vl_api_vxlan_gpe_tunnel_details_t::protocol
vl_api_ip_proto_t protocol
Definition: vxlan_gpe.api:56
vl_api_vxlan_gpe_tunnel_dump_t::client_index
u32 client_index
Definition: vxlan_gpe.api:44
i32
signed int i32
Definition: types.h:77
vl_api_vxlan_gpe_tunnel_details_t::remote
vl_api_address_t remote
Definition: vxlan_gpe.api:54
vl_api_vxlan_gpe_add_del_tunnel_t::mcast_sw_if_index
vl_api_interface_index_t mcast_sw_if_index
Definition: vxlan_gpe.api:27
vl_api_vxlan_gpe_add_del_tunnel_t
Definition: vxlan_gpe.api:21
vl_api_vxlan_gpe_tunnel_details_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: vxlan_gpe.api:52
vl_api_vxlan_gpe_add_del_tunnel_t::local
vl_api_address_t local
Definition: vxlan_gpe.api:25
vl_api_vxlan_gpe_tunnel_details_t::encap_vrf_id
u32 encap_vrf_id
Definition: vxlan_gpe.api:58
vl_api_sw_interface_set_vxlan_gpe_bypass_t::is_ipv6
bool is_ipv6
Definition: vxlan_gpe.api:75
vl_api_sw_interface_set_vxlan_gpe_bypass_t
Interface set vxlan-gpe-bypass request.
Definition: vxlan_gpe.api:70
vl_api_vxlan_gpe_tunnel_details_t::vni
u32 vni
Definition: vxlan_gpe.api:55
vl_api_vxlan_gpe_add_del_tunnel_t::encap_vrf_id
u32 encap_vrf_id
Definition: vxlan_gpe.api:28
vl_api_sw_interface_set_vxlan_gpe_bypass_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: vxlan_gpe.api:74
vl_api_vxlan_gpe_tunnel_details_t::is_ipv6
bool is_ipv6
Definition: vxlan_gpe.api:60
vl_api_vxlan_gpe_tunnel_details_t::decap_vrf_id
u32 decap_vrf_id
Definition: vxlan_gpe.api:59
vl_api_vxlan_gpe_add_del_tunnel_reply_t::context
u32 context
Definition: vxlan_gpe.api:37
u32
unsigned int u32
Definition: types.h:88
vl_api_vxlan_gpe_add_del_tunnel_t::vni
u32 vni
Definition: vxlan_gpe.api:31
vl_api_vxlan_gpe_tunnel_dump_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: vxlan_gpe.api:46
vl_api_sw_interface_set_vxlan_gpe_bypass_t::context
u32 context
Definition: vxlan_gpe.api:73
vl_api_vxlan_gpe_add_del_tunnel_t::context
u32 context
Definition: vxlan_gpe.api:24
vl_api_vxlan_gpe_add_del_tunnel_reply_t::sw_if_index
vl_api_interface_index_t sw_if_index
Definition: vxlan_gpe.api:39
vl_api_vxlan_gpe_add_del_tunnel_reply_t
Definition: vxlan_gpe.api:35
vl_api_vxlan_gpe_add_del_tunnel_t::client_index
u32 client_index
Definition: vxlan_gpe.api:23
vl_api_vxlan_gpe_tunnel_dump_t
Definition: vxlan_gpe.api:42
vl_api_sw_interface_set_vxlan_gpe_bypass_t::enable
bool enable[default=true]
Definition: vxlan_gpe.api:76
version
option version
Definition: vxlan_gpe.api:16
vl_api_vxlan_gpe_add_del_tunnel_reply_t::retval
i32 retval
Definition: vxlan_gpe.api:38
vl_api_vxlan_gpe_add_del_tunnel_t::remote
vl_api_address_t remote
Definition: vxlan_gpe.api:26
vl_api_vxlan_gpe_tunnel_dump_t::context
u32 context
Definition: vxlan_gpe.api:45