[ovs-dev] [PATCH 1/2] ovs-ctl: Remove code for upgrading from Open vSwitch 1.9 and earlier.

Ben Pfaff blp at ovn.org
Thu Mar 17 03:11:06 UTC 2016


On Wed, Mar 16, 2016 at 06:06:06PM -0700, Jesse Gross wrote:
> On Wed, Mar 16, 2016 at 4:45 PM, Ben Pfaff <blp at ovn.org> wrote:
> > diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in
> > index 0082bed..c1fdd1a 100755
> > --- a/utilities/ovs-ctl.in
> > +++ b/utilities/ovs-ctl.in
> > -save_ofports_if_required () {
> > -    # Save OpenFlow port numbers if we are upgrading from a pre-1.10 branch.
> > -    #
> > -    # (Versions 1.10 and later save OpenFlow port numbers without assistance,
> > -    # so we don't have to do anything for them.
> > -    case `ovs-appctl version | sed 1q` in
> > -        "ovs-vswitchd (Open vSwitch) 1."[0-9].*)
> > -            action "Saving ofport values" ovs_save save-ofports \
> > -                "${script_ofports}"
> 
> I think we can now remove the script_ofports initialization from
> init_restore_scripts now that it is no longer used.

Thanks, I've now removed that too.

> Otherwise it looks good though.
> Acked-by: Jesse Gross <jesse at kernel.org>

Thanks, I'll push this with the other patch in a minute.



More information about the dev mailing list