The "event" option on Load_Balancer.options was supported in code
(set via "ovn-nbctl lb-add --event") but not documented in
ovn-nb.xml. Add documentation describing its behavior: when true
and the load balancer has no active backends, incoming traffic
triggers a controller event in the SB Controller_Event table.

Assisted-by: Claude Code (Claude Opus 4.6)
Signed-off-by: Mark Michelson <[email protected]>
---
 ovn-nb.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ovn-nb.xml b/ovn-nb.xml
index 7324e8656..e1061b6d3 100644
--- a/ovn-nb.xml
+++ b/ovn-nb.xml
@@ -2770,6 +2770,15 @@ or
         router.
       </column>
 
+      <column name="options" key="event" type='{"type": "boolean"}'>
+        If set to <code>true</code> and the load balancer has no active
+        backends, whenever the load balancer receives traffic, the event
+        is reported in the <ref table="Controller_Event"
+        db="OVN_Southbound"/> table in the OVN Southbound database.
+        The <code>event</code> option cannot be used together with the
+        <code>reject</code> option.
+      </column>
+
     </group>
   </table>
 
-- 
2.52.0

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

Reply via email to