summaryrefslogtreecommitdiffstats
path: root/build/instack_ovs.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-02-25Build OVS with dpdkThomas F Herbert1-15/+50
Builds OVS with DPDK. Uses dpdk 2.2.0 and Open vSwitch 2.5. Includes Multi-Queue and recent patches. Open vSwitch RPM is now built with DPDK dataplane. Upstream copr (Fedora) spec files and patches are used for building. Also includes fixes of RPM building and command line options. Adds dpdk arg to RPM test script. Use "pure" COPR spec files without modifications. Fixed some function problems. Addressed reviewer comments. Delete local copies of spec files Build dpdk snapshot instead of using upstream snapshot. Fix clean script. "stack" VM with its default configuration doesn't support sse3 instruction set required by DPDK. Include workaround to test RPM script in host instead of VM. Install prereqs for dpdk build. Use 'set -e' in all scripts for error termination. Add PyQt4 Pre-req. Move functions and respond to reviewers comments. Change-Id: I8d5892ff61a814271972e8d2279628d645b2831b Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-02-13Run clean.sh scripts with sudo and set relative pathThomas F Herbert1-1/+1
so sudo can find it. Change to correct directory before running cleanup. Change-Id: I3a91cb8f25c641b81ef2c62f91b540d7657eeb53 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-02-12Fix for problem found in daily build where virsh reboot failed.Thomas F Herbert1-5/+10
The fix is to run virsh reboot as user stack Change-Id: Id762b6d9ec592835805eb69d5244fa1dc2eb8645 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-01-31Introduce ability to accept command arguments to build with DPDK or Linux ↵Thomas F Herbert1-0/+361
kernel. Specify patches to apply, build kernel module RPM and build with a special version of the kernel. Also instack_ovs.sh creates a VM for building and initial testing of RPMs and copies scripts to VMs build_ovs_rpm.sh builds the RPM according to command line options. test_ovs_rpm.sh tests the RPM by installing the RPM and running some ovs commands to create a bridge and dump flows. Also add two scripts generally to be executed in VM to do actual building and Testing. This 2nd series adds the following: Use fedora spec file for kmod builds. Added Explanations to configuration options. Fixes in response to review comments. Rename script for clarity and change references: buildtestovs.sh -> BuildTestOVS.sh Fix nocheck option, print default options, fix kmod option, fix test of kmod. For command line options execute build/buildtestovs.sh -h Change-Id: I415ca39afab27482b1cb473d392f48b36c8e0745 Signed-off-by: Thomas F Herbert <therbert@redhat.com>