[ovs-git] Open vSwitch: ovs-bugtool: Increase max size of CAP_HARDWARE_INFO. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jul 24 17:31:28 UTC 2013


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, master has been updated
       via  dad0f0e793b75d12e4f0328e89b6b3d4cf67b726 (commit)
       via  eb6f3089276fefe62e5f8cc138afcbf09e655085 (commit)
       via  00c7bf8b1309e1f974c1255acd99954bf5cb4530 (commit)
      from  e621a12d908695881a54834e70ead71d6d99639b (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 dad0f0e793b75d12e4f0328e89b6b3d4cf67b726
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=dad0f0e793b75d12e4f0328e89b6b3d4cf67b726
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-bugtool: Increase max size of CAP_HARDWARE_INFO.
		
Current size feels very low when we are collecting o/p of
'dmidecode' and 'lspci -vv'

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


commit eb6f3089276fefe62e5f8cc138afcbf09e655085
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=eb6f3089276fefe62e5f8cc138afcbf09e655085
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-bugtool: Separate capability for general network info.
		
Current situation is that CAP_NETWORK_STATUS has a max size of 50 MB.
When we have around 100,000 openflow flows, we over-run that size
by just running the "ovs-ofctl dump-flows" command. All the openvswitch
commands run through the plugin scripts in this repo won't have its
data stored in the debug bundle in this case as they are part of
CAP_NETWORK_STATUS too. One option to correct this is to increase
the CAP_NETWORK_STATUS max size to a higher number. But CAP_NETWORK_STATUS
also includes a bunch of general network related information collected
by running commands like ethtool, tc etc. and we probably want to limit
the data collected through those commands.

With this commit, we create a new capability called CAP_NETWORK_INFO
and collect general network related information through them. For OVS
related information, we continue to use CAP_NETWORK_STATUS, but remove
the maximum size restriction. One rationale to keep OVS related
information in CAP_NETWORK_STATUS is because xen-bugtool probably expects
OVS information in that capability.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


commit 00c7bf8b1309e1f974c1255acd99954bf5cb4530
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=00c7bf8b1309e1f974c1255acd99954bf5cb4530
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-bugtool: Remove duplicate bond/show command.
		
ovs-appctl bond/show is being run through the plugin by
calling the script ovs-bugtool-bond-show.

So remove the redundant code.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


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

Summary of changes:
 utilities/bugtool/ovs-bugtool.in |   61 +++++++++++++-------------------------
 1 file changed, 21 insertions(+), 40 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list