[ovs-dev] [PATCH ovn] ovn-nb: Document LRP gateway_mtu option
Frode Nordahl
frode.nordahl at canonical.com
Tue Nov 9 10:00:33 UTC 2021
The Logical Router Port gateway_mtu option is currently only
documented together with implementation details in the ovn-northd
documentation.
As this is CMS API we ought to document this as part of the OVN
Northbound Database as well.
Reported-at: https://github.com/ovn-org/ovn/issues/78
Fixes: 7d42c14 ("ovn: Generate ICMPv4 packet in router pipeline for larger packets")
Signed-off-by: Frode Nordahl <frode.nordahl at canonical.com>
---
ovn-nb.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/ovn-nb.xml b/ovn-nb.xml
index 036ffa64f..e4ec25038 100644
--- a/ovn-nb.xml
+++ b/ovn-nb.xml
@@ -2820,6 +2820,18 @@
prefix according to RFC3663
</p>
</column>
+
+ <column name="options" key="gateway_mtu" type='{"type": "integer", "minInteger": 68, "maxInteger": 65535}'>
+ <p>
+ If set, logical flows will be added to router pipeline to check
+ packet length. If packet length is greater than the value set,
+ ICMPv4 type 3 (Destination Unreachable) code 4 (Fragmentation Needed
+ and Don't Fragment was Set) or ICMPv6 type 2 (Packet Too Big)
+ code 0 (no route to destination) packets will be generated.
+
+ This allows for Path MTU Discovery.
+ </p>
+ </column>
</group>
<group title="Attachment">
--
2.32.0
More information about the dev
mailing list