aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/geneve/geneve.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-06-17 22:57:13 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-07-24 09:28:04 +0000
commit7fc88cf3a1236ebf9f21a2054eee7d586e031e5f (patch)
treea3a34e333a1dd0d1952fb3254b163aabfe6dcc13 /src/vnet/geneve/geneve.api
parent5a849e3b359dcf8f730429e1ccb7421f1c4217b6 (diff)
geneve: support geneve interface acting as a bvi
create geneve tunnel local 10.10.10.10 remote 10.10.10.9 vni 48 decap-next node ethernet-input l3-mode set interface ip address geneve_tunnel0 11.11.11.12/24 Type: feature Change-Id: I579ce879553d72a2e8048e33d0c0122674996b81 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/geneve/geneve.api')
-rw-r--r--src/vnet/geneve/geneve.api24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/vnet/geneve/geneve.api b/src/vnet/geneve/geneve.api
index 5fad670b9db..4502d890797 100644
--- a/src/vnet/geneve/geneve.api
+++ b/src/vnet/geneve/geneve.api
@@ -13,7 +13,7 @@
* limitations under the License.
*/
-option version = "2.0.0";
+option version = "2.1.0";
import "vnet/interface_types.api";
import "vnet/ethernet/ethernet_types.api";
@@ -21,6 +21,7 @@ import "vnet/ip/ip_types.api";
define geneve_add_del_tunnel
{
+ option deprecated="20.06";
u32 client_index;
u32 context;
bool is_add;
@@ -39,6 +40,27 @@ define geneve_add_del_tunnel_reply
vl_api_interface_index_t sw_if_index;
};
+define geneve_add_del_tunnel2
+{
+ u32 client_index;
+ u32 context;
+ bool is_add;
+ vl_api_address_t local_address;
+ vl_api_address_t remote_address;
+ vl_api_interface_index_t mcast_sw_if_index;
+ u32 encap_vrf_id;
+ u32 decap_next_index;
+ u32 vni;
+ bool l3_mode;
+};
+
+define geneve_add_del_tunnel2_reply
+{
+ u32 context;
+ i32 retval;
+ vl_api_interface_index_t sw_if_index;
+};
+
define geneve_tunnel_dump
{
u32 client_index;