[ovs-dev] [PATCH/RFC] ovs-ctl: do not attempt to restore flows when called with --delete-bridges

Ben Pfaff blp at nicira.com
Fri Aug 21 17:50:28 UTC 2015


On Fri, Aug 21, 2015 at 10:25:22AM -0700, Gurucharan Shetty wrote:
> On Thu, Aug 20, 2015 at 4:45 PM, Simon Horman
> <simon.horman at netronome.com> wrote:
> > 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>
> Acked-by: Gurucharan Shetty <gshetty at nicira.com>
>  (I will apply this in a few hours, if no one else has any comments)

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list