neutron/neutron/agent/ovn
Terry Wilson 5783e95288 Ensure ovsdb_probe_interval set before connect()
Setting the ovsdb_probe_interval after Connection.start() is
called means that the probe interval is not changed from
python-ovs's default of 5s until after the initial copy of the
database is retrieved. On busy systems, this can time out and
cause infinite reconnects.

This patch passes the probe_interval argument to the ovs.db.Idl
class so that it can be set as part of creating the jsonrpc
Session.

Some unit tests were removed and replaced with a functional test
which ensures not just that set_probe_interval is called, but that
the value is actually set before the connection is established.

Closes-bug: #1905611
Change-Id: I8c940ac8f7632c69607dea7220146ef59d55ed56
2020-11-25 19:55:32 +00:00
..
metadata Ensure ovsdb_probe_interval set before connect() 2020-11-25 19:55:32 +00:00
__init__.py [OVN] Move OVN metadata agent 2019-12-09 10:48:39 +00:00
metadata_agent.py [OVN] Change DevStack to use the local OVN driver 2020-01-16 09:28:43 +00:00