FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
geneve.api
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 SUSE LLC.
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/ethernet/ethernet_types.api";
20 import "vnet/ip/ip_types.api";
21 
22 define geneve_add_del_tunnel
23 {
26  bool is_add;
27  vl_api_address_t local_address;
28  vl_api_address_t remote_address;
29  vl_api_interface_index_t mcast_sw_if_index;
33 };
34 
35 define geneve_add_del_tunnel_reply
36 {
39  vl_api_interface_index_t sw_if_index;
40 };
41 
42 define geneve_tunnel_dump
43 {
46  vl_api_interface_index_t sw_if_index;
47 };
48 
49 define geneve_tunnel_details
50 {
52  vl_api_interface_index_t sw_if_index;
53  vl_api_address_t src_address;
54  vl_api_address_t dst_address;
55  vl_api_interface_index_t mcast_sw_if_index;
59 };
60 
61 /** \brief Interface set geneve-bypass request
62  @param client_index - opaque cookie to identify the sender
63  @param context - sender context, to match reply w/ request
64  @param sw_if_index - interface used to reach neighbor
65  @param is_ipv6 - if non-zero, enable ipv6-geneve-bypass, else ipv4-geneve-bypass
66  @param enable - if non-zero enable, else disable
67 */
68 autoreply define sw_interface_set_geneve_bypass
69 {
72  vl_api_interface_index_t sw_if_index;
73  bool is_ipv6;
74  bool enable;
75 };
vl_api_interface_index_t mcast_sw_if_index
Definition: geneve.api:29
vl_api_interface_index_t mcast_sw_if_index
Definition: geneve.api:55
vl_api_address_t remote_address
Definition: geneve.api:28
vl_api_interface_index_t sw_if_index
Definition: geneve.api:52
unsigned int u32
Definition: types.h:88
vl_api_address_t local_address
Definition: geneve.api:27
vl_api_interface_index_t sw_if_index
Definition: geneve.api:39
vl_api_interface_index_t sw_if_index
Definition: geneve.api:72
vl_api_address_t src_address
Definition: geneve.api:53
signed int i32
Definition: types.h:77
vl_api_interface_index_t sw_if_index
Definition: geneve.api:46
vl_api_address_t dst_address
Definition: geneve.api:54
option version
Definition: geneve.api:16