Override ovsdb_timeout default value in ovs_cleanup tool
In case when there is a lot of ports to clean in bridge, default
ovsdb_timeout which is set for 10 seconds is not enough.
This patch overrides default 10 seconds timeout in neutron-ovs-cleanup
tool to 600 seconds.
600 seconds value was tested experimentally on my dev environment for
at least 10000 ports in bridge.
In case when user will have more ports to delete with this script,
it will be required to increase this ovsdb_timeout value in
configuration.
Reviewed: https:/ /review. openstack. org/561186 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=806d96cbbe4 5fcd473935e777a 2a56037fbb9d12
Committed: https:/
Submitter: Zuul
Branch: master
commit 806d96cbbe45fcd 473935e777a2a56 037fbb9d12
Author: Sławek Kapłoński <email address hidden>
Date: Fri Apr 13 11:34:42 2018 +0200
Override ovsdb_timeout default value in ovs_cleanup tool
In case when there is a lot of ports to clean in bridge, default
ovsdb_timeout which is set for 10 seconds is not enough.
This patch overrides default 10 seconds timeout in neutron-ovs-cleanup
tool to 600 seconds.
600 seconds value was tested experimentally on my dev environment for
at least 10000 ports in bridge.
In case when user will have more ports to delete with this script,
it will be required to increase this ovsdb_timeout value in
configuration.
Change-Id: I79a554acdb1d6d 61903be0c42d021 5d302884e93
Closes-Bug: #1763604