aboutsummaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)Author
2012-03-21debian: Move PKI directory to FHS-compliant location.Ben Pfaff
The PKI directory is mutable state, so it should be in /var, not in /usr. This commit changes its location and, on systems upgraded from earlier versions, moves the existing PKI and leaves behind a symlink. CC: 661090@bugs.debian.org Reported-by: Andreas Beckmann <debian@abeckmann.de> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-09-15datapath: Always use generic stats for devices (vports)Pravin Shelar
Currently ovs is using device stats for Linux devices and count them itself in other situations. This leads to overlap with hardware stats, inconsistencies, etc. It's much better to just always count the packets flowing through the switch and let userspace do any merging that it wants. Following patch removes vport->get_stats() interface. vport-stat is changed to use new `struct ovs_vport_stat` rather than rtnl_link_stats64. Definitions of rtnl_link_stats64 is removed from OVS. dipf_port->stat is also removed as aggregate stats are only available at netdev layer. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
2011-08-24docs: Add Makefile rule to check syntax of manpages.Ben Pfaff
This should catch future nroff syntax errors immediately, instead of much later.
2011-07-13configure: Improve error message when pkg-config is missing.Ben Pfaff
Until now, when pkg-config is missing, Autoconf emitted this error: error: possibly undefined macro: PKG_CHECK_MODULES This commit changes the message to: error: Please install pkg-config. This should be easier for users to interpret. Suggested-by: Ethan Jackson <ethan@nicira.com>
2011-05-13backtrace: Make backtrace_capture() work on more systems.Ben Pfaff
The backtrace_capture() implementation only worked properly with GNU C on systems that have a simple stack frame with a frame pointer. Notably, the x86-64 ABI by default has no frame pointer, so this failed on x86-64. However, glibc has a function named backtrace() that does what we want. This commit tests for this function and uses it when it is present, fixing x86-64 backtraces.
2011-02-04datapath: Tolerate backporting of rtnl_link_stats64 (as in RHEL 6).Ben Pfaff
Red Hat Enterprise Linux 6 has a 2.6.32 kernel but it backports the rtnl_link_stats64 structure that was introduced in 2.6.35, so we need to check whether it was defined instead of just guessing based on the kernel version number. Build-tested only, on 2.6.32-71.14.1.el6 (RHEL 6), linux-2.6.18-128.1.6.el5.xs5.5.0.496.101 (XenServer 5.5.0), 2.6.18-128.1.6.el5.xs5.5.0.505.1024xen (XenServer 5.5.0 update 1), and upstream 2.6.18, 2.6.26, 2.6.29, 2.6.33, 2.6.34, 2.6.36, all for i386, plus 2.6.36 for x86-64. My machine's userspace headers have <linux/if_link.h> but not rtnl_link_stats64. Jesse Gross tested the case where <linux/if_link.h> has rtnl_link_stats64, on Ubuntu 10.10. Reported-by: Geoff White <gwhite@nicira.com> Tested-by: Jesse Gross <jesse@nicira.com>
2010-12-06docs: Only regenerate vswitch.pic when the schema really changes.Ben Pfaff
Until now, vswitch.pic has been rebuilt whenever the schema changed. This is OK when the E-R diagram would really change, but many changes to the schema don't change the E-R diagram, and it surprises people when vswitch.pic changes in such a situation. This commit fixes the problem. Requested-by: Justin Pettit <jpettit@nicira.com>
2010-11-30vlog: Generate vlog-modules.def automatically.Ben Pfaff
2010-11-29configure: Check for pkg-config "openssl" library instead of "libssl".Ben Pfaff
Checking for libssl only does not necessarily link against libcrypto, so the build can gratuitously fail. Reported-by: Dave Walker <DaveWalker@ubuntu.com> Ubuntu bug #680439.
2010-11-05configure: Fix Graphviz test and input generation.Ben Pfaff
This check for Graphviz never actually worked properly because Autoconf swallows up the [] around [gG], so Graphviz was always detected as missing. This commit fixes the problem by doubling up to [[gG]]. Because Graphviz was never used, I never noticed that ovsdb-dot had not been revised to use the latest Python interface to OVSDB, so this commit fixes up those problems too.
2010-08-26configure: Enable OpenSSL support by default.Ben Pfaff
Years ago some users had broken OpenSSL libraries that didn't actually work, so we disabled OpenSSL by default. By now, I hope that those users have fixed their systems.
2010-08-23Remove ezio-term and ovs-switchui utilities.Ben Pfaff
These utilities were useful when Nicira was building switches with 16x2 LCD front panel displays, but they aren't useful for other environments and even Nicira does not use that kind of switch any longer. So remove them and all the build infrastructure on which they depended.
2010-07-21vlog: Make the vlog module catalog program-specific.Ben Pfaff
Until now, the collection of vlog modules supported by a given OVS program was not specific to that program. That means that, for example, even though ovs-dpctl does not have anything to do with jsonrpc, it still has a vlog module for it. This is confusing, at best. This commit fixes the problem on some systems, in particular on ones that use GCC and the GNU linker. It uses the feature of the GNU linker described in its manual as: If an orphaned section's name is representable as a C identifier then the linker will automatically see PROVIDE two symbols: __start_SECNAME and __end_SECNAME, where SECNAME is the name of the section. These indicate the start address and end address of the orphaned section respectively. Systems that don't support these features retain the earlier behavior. This commit also fixes the annoyance that modifying lib/vlog-modules.def causes all sources files that #include "vlog.h" to recompile.
2010-06-24vswitchd: Add entity-relationship diagram to ovs-vswitchd.conf.db.5.Ben Pfaff
I've updated http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf with example output.
2010-05-27configure: Deep-six "5".Ben Pfaff
Perhaps you've noticed that whenever you run "configure" you end up with a file named "5" in your current directory. This commit fixes that problem.
2010-05-25Revert "Add definition of AS_ECHO for compatibility with Autoconf before 2.62."Ben Pfaff
This reverts commit d0a5f97842ef1598d07a6e3f10bab1543a38aa4d. Partner corrected earlier report that the reverted commit helped. It didn't.
2010-05-24Add definition of AS_ECHO for compatibility with Autoconf before 2.62.Ben Pfaff
Requested and tested by partner.
2010-05-13Add ovsdbmonitor GUI tool by Andy Southgate, contributed by Citrix.Andy Southgate
With Makefiles and Autoconfiscation by Ben Pfaff. Signed-off-by: Thomas Lacroix <thomas.lacroix@citrix.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
2010-03-26Cleanup default file locations and XenServer packagingJustin Pettit
This commit cleans up the locations of a number of files and directories used. These include: - Config file lives in /etc/openvswitch/conf.db - Logs go into /var/log/openvswitch - ovsdb-server socket is /var/run/openvswitch/db.sock - Schema goes into /usr/share/openvswitch/vswitch.ovsschema - PID files go in /var/run/openvswitch For XenServer, these additional changes are made: - Cores go in /var/xen/openvswitch - OVS binaries run in /var/xen/openvswitch In addition, it attempts to cleanup the XenServer packaging. This includes referring to the project as "openvswitch" as opposed to the somewhat presumptuous "vswitch". Note: Changes to the Debian packaging will be forthcoming.
2010-02-25Remove PCRE dependency.Ben Pfaff
2010-02-08ovsdb: Fix support for systems where libpcre is not installed.Ben Pfaff
This is one of the loose ends that I intended to fix up and test before pushing off my commits to add use of PCRE, but obviously I forgot.
2010-02-08ovsdb: Add simple constraints.Ben Pfaff
2010-02-02Rework and simplify the "lcov" support for the testsuite.Ben Pfaff
2010-01-25Add build checks for portable OpenFlow structure padding and alignment.Ben Pfaff
This causes the build to fail with an error message if openflow.h contains a structure whose members are not aligned in a portable way.
2010-01-08configure: Fix indentation.Ben Pfaff
2010-01-08tests: Make test-vconn build and pass tests without OpenSSL.Ben Pfaff
2010-01-08tests: Improve vconn tests.Ben Pfaff
2010-01-06Remove "fault" module.Ben Pfaff
This module, which catches segmentation faults and prints a backtrace before exiting, was useful for a while, but I believe that it has now outlived its purpose. It is altogether better to have a core dump from which one can extract much more information than a usually-poor backtrace, and core dumps are much better integrated into a typical Unix system. In addition, the "fault" module was of course not all that portable.
2009-12-03Distribute ovsdb-idlc built sources, so Python is not required for build.Ben Pfaff
The Xen DDK VM does not include Python, so it's best if we don't have to require it for the build. The built sources are still regenerated if necessary.
2009-09-14New utility ovs-vsctl.Ben Pfaff
2009-08-18switch UI: Only build ovs-switchui if PCRE 7.2 or later is available.Ben Pfaff
The PCRE_INFO_OKPARTIAL feature used by ovs-switchui was only introduced in PCRE 7.2, so we need to check for that version or later, instead of just for PCRE. Thanks to Ian Campbell <Ian.Campbell@citrix.com> for reporting the problem.
2009-07-29Add support for code coverage analysis with gcov and lcov.Ben Pfaff
2009-06-15Update primary code license to Apache 2.0.Ben Pfaff
2009-07-08Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff