[ovs-git] [openvswitch/ovs] 7c6baa: ovs-ctl: do not attempt to restore flows when call...

GitHub noreply at github.com
Tue Aug 25 20:40:41 UTC 2015


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: 7c6baaa88fdd4d6ba49ada9e71aa52529d660d9a
      https://github.com/openvswitch/ovs/commit/7c6baaa88fdd4d6ba49ada9e71aa52529d660d9a
  Author: Simon Horman <simon.horman at netronome.com>
  Date:   2015-08-25 (Tue, 25 Aug 2015)

  Changed paths:
    M utilities/ovs-ctl.in

  Log Message:
  -----------
  ovs-ctl: do not attempt to restore flows when called with --delete-bridges

When called with --delete-bridges saved flows cannot be restored as the
bridges to which they belong no longer exist. This results in the following
error messages on restart.

ovs-ofctl: br0 is not a bridge or a socket
Restoring saved flows ... failed!

Although there is no effect of this error other than the message
it seems worth avoiding. This patch does so by skipping saving of flows
when --delete-bridges is in effect.

As flows are no longer saved when --delete-bridges is in effect
a side-effect of this change is that restart may be faster when
there are many flows.

Signed-off-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list