summaryrefslogtreecommitdiff
path: root/Vagrantfile
Commit message (Collapse)AuthorAgeFilesLines
* 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>