the commit below added the options dynamic-routing-vrf-name and
dynamic-routing-port-name to the Port_Binding but did not add any
documentation for the southbound database.

Add documentation for these two options

Fixes: 94741766afd8 ("northd: Sync routing data to pb.")
Assisted-by: Claude Opus 4.6, Claude Code
Signed-off-by: Jacob Tanenbaum <[email protected]>

---
v3 - updated patch subject to end with a dot.
---
---
 ovn-sb.xml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/ovn-sb.xml b/ovn-sb.xml
index 652f9080a..61c369edb 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -4044,6 +4044,59 @@ tcp.flags = RST;
     </group>
 
     <group title="Dynamic Routing">
+      <column name="options" key="dynamic-routing"
+              type='{"type": "boolean"}'>
+        Set to <code>true</code> by <code>ovn-northd</code> on
+        <code>chassisredirect</code> and <code>l3gateway</code>
+        port bindings when the parent logical router has dynamic
+        routing enabled.  This enables <code>ovn-controller</code>
+        to advertise and learn routes for this port.
+      </column>
+
+      <column name="options" key="dynamic-routing-maintain-vrf"
+              type='{"type": "boolean"}'>
+        <p>
+          Only relevant if <ref column="options" key="dynamic-routing"/>
+          is set to <code>true</code>.
+        </p>
+
+        <p>
+          When set to <code>true</code>, <code>ovn-controller</code>
+          creates and maintains a VRF for this port's routing protocol
+          session.  Copied from the
+          <ref table="Logical_Router_Port" db="OVN_Northbound"/>
+          <code>options:dynamic-routing-maintain-vrf</code> option.
+        </p>
+      </column>
+
+      <column name="options" key="dynamic-routing-vrf-name">
+        <p>
+          Only relevant if <ref column="options" key="dynamic-routing"/>
+          is set to <code>true</code>.
+        </p>
+
+        <p>
+          The VRF name to use for this port's routing protocol session.
+          Copied from the
+          <ref table="Logical_Router" db="OVN_Northbound"/>
+          <code>options:dynamic-routing-vrf-name</code> option.
+        </p>
+      </column>
+
+      <column name="options" key="dynamic-routing-port-name">
+        <p>
+          Only relevant if <ref column="options" key="dynamic-routing"/>
+          is set to <code>true</code>.
+        </p>
+
+        <p>
+          The port name within the VRF for this port's routing protocol
+          session.  Copied from the
+          <ref table="Logical_Router_Port" db="OVN_Northbound"/>
+          <code>options:dynamic-routing-port-name</code> option.
+        </p>
+      </column>
+
       <column name="options"
           key="dynamic-routing-redistribute-local-only"
           type='{"type": "boolean"}'>
-- 
2.55.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to