mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
Add support for LISP tunneling
LISP is an experimental layer 3 tunneling protocol, described in RFC 6830. This patch adds support for LISP tunneling. Since LISP encapsulated packets do not carry an Ethernet header, it is removed before encapsulation, and added with hardcoded source and destination MAC addresses after decapsulation. The harcoded MAC chosen for this purpose is the locally administered address 02:00:00:00:00:00. Flow actions can be used to rewrite this MAC for correct reception. As such, this patch is intended to be used for static network configurations, or with a LISP capable controller. Signed-off-by: Lorand Jakab <lojakab@cisco.com> Signed-off-by: Kyle Mestery <kmestery@cisco.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
committed by
Jesse Gross
parent
54e536a64f
commit
a6ae068b7b
@@ -442,6 +442,9 @@ get_vport_type(const struct dpif_linux_vport *vport)
|
||||
case OVS_VPORT_TYPE_VXLAN:
|
||||
return "vxlan";
|
||||
|
||||
case OVS_VPORT_TYPE_LISP:
|
||||
return "lisp";
|
||||
|
||||
case OVS_VPORT_TYPE_UNSPEC:
|
||||
case __OVS_VPORT_TYPE_MAX:
|
||||
break;
|
||||
@@ -467,6 +470,8 @@ netdev_to_ovs_vport_type(const struct netdev *netdev)
|
||||
return OVS_VPORT_TYPE_GRE;
|
||||
} else if (!strcmp(type, "vxlan")) {
|
||||
return OVS_VPORT_TYPE_VXLAN;
|
||||
} else if (!strcmp(type, "lisp")) {
|
||||
return OVS_VPORT_TYPE_LISP;
|
||||
} else {
|
||||
return OVS_VPORT_TYPE_UNSPEC;
|
||||
}
|
||||
|
Reference in New Issue
Block a user