[ovs-git] [openvswitch/ovs] c1bfdd: rconn: Disable probe for local connections.

GitHub noreply at github.com
Fri Jun 3 18:53:21 UTC 2016

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c1bfdd9da7eb9f194a2e424f64ef41b02bbf7442
  Author: nghosh at us.ibm.com <nghosh at us.ibm.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M lib/rconn.c

  Log Message:
  rconn: Disable probe for local connections.

There are four sessions established from ovn-controller to the following:
OVN Southbound — JSONRPC based
Local ovsdb — JSONRPC based
Local vswitchd — openflow based from ofctrl
Local vswitchd — openflow based from pinctrl

All of these sessions have their own probe_interval, For the last
two connections, they do not need probe_timer as they are over unix domain
socket. This patch takes care of that.

This change has been tested putting logs in several places like in
ovn-controller.c, lib/rconn.c to make sure the probe_timer is
disabled. Also, by making sure from ovn-controller's
log file that there is no more reconnect happening due to probe
under heavy load.

Signed-off-by: Nirapada Ghosh <nghosh at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list