On 25 July 2016 at 18:16, Flavio Leitner <f...@redhat.com> wrote:
> When ifdown isn't executed (system didn't shut down properly),
> ports remain in the openvswitch's database.  In that case, an
> inconsitency is left behind when the ifcfg was modified because
> ovs-vsctl won't do anything to update existing port's configuration
> in the database.
>
> The ifup/ifdown will operate only on configured interfaces, so
> this patch fixes the issue by deleting the port from the database
> before attempt to configure it with fresh configuration.
>
> Signed-off-by: Flavio Leitner <f...@redhat.com>

I think that the --may-exist was intended to cover this, but based on
the documentation in ovs-vsctl(8) it doesn't. This looks more
resilient, thanks.

Applied to master.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to