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: I79a554acdb1d6d61903be0c42d0215d302884e93
Closes-Bug: #1763604
(cherry picked from commit 806d96cbbe45fcd473935e777a2a56037fbb9d12)
Reviewed: https:/ /review. openstack. org/562147 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a82e9604f19 121d6f72c098f82 6605c3326ebc54
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit a82e9604f19121d 6f72c098f826605 c3326ebc54
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 473935e777a2a56 037fbb9d12)
Closes-Bug: #1763604
(cherry picked from commit 806d96cbbe45fcd