summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* datapath: Tolerate backporting of rtnl_link_stats64 (as in RHEL 6).Ben Pfaff2011-02-041-1/+20
| | | | | | | | | | | | | | | | | | | | 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>
* docs: Only regenerate vswitch.pic when the schema really changes.Ben Pfaff2010-12-061-14/+1
| | | | | | | | | 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>
* vlog: Generate vlog-modules.def automatically.Ben Pfaff2010-11-301-1/+3
|
* configure: Check for pkg-config "openssl" library instead of "libssl".Ben Pfaff2010-11-291-3/+3
| | | | | | | | 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.
* configure: Fix Graphviz test and input generation.Ben Pfaff2010-11-051-1/+1
| | | | | | | | | | 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.
* configure: Enable OpenSSL support by default.Ben Pfaff2010-08-261-7/+11
| | | | | | 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.
* Remove ezio-term and ovs-switchui utilities.Ben Pfaff2010-08-231-77/+0
| | | | | | | 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.
* vlog: Make the vlog module catalog program-specific.Ben Pfaff2010-07-211-0/+75
| | | | | | | | | | | | | | | | | | | | | | 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.
* vswitchd: Add entity-relationship diagram to ovs-vswitchd.conf.db.5.Ben Pfaff2010-06-241-0/+26
| | | | | I've updated http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf with example output.
* configure: Deep-six "5".Ben Pfaff2010-05-271-2/+2
| | | | | | 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.
* Revert "Add definition of AS_ECHO for compatibility with Autoconf before 2.62."Ben Pfaff2010-05-251-96/+0
| | | | | | | This reverts commit d0a5f97842ef1598d07a6e3f10bab1543a38aa4d. Partner corrected earlier report that the reverted commit helped. It didn't.
* Add definition of AS_ECHO for compatibility with Autoconf before 2.62.Ben Pfaff2010-05-241-0/+96
| | | | Requested and tested by partner.
* Add ovsdbmonitor GUI tool by Andy Southgate, contributed by Citrix.Andy Southgate2010-05-131-0/+57
| | | | | | | With Makefiles and Autoconfiscation by Ben Pfaff. Signed-off-by: Thomas Lacroix <thomas.lacroix@citrix.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Cleanup default file locations and XenServer packagingJustin Pettit2010-03-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | 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.
* Remove PCRE dependency.Ben Pfaff2010-02-251-15/+3
|
* ovsdb: Fix support for systems where libpcre is not installed.Ben Pfaff2010-02-081-6/+12
| | | | | 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.
* ovsdb: Add simple constraints.Ben Pfaff2010-02-081-1/+12
|
* Rework and simplify the "lcov" support for the testsuite.Ben Pfaff2010-02-021-11/+4
|
* Add build checks for portable OpenFlow structure padding and alignment.Ben Pfaff2010-01-251-1/+6
| | | | | 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.
* configure: Fix indentation.Ben Pfaff2010-01-081-9/+8
|
* tests: Make test-vconn build and pass tests without OpenSSL.Ben Pfaff2010-01-081-0/+2
|
* tests: Improve vconn tests.Ben Pfaff2010-01-081-1/+2
|
* Remove "fault" module.Ben Pfaff2010-01-061-5/+0
| | | | | | | | | 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.
* Distribute ovsdb-idlc built sources, so Python is not required for build.Ben Pfaff2009-12-031-3/+5
| | | | | | | 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.
* New utility ovs-vsctl.Ben Pfaff2009-09-141-0/+28
|
* switch UI: Only build ovs-switchui if PCRE 7.2 or later is available.Ben Pfaff2009-08-181-1/+1
| | | | | | | | 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.
* Add support for code coverage analysis with gcov and lcov.Ben Pfaff2009-07-291-0/+25
|
* Update primary code license to Apache 2.0.Ben Pfaff2009-06-152-20/+20
|
* Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff2009-07-082-0/+263