]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add request timeout handling for Mellanox Neutron Agent
authorIrena Berezovsky <irenab@mellanox.com>
Sun, 29 Sep 2013 11:09:44 +0000 (13:09 +0200)
committerIrena Berezovsky <irenab@mellanox.com>
Sun, 1 Dec 2013 08:04:40 +0000 (10:04 +0200)
commit793c76344715790531d39436508b188b536e2ff5
tree3da692cf2bfc8c3b1bc755c324bddcd4a272ac05
parent426ada771a0114ef2b1ba24b2161d718758598ae
Add request timeout handling for Mellanox Neutron Agent

Add request timeout handling for messages sent to eswitch Daemon.
Using configurable number of retries and increasing waiting interval
between retries resend the message.
If request timeout persists, eswitch daemon is not reachable.
In such case, exit the agent process.

Closes-Bug: #1228827

Change-Id: If1290bedafe7a0dd8a61cbe328510075edeb1e5b
etc/neutron/plugins/mlnx/mlnx_conf.ini
neutron/plugins/mlnx/agent/eswitch_neutron_agent.py
neutron/plugins/mlnx/agent/utils.py
neutron/plugins/mlnx/common/comm_utils.py [new file with mode: 0644]
neutron/plugins/mlnx/common/config.py
neutron/plugins/mlnx/common/exceptions.py
neutron/tests/unit/mlnx/test_mlnx_comm_utils.py [new file with mode: 0644]