]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add configurable ovsdb monitor respawn interval
authorTerry Wilson <twilson@redhat.com>
Wed, 20 Nov 2013 15:55:02 +0000 (09:55 -0600)
committerTerry Wilson <twilson@redhat.com>
Wed, 20 Nov 2013 21:16:27 +0000 (15:16 -0600)
commit14950e492ad4423aa6f8719f7178b0477294ba5a
treeddca793292c7b4079fb57b8685bfb231f4e32b57
parent61e9268bd4b696860eeb5a6ce59ae6bf42b1f0c8
Add configurable ovsdb monitor respawn interval

If minimize_polling=True and the ovsdb-client process died, the
default respawn interval of 0 would mean that we'd start polling
again. This patch adds the option ovsdb_monitor_respawn_interval and
defaults it to 30 seconds.

Change-Id: I12c1e05ec4d6d2bd4d84024a91116e2ac3974868
Close-Bug: 1243867
etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
neutron/agent/linux/polling.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/plugins/openvswitch/common/config.py
neutron/plugins/openvswitch/common/constants.py
neutron/tests/functional/agent/linux/test_ovsdb_monitor.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py