[ovs-git] Open vSwitch: xenserver: Fix bugs related to using xe-switch-network-backend in spec file. (branch-1.1)

dev at openvswitch.org dev at openvswitch.org
Mon May 23 16:19:17 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.1 has been updated
       via  f9b1f3983adfe00b953c7a6042d6f90df150e758 (commit)
       via  0f50458b0a3054566c4f5cd70e0bc92ca7dafe49 (commit)
       via  471e49969982c9bf51ce6dbb9ad5ca14c3f13361 (commit)
       via  e534fe1bcf37ca9333356d422d9996ca12845302 (commit)
       via  4b9fd100e8dbd3d7c2945d2916d563b5d703cdae (commit)
       via  33029547d3db19c05b4d010287ae2819f12786b0 (commit)
       via  1d226b37ecfb1c1e35787e313abd545a59e22011 (commit)
      from  cfcb9ff417600836d50c8aca29915381165451c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f9b1f3983adfe00b953c7a6042d6f90df150e758
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f9b1f3983adfe00b953c7a6042d6f90df150e758
Author: Justin Pettit <jpettit at nicira.com>
		
xenserver: Fix bugs related to using xe-switch-network-backend in spec file.
		
Commit daf2ebb (xenserver: Use xe-switch-network-stack in RPM spec
file.) changed the spec file to use xe-switch-network-backend instead of
directly modifying "/etc/xensource/network.conf".  It incorrectly
assumed that the command was in the search path.  It also didn't take
into account that the command will remove the "openvswitch" service with
chkconfig.  This commit fixes those errors.

Signed-off-by: Justin Pettit <jpettit at nicira.com>


commit 0f50458b0a3054566c4f5cd70e0bc92ca7dafe49
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0f50458b0a3054566c4f5cd70e0bc92ca7dafe49
Author: Ethan Jackson <ethan at nicira.com>
		
bridge: Don't configure QoS without Queues.
		
It doesn't make sense to create a QoS object without any queues.
Before this patch, OVS would configure the QoS object and as a
result drop all traffic going through the affected interface.  With
this patch, OVS will simply clear QoS configuration on the
interface.

Bug #5583.


commit 471e49969982c9bf51ce6dbb9ad5ca14c3f13361
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=471e49969982c9bf51ce6dbb9ad5ca14c3f13361
Author: Justin Pettit <jpettit at nicira.com>
		
xenserver: Use xe-switch-network-stack in RPM spec file.
		
The proper way to switch the networking back-end is to use the
"xe-switch-network-stack" command rather than directly modifying
"/etc/xensource/network.conf".  Use that method in the spec file.


commit e534fe1bcf37ca9333356d422d9996ca12845302
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e534fe1bcf37ca9333356d422d9996ca12845302
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Fix validation of OFPAT_SET_VLAN_PCP actions.
		
Found by sparse.


commit 4b9fd100e8dbd3d7c2945d2916d563b5d703cdae
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4b9fd100e8dbd3d7c2945d2916d563b5d703cdae
Author: Ben Pfaff <blp at nicira.com>
		
xenserver: Don't remove network.dbcache on uninstall.
		
network.dbcache was introduced by Open vSwitch for its own purposes, but
it has now migrated into the base install of XenServer, which uses it
whether Open vSwitch is installed or not, so we should no longer remove it
on package uninstall.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Reported-by: Bob Ball <bob.ball at citrix.com>


commit 33029547d3db19c05b4d010287ae2819f12786b0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=33029547d3db19c05b4d010287ae2819f12786b0
Author: Ben Pfaff <blp at nicira.com>
		
xenserver: Use .../extra not .../kernel/extra for kernel modules.
		
On XenServer, depmod.conf causes modules in /lib/modules/$(uname -r)/extra
to take priority over standard modules.  Unfortunately, we were installing
our modules in /lib/modules/$(uname -r)/kernel/extra, which isn't special.
This commit fixes the problem.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Reported-by: Bob Ball <bob.ball at citrix.com>


commit 1d226b37ecfb1c1e35787e313abd545a59e22011
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1d226b37ecfb1c1e35787e313abd545a59e22011
Author: Ethan Jackson <ethan at nicira.com>
		
dpif-linux: Recycle leaked ports.
		
When ports are deleted from the datapath they need to be added to
an LRU list maintained in dpif-linux so they may be reallocated.
When using vswitchd to delete the ports this happens automatically.
However, if a port is deleted directly from the datapath it is
never reclaimed by dpif-linux.  If this happens often, eventually
no ports will be available for allocation and dpif-linux will fall
back to using the old, kernel implemented, allocation strategy.

This commit fixes the problem by automatically reclaiming ports
missing from the datapath whenever the list of ports in the
datapath is dumped.

Bug #2140.


-----------------------------------------------------------------------

Summary of changes:
 AUTHORS                        |    1 +
 lib/dpif-linux.c               |   24 +++++++++++++++++++++++-
 lib/ofp-util.c                 |    2 +-
 vswitchd/bridge.c              |    2 +-
 xenserver/openvswitch-xen.spec |   39 +++++++++++++++++----------------------
 5 files changed, 43 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list