From: Daniele Di Proietto Date: Fri, 7 Aug 2015 18:40:37 +0000 (+0100) Subject: Vagrantfile: Add test_ovs_system_userspace provision. X-Git-Tag: v2.5.0~765 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=548f9fe7d28b30e18d32d60746f250bda92b7b4d Vagrantfile: Add test_ovs_system_userspace provision. 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 Signed-off-by: Daniele Di Proietto Acked-by: Joe Stringer --- diff --git a/INSTALL.md b/INSTALL.md index 3dc16aa6c..9dac430a5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -631,6 +631,13 @@ To recompile and reinstall OVS using RPM: ./boot.sh vagrant provision --provision-with configure_ovs,install_rpm +Two provisioners are included to run system tests with the OVS kernel +module or with a userspace datapath. This tests are different from +the self-tests mentioned above. To run them: + + ./boot.sh + vagrant provision --provision-with configure_ovs,test_ovs_kmod,test_ovs_system_userspace + Continuous Integration with Travis-CI ------------------------------------- diff --git a/NEWS b/NEWS index f16df706d..7b0a897f6 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,9 @@ Post-v2.4.0 - Added OpenFlow 1.4+ OFPT_SET_ASYNC_CONFIG and OFPT_GET_ASYNC_CONFIG that allows controllers to have more precise control over OpenFlow1.4 asynchronous messages. + - New 'check-system-userspace', 'check-kmod' and 'check-kernel' Makefile + targets to run a new system testsuite. These tests can be run inside + a Vagrant box. See INSTALL.md for details v2.4.0 - xx xxx xxxx diff --git a/Vagrantfile b/Vagrantfile index 03e8693a6..e8c104de7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -47,6 +47,11 @@ systemctl start openvswitch systemctl status openvswitch SCRIPT +$test_ovs_system_userspace = <