mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
userspace: add erspan tunnel support.
ERSPAN is a tunneling protocol based on GRE tunnel. The patch add erspan tunnel support for ovs-vswitchd with userspace datapath. Configuring erspan tunnel is similar to gre tunnel, but with additional erspan's parameters. Matching a flow on erspan's metadata is also supported, see ovs-fields for more details. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -819,6 +819,10 @@ netdev_to_ovs_vport_type(const char *type)
|
||||
return OVS_VPORT_TYPE_VXLAN;
|
||||
} else if (!strcmp(type, "lisp")) {
|
||||
return OVS_VPORT_TYPE_LISP;
|
||||
} else if (!strcmp(type, "erspan")) {
|
||||
return OVS_VPORT_TYPE_ERSPAN;
|
||||
} else if (!strcmp(type, "ip6erspan")) {
|
||||
return OVS_VPORT_TYPE_IP6ERSPAN;
|
||||
} else {
|
||||
return OVS_VPORT_TYPE_UNSPEC;
|
||||
}
|
||||
|
Reference in New Issue
Block a user