summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* utilities: install ovs-lib.sh as data not a scriptChris Wright2011-12-091-0/+2
| | | | | | | | | | | | 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>
* man: fix pic issue at the sourceChris Wright2011-12-091-1/+1
| | | | | | | | | | | | | | | | | | 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>
* ovs-test: A new tool that allows to diagnose connectivity and performance issuesAnsis Atteka2011-11-181-1/+1
| | | | | | | | | 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
* Improve manpage checking rule.Ben Pfaff2011-10-261-5/+7
| | | | | | | | | | | | 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".
* Implement automatic dependency generation for manpages.Ben Pfaff2011-10-261-1/+15
| | | | | This ensures that manpages actually get rebuilt if any of the lib/*.man fragments that they depend upon are modified.
* Move soexpand.pl into build-aux and make it non-executable.Ben Pfaff2011-10-261-4/+2
| | | | | | 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.
* python: Backport argparse to older platforms.Ethan Jackson2011-09-271-0/+1
| | | | | | | | | | | | 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.
* Mark "uninstall-local" targets phony.Ben Pfaff2011-09-151-1/+3
|
* man: pic failed to run during manpage-checkEthan Jackson2011-09-131-1/+1
| | | | | | | 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
* docs: Add Makefile rule to check syntax of manpages.Ben Pfaff2011-08-241-1/+14
| | | | | This should catch future nroff syntax errors immediately, instead of much later.
* rhel: Fix use of $< in ordinary Make rules.Ben Pfaff2011-07-251-0/+1
| | | | | | | | 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.
* ovs-bugtool: Add plugins previously used only under XenServer.Ben Pfaff2011-07-131-1/+5
| | | | | | 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.
* Add RHEL 5/6 spec files and instructions.Ben Pfaff2011-06-211-0/+2
|
* vswitchd: Install vswitch.ovsschema to $(pkgdatadir).Ben Pfaff2011-06-201-0/+1
| | | | | | | 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>
* Refactor initscripts into distro-independent and distro-specific pieces.Ben Pfaff2011-06-171-0/+6
| | | | This should make it easier to add OVS support to new distributions.
* ovs-openflowd: Rename test-openflowd and move to "tests" directory.Ben Pfaff2011-06-071-1/+1
| | | | | 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.
* nicira-ext: Support matching IPv6 traffic.Justin Pettit2011-02-021-0/+1
| | | | | | | | | | | | | | | | | 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>
* Fix non-static instances of "struct vlog_rate_limit" and add check.Ben Pfaff2011-01-121-0/+11
| | | | A non-static vlog_rate_limit is not actually going to rate-limit anything.
* tests: Fix Y2011 bug in testsuite.Ben Pfaff2011-01-101-2/+5
| | | | | | | | | | 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
* Makefile: Check for undistributed files on every make, not just "make dist".Ben Pfaff2010-12-131-19/+24
| | | | | | | | | | | 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".
* Avoid using "grep -q" outside of GNU/Linux specific utilities.Ben Pfaff2010-12-081-1/+1
| | | | | According to the Autoconf manual, "grep -q" is not portable, so instead redirect stdout to /dev/null.
* vlog: Generate vlog-modules.def automatically.Ben Pfaff2010-11-301-0/+1
|
* Implement initial Python bindings for Open vSwitch database.Ben Pfaff2010-08-251-1/+1
| | | | | | | | | | 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.
* Remove ezio-term and ovs-switchui utilities.Ben Pfaff2010-08-231-3/+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.
* debian: Check for accurate Debian changelog version at build time too.Ben Pfaff2010-07-211-1/+0
| | | | | | | | | 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.
* WHY-OVS: New file explaining the rationale for Open vSwitch.Ben Pfaff2010-06-171-0/+1
| | | | | | Signed-off-by: Martin Casado <casado@nicira.com> Signed-off-by: Paul Fazzone <pfazzone@nicira.com> Signed-off-by: Dan Wendlandt <dan@nicira.com>
* vlog: Check that all declared vlog modules are used, at "make" time.Ben Pfaff2010-06-151-0/+2
|
* Fix EXTRA_DIST dependence on Automake conditionals.Ben Pfaff2010-06-091-0/+6
| | | | | | | | | | | | | | | | 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.
* Add guide to porting Open vSwitch.Ben Pfaff2010-06-071-0/+1
|
* Add dist-hook to ensure that every file gets distributed.Ben Pfaff2010-05-271-0/+28
| | | | | | | 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.
* Distribute files that had been overlooked.Ben Pfaff2010-05-271-3/+9
| | | | | | | 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.
* debian: Attempt to keep debian/changelog up-to-date.Ben Pfaff2010-05-271-1/+3
| | | | | | | | | | | | | 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.
* Add instructions for using Open vSwitch with KVM.Todd Deshane2010-05-201-0/+1
|
* Add ovsdbmonitor GUI tool by Andy Southgate, contributed by Citrix.Andy Southgate2010-05-131-0/+1
| | | | | | | With Makefiles and Autoconfiscation by Ben Pfaff. Signed-off-by: Thomas Lacroix <thomas.lacroix@citrix.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ++WARNING++: Delete this file.Ben Pfaff2010-03-041-2/+1
| | | | This branch is now stable enough to eliminate this scary warning.
* Update Open vSwitch documentation.Ben Pfaff2010-03-041-1/+2
|
* Cleanly separate IDL annotations from OVSDB schema information.Ben Pfaff2010-01-261-0/+1
| | | | | | | | | | | | | | | | | 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).
* ofproto: Drop remote command execution feature.Ben Pfaff2010-01-041-1/+0
| | | | | | | | 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.
* vswitchd: Initial conversion to database-based configuration.Ben Pfaff2009-12-031-1/+2
| | | | | | 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.
* Merge "master" branch into "db".Ben Pfaff2009-12-021-0/+2
|\
| * Move C compiler warning (-W) flags from CFLAGS to AM_CFLAGS.Ben Pfaff2009-11-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
| * Document userspace switch.Ben Pfaff2009-11-181-0/+1
| |
* | ovsdb: Implement C bindings for IDL.Ben Pfaff2009-12-021-1/+3
| |
* | ovsdb: Add ovsdb IDL compiler to build system.Ben Pfaff2009-11-231-0/+2
| | | | | | | | | | | | 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.
* | Initial implementation of OVSDB.Ben Pfaff2009-11-041-0/+1
| |
* | Distribute README-gcov, so that users building from tarballs can read it.Ben Pfaff2009-10-231-1/+2
|/
* New utility ovs-vsctl.Ben Pfaff2009-09-141-2/+13
|
* Always distribute extras/ezio/ezio3.ti.Ben Pfaff2009-07-291-4/+0
| | | | | | | | | | | | 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.
* Remove --disable-userspace "configure" option, since it breaks "make dist".Ben Pfaff2009-07-291-2/+0
| | | | | | | | | | | | | 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.
* Use Autotest for the Open vSwitch test suite.Ben Pfaff2009-07-291-2/+0
| | | | | | | | | 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.