Rodolfo Alonso Hernandez 821362d9b3 ovn: Add `TimedOnetimeEvent` for auto-expiring OVSDB watchers
Add a new ``TimedOnetimeEvent`` class that extends ovsdbapp's
``RowEvent`` with two guarantees: the event fires at most once
(``ONETIME = True``), and if it does not match within a configurable
timeout it is automatically unwatched from the event handler via a
daemon ``threading.Timer``.

This is useful for transient watchers that should not remain registered
indefinitely if the expected DB change never arrives (e.g. waiting for
a port to appear on a bridge).

Related-Bug: #2158253
Assisted-By: Claude Opus 4.6
Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>
Change-Id: Ic4f8a3e5b7d1a9e0f2c6b4d8a1e3f5c7d9b2a4e6
2026-06-30 13:40:03 +02:00
2016-06-28 22:46:19 +02:00
2026-06-29 11:13:52 +09:00
2026-06-29 13:57:33 +02:00
2026-06-29 13:57:33 +02:00
2019-04-19 19:38:27 +00:00
2014-05-16 13:40:04 -04:00
2026-06-02 07:31:17 -04:00
2024-11-27 11:32:09 +09:00
2025-07-28 20:11:20 +00:00
2024-01-12 17:44:09 +09:00
2026-05-18 16:30:56 -04:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

Get in touch via email. Use [Neutron] in your subject.

S
Description
OpenStack Networking (Neutron)
Readme
1.1 GiB
2 Watchers 0 Forks
Languages
Python 99.6%
Shell 0.4%