4bf75d915b
Monitor agent fails to monitor the switch once switch restarts. socket.recv() is a blocked call (if timeout value is not passed) due to which we cannot determine if the remote OVSDB server has died. The remote OVSDB server sends echo requests every 4 seconds. If there is no echo request on the socket for socket_timeout seconds (by default socket_timeout value is 30 seconds), the agent can safely assume that the connection with the remote OVSDB server is lost. Better to retry by reopening the socket. Closes-Bug: 1615499 Change-Id: I7dae57c620e048780e27a0ba9d52670d519e303c |
||
---|---|---|
.. | ||
l2gateway_agent.ini | ||
l2gw_plugin.ini | ||
policy.json |