[ovs-git] [openvswitch/ovs] db0ef1: ovs-save: Handle cases of upgrades from very old O...

Gurucharan Shetty noreply at github.com
Thu May 9 22:13:06 UTC 2019


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: db0ef1bf4748770363d7f83044058e926733838d
      https://github.com/openvswitch/ovs/commit/db0ef1bf4748770363d7f83044058e926733838d
  Author: Gurucharan Shetty <guru at ovn.org>
  Date:   2019-05-09 (Thu, 09 May 2019)

  Changed paths:
    M utilities/ovs-save

  Log Message:
  -----------
  ovs-save: Handle cases of upgrades from very old OVS versions.

We have added code to ovs-save over the last few releases
which makes the following bad assumptions.

1. The default OpenFlow version of running daemon is OpenFlow14.

Impact: This causes upgrades from older OVS versions to end up with no
flows in their bridges (even the default 'NORMAL' ones) causing traffic
to stop.

2. That ovs-ofctl commands like dump-groups and dump-tlv-map
will just work with old OVS versions.

Impact: Does not look like it effects the upgrade in a bad away - except
you get some errors.

Since OpenFlow14 was enabled by default in OVS 2.8, this commit makes
a lazy assumption that any upgrade of OVS from versions before 2.7
will not attempt to save and restore flows.

VMware-BZ: #2340482
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list