summaryrefslogtreecommitdiff
path: root/Vagrantfile
Commit message (Collapse)AuthorAgeFilesLines
* packaging: Make Fedora spec file CentOS compatibleLeif Madsen2017-03-081-3/+3
| | | | | | | | | | | On CentOS, the package names aren't prefixed with python2, but rather are prefixed with simply python. This change addresses that and fixes up some documentation that was outdated, and updates the Vagrantfile to use the proper spec file and package names. Fixes: bb1a7ca21107 ("fedora: Add python3-openvswitch split package") Signed-off-by: Leif Madsen <lmadsen@redhat.com> Signed-off-by: Russell Bryant <russell@ovn.org>
* vagrant: Use official boxes for Fedora and CentosTimothy Redaelli2017-03-071-4/+5
| | | | | | | | | | Change CentOS version to last 7 (7.3 at the moment), since old kernel-devel version is no longer available. Add net-tools to CentOS since netstat is needed for some tests. Signed-off-by: Timothy Redaelli <tredaelli@redhat.com> Signed-off-by: Andy Zhou <azhou@ovn.org>
* fedora: Add python3-openvswitch split packageTimothy Redaelli2017-02-231-0/+1
| | | | | | | Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1412694 Signed-off-by: Timothy Redaelli <tredaelli@redhat.com> Acked-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Russell Bryant <russell@ovn.org>
* lib: Add support for tftp ct helper.Joe Stringer2017-01-031-5/+5
| | | | | | | | | The kernel datapath provides support for TFTP helpers, so add support for this ALG to the commandline and OpenFlow encoding/decoding. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Ben Pfaff <blp@ovn.org>
* vagrant: add CentOS 7.2 supportThadeu Lima de Souza Cascardo2016-10-121-0/+34
| | | | | Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* vagrant: cleanup before buildingThadeu Lima de Souza Cascardo2016-10-091-0/+1
| | | | | | | | | | Clean the source directory before building, otherwise, build might fail if it has been configured already. Only do it if there is a Makefile present, as suggested by Ben Pfaff. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* vagrant: use RECHECK=yes for system checksThadeu Lima de Souza Cascardo2016-10-071-2/+2
| | | | | | | Use RECHECK=yes for both kernel and userspace datapath tests. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
* vagrant: Add Debian Jessie support.Thadeu Lima de Souza Cascardo2016-09-131-2/+43
| | | | | | | | Now, vagrant up will test both Fedora 23 and Debian Jessie (8.0), which uses Linux 3.16. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> Signed-off-by: Joe Stringer <joe@ovn.org>
* system-userspace-macros: Check the exit code of ethtool.Daniele Di Proietto2016-08-051-1/+1
| | | | | | | | | | | | | | | If the ethtool command is not available on the system we should fail, since the userspace testsuite cannot work properly without disabling offloads. Also, add ethtool to the list of installed packages on Vagrantfile, to ensure that offloads don't cause test failures in the vagrant VM when the kernel is updated. Fixes: ddcf96d2dcc1 ("system-tests: Disable offloads in userspace tests.") Reported-by: Joe Stringer <joe@ovn.org> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joe@ovn.org>
* packaging: Remove PyQt4 dependency.Joe Stringer2016-07-151-1/+1
| | | | | | | | This doesn't seem to have been necessary since ovsdbmonitor was removed in commit 7868fbc6c97c ("ovsdbmonitor: Remove."). Drop the dependency. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* vagrant: Add 'nc' to installed programs.Joe Stringer2016-06-291-1/+1
| | | | | | | | | netcat is used in several tests, but when creating a new vagrant VM we haven't been installing it. Do so. Signed-off-by: Joe Stringer <joe@ovn.org> Tested-by: William Tu <u9012063@gmail.com> Acked-by: Andy Zhou <azhou@ovn.org>
* vagrant: Enable silent-rules for configure.Joe Stringer2016-05-251-1/+1
| | | | | | | | | | | | In the majority of cases, developers debugging their code using vagrant will be more interested in compiler errors/warnings than the exact invocation of the compiler. By enabling silent-rules, the verbosity of compilation is lowered and it is easier to identify these pieces of information. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org> Acked-by: Ryan Moats <rmoats@us.ibm.com>
* vagrant: Update default box to Fedora-23.Joe Stringer2016-05-251-3/+3
| | | | | | | | This brings a newer kernel (4.2) and newer iproute2, allowing more of the tests to run by default. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* vagrant: Update dependencies.Joe Stringer2016-05-251-0/+1
| | | | | Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
* Vagrantfile: Update to Fedora 22 base boxMark D. Gray2015-11-291-6/+6
| | | | | | | Fedora 20 base box is no longer available at chef/fedora20. Signed-off-by: Mark D. Gray <mark.d.gray@intel.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Vagrantfile: Add test_ovs_system_userspace provision.Daniele Di Proietto2015-08-071-0/+6
| | | | | | | | | | | | | | Add 'test_ovs_system_userspace' provision. Command: # vagrant provision --provision-with=test_ovs_system_userspace will run "make check-system-userspace" in the vagrant launched VM. It may be more convenient to run this tests inside a vm rather than in the host, because they interact with system networking. Suggested-by: Joe Stringer <joestringer@nicira.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* Vagrantfile: add test_ovs_kmod provisionAndy Zhou2015-01-161-10/+19
| | | | | | | | | | | | | | Add 'test_ovs_kmod' provision. Command: # vagrant provision --provision-with=test_ovs_kmod will run "make check-kmod" in the vagrant launched VM. It turns out to be more convenient to test within as root. Switch Vagrantfile provisions to run as root user. However, vagrant can still be launched as normal user. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Thomas Graf <tgraf@noironetworks.com>
* vagrant: Build kernel module RPMThomas Graf2015-01-101-1/+3
| | | | | | | | Installs the kernel-devel package of the currently running kernel and builds the kmod RPM in the "install_rpm" phase. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Andy Zhou <azhou@nicira.com>
* vagrant: make sure to bootstrap before configure_ovs.Motonori Shindo2015-01-091-5/+4
| | | | | | | | | | | | | The order of execution in Vagrantfile is "outside-in" meaning that all commands in outer scope are executed first and then the commands in inner scope. Because of this ordering, "configure_ovs" is executed before "bootstrap_fedora", resulting in "configure_ovs" to fail as it is not bootsrapped yet. This change fixes this problem by removing the nested scope in Vagrant.configure block. Multi-machine is not used so we don't need config.vm.define block. Signed-off-by: Motonori Shindo <motonori@shin.do> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* vagrant: switch to use out of tree buildAndy Zhou2015-01-081-0/+49
Vagrant shared folder, at least on the default virtual box, does not support the creation of the socket files. If one were to build OVS under /vagrant, 'make check' would not work. Out of tree builds can be used to work around this issue. See Install.md for instructions. Since out of tree builds requires a clean source tree, Vagrantfile can not be a generated file. This commit removes Vagrantfile.in, commit Vagrantfile instead. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Thomas Graf <tgraf@noironetworks.com>