summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNobuhiro MIKI <nmiki@yahoo-corp.jp>2023-03-29 14:51:17 +0900
committerIlya Maximets <i.maximets@ovn.org>2023-03-29 22:16:04 +0200
commit03fc1ad78521544c7269355ec72fec8c2373b96d (patch)
treef2e4ce3a254351440ed24c1dd3bf8ef408e0ea01 /Documentation
parent349112f975ed3a9876d7bde92ba0622d2384f0c4 (diff)
downloadopenvswitch-03fc1ad78521544c7269355ec72fec8c2373b96d.tar.gz
userspace: Add SRv6 tunnel support.
SRv6 (Segment Routing IPv6) tunnel vport is responsible for encapsulation and decapsulation the inner packets with IPv6 header and an extended header called SRH (Segment Routing Header). See spec in: https://datatracker.ietf.org/doc/html/rfc8754 This patch implements SRv6 tunneling in userspace datapath. It uses `remote_ip` and `local_ip` options as with existing tunnel protocols. It also adds a dedicated `srv6_segs` option to define a sequence of routers called segment list. Signed-off-by: Nobuhiro MIKI <nmiki@yahoo-corp.jp> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/faq/configuration.rst21
-rw-r--r--Documentation/faq/releases.rst1
2 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/faq/configuration.rst b/Documentation/faq/configuration.rst
index dc6c92446..4df390dc2 100644
--- a/Documentation/faq/configuration.rst
+++ b/Documentation/faq/configuration.rst
@@ -238,6 +238,27 @@ Q: Does Open vSwitch support GTP-U?
set int gtpu0 type=gtpu options:key=<teid> \
options:remote_ip=172.31.1.1
+Q: Does Open vSwitch support SRv6?
+
+ A: Yes. Starting with version 3.2, the Open vSwitch userspace
+ datapath supports SRv6 (Segment Routing over IPv6). The following
+ example shows tunneling to fc00:300::1 via fc00:100::1 and fc00:200::1.
+ In the current implementation, if "IPv6 in IPv6" or "IPv4 in IPv6" packets
+ are routed to this interface, and these packets are not SRv6 packets, they
+ may be dropped, so be careful in workloads with a mix of these tunnels.
+ Also note the following restrictions:
+
+ * Segment list length is limited to 6.
+ * SRv6 packets with other than segments_left = 0 are simply dropped.
+
+ ::
+
+ $ ovs-vsctl add-br br0
+ $ ovs-vsctl add-port br0 srv6_0 -- \
+ set int srv6_0 type=srv6 \
+ options:remote_ip=fc00:100::1 \
+ options:srv6_segs="fc00:100::1,fc00:200::1,fc00:300::1"
+
Q: How do I connect two bridges?
A: First, why do you want to do this? Two connected bridges are not much
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 9e1b42262..9fb679e30 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -151,6 +151,7 @@ Q: Are all features available with all datapaths?
Tunnel - ERSPAN 4.18 2.10 2.10 NO
Tunnel - ERSPAN-IPv6 4.18 2.10 2.10 NO
Tunnel - GTP-U NO NO 2.14 NO
+ Tunnel - SRv6 NO NO 3.2 NO
Tunnel - Bareudp 5.7 NO NO NO
QoS - Policing YES 1.1 2.6 NO
QoS - Shaping YES 1.1 NO NO