[ovs-git] [openvswitch/ovs] 54b21d: ovs-ctl: Add option to delete transient ports.

GitHub noreply at github.com
Tue Sep 1 20:59:59 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 54b21db7235d51b75a45a477d57daa06cb9ffe55
      https://github.com/openvswitch/ovs/commit/54b21db7235d51b75a45a477d57daa06cb9ffe55
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-09-01 (Tue, 01 Sep 2015)

  Changed paths:
    M utilities/ovs-ctl.8
    M utilities/ovs-ctl.in
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  ovs-ctl: Add option to delete transient ports.

When using virtualization, new ports are created and removed all the time. These
ports do not persist after a system reboot, for example. They may be created
again by the virtualization manager, but that will happen after the vswitch is
already running, and the virtualization manager will add them again to the
bridge.

If a reboot happens without properly deleting such ports, all kinds of errors
will happen. The absence of the ports will be logged as errors, and adding those
ports again to the database will fail.

Deleting all bridges may not be an option, if the system cannot persist other
information outside of OVSDB.

This patch introduces the notion of transient ports. Ports may be added as
transient, as a boolean in other_config smap. When openvswitch is started by
using --delete-transient-ports ovs-ctl option, all transient ports will be
removed.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list