aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2011-12-09utilities: install ovs-lib.sh as data not a scriptChris Wright
Currently, ovs-lib.sh is installed as an executable. It's meant to be sourced by external scripts, so install as data. Fixes rpmlint error: E: script-without-shebang /usr/share/openvswitch/scripts/ovs-lib.sh Could drop the .sh suffix in another commit. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-12-09man: fix pic issue at the sourceChris Wright
The commit 0993b66 (man: pic failed to run during manpage-check) worked around the manpage-check warning generated by groff. Using "-T ascii" rather "-T utf8" was enough to silence the warning because the man page has this condition in it: .if !'\*[.T]'ascii' However, rpmlint generates the same warning as manpage-check was (it uses -Tutf8), and manpages are generated using -Tutf8 (leading to an fairly unreadable drawing). So let's change the logic a bit and allow pdf generation w/ nice drawing and kill it for tty's. Cc: Ethan Jackson <ethan@nicira.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-11-18ovs-test: A new tool that allows to diagnose connectivity and performance issuesAnsis Atteka
This tool will be a replacement for the current ovs-vlan-test utility. Besides from connectivity issues it will also be able to detect performance related issues in Open vSwitch setups. Currently it uses UDP and TCP protocols for stressing. Issue #6976
2011-10-26Improve manpage checking rule.Ben Pfaff
The coverage of the previous version of this rule was incomplete because $(MANS) does not include $(noinst_man_MANS). (Also, $(MANS) is undocumented.) Writing it out as the list of manpages variables that Open vSwitch uses is better. Also, the previous version of the rule didn't actually signal an error when warnings appeared. It looks like troff doesn't have a way to indicate warnings as part of its exit status, so instead we grep the output for "warning".
2011-10-26Implement automatic dependency generation for manpages.Ben Pfaff
This ensures that manpages actually get rebuilt if any of the lib/*.man fragments that they depend upon are modified.
2011-10-26Move soexpand.pl into build-aux and make it non-executable.Ben Pfaff
Scripts for the build generally go in build-aux, so move soexpand.pl. soexpand.pl had the "executable" bit set, but it doesn't have a #! line and it's not a shell script, so that didn't make sense.
2011-09-27python: Backport argparse to older platforms.Ethan Jackson
Argparse has some convenient advantages over optparse including the ability to handle optional arguments to flags. It also supports parsing arguments as well as options. This patch copies argparse.py from Python 2.7 into a newly created compat directory. It made some very minor syntactic updates in the process. Platforms which have a Python version too old to include argparse by default will have this compat version installed as a workaround.
2011-09-15Mark "uninstall-local" targets phony.Ben Pfaff
2011-09-13man: pic failed to run during manpage-checkEthan Jackson
This patch fixes the following warnings on my system: vswitchd/ovs-vswitchd.conf.db.5:62: warning: macro `PS' not defined vswitchd/ovs-vswitchd.conf.db.5:138: warning: macro `PE' not defined
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-25rhel: Fix use of $< in ordinary Make rules.Ben Pfaff
POSIX only allows $< in inference rules, so avoid it for these target rules. Also, add a header to the generated spec files to remind developers that they are generated.
2011-07-13ovs-bugtool: Add plugins previously used only under XenServer.Ben Pfaff
All of the xen-bugtool plugins that OVS has previously installed only under XenServer are equally useful with Debian and other distributions, so this commit installs and uses them everywhere.
2011-06-21Add RHEL 5/6 spec files and instructions.Ben Pfaff
2011-06-20vswitchd: Install vswitch.ovsschema to $(pkgdatadir).Ben Pfaff
This way, the xenserver spec file and the upcoming RHEL 5.6 spec file don't have to install it by hand. Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-06-17Refactor initscripts into distro-independent and distro-specific pieces.Ben Pfaff
This should make it easier to add OVS support to new distributions.
2011-06-07ovs-openflowd: Rename test-openflowd and move to "tests" directory.Ben Pfaff
Too many users thought that they needed to run ovs-openflowd at the same time as ovs-vswitchd. I hope that this change discourages them.
2011-02-02nicira-ext: Support matching IPv6 traffic.Justin Pettit
Provides ability to match over IPv6 traffic in the same manner as IPv4. Currently, the matching fields include: - IPv6 source and destination addresses (ipv6_src and ipv6_dst) - Traffic Class (nw_tos) - Next Header (nw_proto) - ICMPv6 Type and Code (icmp_type and icmp_code) - TCP and UDP Ports over IPv6 (tp_src and tp_dst) When defining IPv6 rules, the Nicira Extensible Match (NXM) extension to OVS must be used. Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
2011-01-12Fix non-static instances of "struct vlog_rate_limit" and add check.Ben Pfaff
A non-static vlog_rate_limit is not actually going to rate-limit anything.
2011-01-10tests: Fix Y2011 bug in testsuite.Ben Pfaff
The tests have been failing for a few days now, because the PKI expired a few days into 2011. This commit instead generates the PKI at "make check" time, which has the additional benefit of getting some test exposure for the ovs-pki program. Reported-by: Aaron M. Ucko <ucko@debian.org> CC: 609506@bugs.debian.org
2010-12-13Makefile: Check for undistributed files on every make, not just "make dist".Ben Pfaff
It's really easy to add files to the Git repository but forget to add them to the distributions created by "make dist". I do this regularly, for example. For some time, we've had a check that runs on "make dist" to make sure that the distribution is complete, but I still screw up because I don't run "make dist" all that often. This commit improves the situation, by doing the check on every "make", instead of just on "make dist".
2010-12-08Avoid using "grep -q" outside of GNU/Linux specific utilities.Ben Pfaff
According to the Autoconf manual, "grep -q" is not portable, so instead redirect stdout to /dev/null.
2010-11-30vlog: Generate vlog-modules.def automatically.Ben Pfaff
2010-08-25Implement initial Python bindings for Open vSwitch database.Ben Pfaff
These initial bindings pass a few hundred of the corresponding tests for C implementations of various bits of the Open vSwitch library API. The poorest part of them is actually the Python IDL interface in ovs.db.idl, which has not received enough attention yet. It appears to work, but it doesn't yet support writes (transactions) and it is difficult to use. I hope to improve it as it becomes clear what semantics Python applications actually want from an IDL.
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-21debian: Check for accurate Debian changelog version at build time too.Ben Pfaff
When we increment the Open vSwitch version number, we tend to forget to update it in debian/changelog at the same time. Right now this gets fixed up automatically at "make dist" time, but it's even better if we can always have it be correct in the repository. This commit should help with that, by making both "make" and "make dist" refuse to proceed if the version number is out of sync.
2010-06-17WHY-OVS: New file explaining the rationale for Open vSwitch.Ben Pfaff
Signed-off-by: Martin Casado <casado@nicira.com> Signed-off-by: Paul Fazzone <pfazzone@nicira.com> Signed-off-by: Dan Wendlandt <dan@nicira.com>
2010-06-15vlog: Check that all declared vlog modules are used, at "make" time.Ben Pfaff
2010-06-09Fix EXTRA_DIST dependence on Automake conditionals.Ben Pfaff
Automake respects conditionals around EXTRA_DIST assignments. That is, if COND is not true, then the following will not distribute 'myfile': if COND EXTRA_DIST += myfile endif See http://article.gmane.org/gmane.comp.sysutils.automake.general/10891 for more information. This behavior is surprising, at least to me. But we can work around it: anything that can ever *potentially* be assigned to noinst_HEADERS is always distributed. So this commit eliminates the problem by adding $(EXTRA_DIST) to noinst_HEADERS.
2010-06-07Add guide to porting Open vSwitch.Ben Pfaff
2010-05-27Add dist-hook to ensure that every file gets distributed.Ben Pfaff
It's easy to add a file to the repository and forget to make sure that it is distributed. This commit adds a hook target to the main Makefile that causes "make dist" to fail if the tree is being built from a Git repository and some files are not distributed.
2010-05-27Distribute files that had been overlooked.Ben Pfaff
In general, every file in the Git repository should be distributed, except for files that are specific to Git, such as the .gitignore files. But we had overlooked several of them. This commit makes sure that they get distributed.
2010-05-27debian: Attempt to keep debian/changelog up-to-date.Ben Pfaff
Invariably we forget to update the version number in debian/changelog as we change OVS's own version number. This is embarrassing. This commit introduces two different times to automatically update the debian/changelog version number: whenever boot.sh runs and whenever "make dist" runs. In the latter case, only the version number in the distributed tarball is updated, but that seems OK. Reported by Joan Cirer <joan@ev0.net> most recently, and by others over the last year or so too.
2010-05-20Add instructions for using Open vSwitch with KVM.Todd Deshane
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-04++WARNING++: Delete this file.Ben Pfaff
This branch is now stable enough to eliminate this scary warning.
2010-03-04Update Open vSwitch documentation.Ben Pfaff
2010-01-26Cleanly separate IDL annotations from OVSDB schema information.Ben Pfaff
Until now, the OVSDB IDL annotations have been glommed together with the schema information in a single file, and then we've used ovsdb-idlc to extract the schema from that file. This commit reverses the process: the schema and the annotations are stored separately and then glommed together as necessary at build time. This new arrangement has a few advantages: - We can now easily have multiple different sets of IDL annotations for a single OVSDB schema. For example, some users may not need access to columns that other users do. - Bugs in ovsdb-idlc cannot screw up the underlying schema (as shown by a recent commit).
2010-01-04ofproto: Drop remote command execution feature.Ben Pfaff
At one point Nicira had deployment plans for which adding a remote command execution feature to the OpenFlow stack made a lot of sense. We no longer have those plans, as far as I know, and leaving the feature in seems like a huge potential security hole. So this commit blows away the entire feature.
2009-12-03vswitchd: Initial conversion to database-based configuration.Ben Pfaff
This has seen very little testing, so some features are almost certainly busted. Port mirroring is not yet converted, so it will definitely not work.
2009-12-02Merge "master" branch into "db".Ben Pfaff
2009-12-02ovsdb: Implement C bindings for IDL.Ben Pfaff
2009-11-23ovsdb: Add ovsdb IDL compiler to build system.Ben Pfaff
This first stab at any interface definition language and compiler for OVSDB will give other developers a chance to look at it and try to integrate it. The IDL is not actually implemented yet; I am working on that.
2009-11-23Move C compiler warning (-W) flags from CFLAGS to AM_CFLAGS.Ben Pfaff
C compiler warning options added by the "configure" script have until now been put into CFLAGS. However that option is supposed to be reserved for the user under Automake rules, so move them to AM_CFLAGS. Besides increased adherence to Automake rules, this is useful because AM_CFLAGS can be overridden on a per-target (e.g. program or library) basis, whereas CFLAGS cannot. In turn, building the sFlow library (which will be added in an upcoming commit) requires overriding the compiler flags to avoid some warning messages. (By modifying the warning flags, we avoid the need to modify the sFlow library in any way.)
2009-11-18Document userspace switch.Ben Pfaff
2009-11-04Initial implementation of OVSDB.Ben Pfaff
2009-10-23Distribute README-gcov, so that users building from tarballs can read it.Ben Pfaff
2009-09-14New utility ovs-vsctl.Ben Pfaff
2009-07-29Always distribute extras/ezio/ezio3.ti.Ben Pfaff
I had thought that Automake was smart enough to ignore conditionals around EXTRA_DIST, so that all files always got distributed regardless of whether Automake conditionals were set. I was wrong. This pushes the conditionals for building the ezio binaries down into extras/ezio/automake.mk and thereby makes adding ezio3.ti to EXTRA_DIST unconditional, so that it always gets distributed. Otherwise, this file will not be distributed on systems that don't have curses or don't have PCRE, which is very surprising.
2009-07-29Remove --disable-userspace "configure" option, since it breaks "make dist".Ben Pfaff
I had thought that Automake was smart enough to ignore conditionals around EXTRA_DIST, so that all files always got distributed regardless of whether Automake conditionals were set. I was wrong. This commit removes the --disable-userspace option to "configure", which put a conditional around most of Makefile.am and thus unintentionally caused most of the distribution to be left out if --disable-userspace was specified. The alternative (fixing --disable-userspace) seems like too much work--it would require pushing "if ENABLE_USERSPACE" down into lots of subdirectory--and would be difficult to maintain.
2009-07-29Use Autotest for the Open vSwitch test suite.Ben Pfaff
Autotest doesn't provide a lot of benefit by itself but it does allow us to easily put a wrapper around each test by using a macro to invoke it. (To do that with the built-in Automake test framework you need to write or generate a separate wrapper script for each test, which is a pain.) The next commit will take advantage of this possibility by adding support for code coverage analysis.