aboutsummaryrefslogtreecommitdiff
path: root/rhel
AgeCommit message (Collapse)Author
2012-05-09rhel: Add timeouts to network scripts.Brian Kruger
If the daemon(s) aren't running for whatever reason, the RHEL ovs ifup/ifdown scripts don't take that into account and an attempt to reboot a system could take forever. (literally. endless loop!) Here are a couple of patches (one of ifup, one for ifdown) to add timeouts (10 seconds), because it runs per interface you have configured and that could take awhile to reboot a system if needed. Signed-off-by: Brian Kruger <bkruger+ovsdev@gmail.com> [blp@nicira.com fixed up a conflict against master] Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-12-09bugtool: move plugins data from /etc/openvswitch to /usr/share/openvswitchChris Wright
This is in repsonse to the following rpmlint warnings: W: non-conffile-in-etc /etc/openvswitch/bugtool-plugins/system-configuration/openvswitch.xml W: non-conffile-in-etc /etc/openvswitch/bugtool-plugins/system-logs/openvswitch.xml W: non-conffile-in-etc /etc/openvswitch/bugtool-plugins/system-configuration.xml W: non-conffile-in-etc /etc/openvswitch/bugtool-plugins/network-status/openvswitch.xml W: non-conffile-in-etc /etc/openvswitch/bugtool-plugins/kernel-info/openvswitch.xml The xenserver specfile still places them in /etc/xensource/bugtool since that's a distro policy. Of course, the rpmlint warnings are as well, however, this seems like a more logical place for the bugtool plugins. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-12-09utilites: rename ovs-lib.sh to ovs-libChris Wright
Rename this helper script to simply ovs-lib, since it's primarily a library of helper functions. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-12-09rhel: openvswitch.spec.in: fix perms on logrotate and sysconfig.templateChris Wright
Fixes rpmlint warning: W: spurious-executable-perm /etc/logrotate.d/openvswitch W: non-conffile-in-etc /etc/logrotate.d/openvswitch E: script-without-shebang /usr/share/openvswitch/scripts/sysconfig.template Define rhel_cp() shell func and include file mode on install. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-12-09rhel: openvswitch.spec.in installs README as executableChris Wright
Fix this rpmlint warning: W: spurious-executable-perm /usr/share/doc/openvswitch-1.4.0/README.RHEL by specifying mode on install. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-11-18packaging: Fix Xen and RH packaging error that was introduced with ovs-test ↵Ansis Atteka
utility My previous ovs-test utility commit broke Xen and RH packaging. This commit will address this issue by not including any ovs-test related files into those two packages.
2011-11-17rhel: Add Red Hat network scripts integration.Alexey I. Froloff
[Spec file changes and some documentation updates by Ben Pfaff.]
2011-11-14rhel: Add ability to enable bridge compatibility mode in ↵Tyler Coumbes
/etc/sysconfig/openvswitch Add the ability to enable bridge compatibility mode through BRCOMPAT variable in /etc/sysconfig/openvswitch for the rhel build. When BRCOMPAT is set to 'yes' the brcompat_mod will be loaded and ovs-brcompatd daemon will be started.
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-15rhel: Fix "make distcheck" failure due to regenerating spec files.Ben Pfaff
We want to regenerate the RPM spec files whenever the version number changes, hence the dependency on config.status. But that means that we try to modify the spec files even when the version number doesn't change, which cause "make distcheck" to fail because it write-protects the source directory. So this commit instead just "touch"es the spec files when they don't really change, which still works OK with a write-protected source directory.
2011-09-08rhel: add ability to build kmod packages for arbitrary kernel version/variant(s)Alexey I. Froloff
Usage: rpmbuild --rebuild \ -D 'kversion KERNEL_VERSION' \ -D 'kflavors FLAVORS TO BUILD' \ openvswitch-kmod-VERSION-RELEASE.src.rpm Signed-off-by: Alexey I. Froloff <raorn@altlinux.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-09-08rhel: rename RHEL6 kmod source packageAlexey I. Froloff
Rename RHEL6 source package to openvswitch-kmod, so it doesn't intersect with main package. Signed-off-by: Alexey I. Froloff <raorn@altlinux.org> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-08-31rhel: Poke iptables hole for gre in init scripts.Ethan Jackson
2011-08-31rhel: Add ovs-pki to rpm.Ethan Jackson
2011-08-31rhel: Don't delete bridges on boot.Ethan Jackson
Before this patch, the RHEL init scripts would remove all bridges configured on the system at boot.
2011-07-27ovs-benchmark: New utility.Ben Pfaff
2011-07-26utilities: Install ovs-parse-leaks utility by default.Ben Pfaff
We install this in the Debian packaging and I don't see a reason not to install it everywhere. (Oddly, we were already installing the manpage everywhere.) Signed-off-by: Ben Pfaff <blp@nicira.com>
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-14rhel: Add ovs-bugtool manpage to list of packaged files.Ben Pfaff
With this change, the RPM builds for me again on RHEL 6. Bug #6413.
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-07-12ovs-bugtool: Make available outside of Debian packages.Ben Pfaff
ovs-bugtool is no longer Debian-specific, so install it everywhere. (On XenServer, specifically, we do not install it, because there xen-bugtool already exists.)
2011-06-24datapath: Rename linux-2.6 and compat-2.6 directories.Jesse Gross
The linux-2.6 and compat-2.6 directories apply equally to the upcoming Linux 3.0 release, so this drops the 2.6 suffix and updates Makefiles. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
2011-06-22configure: Change --with-l26 to --with-linux.Ben Pfaff
Linux 3.0 will be out soon, so it seems like a good idea to reflect that in our "configure" script options.
2011-06-21Add RHEL 5/6 spec files and instructions.Ben Pfaff