summaryrefslogtreecommitdiffstats
path: root/build/test_ovs_rpm.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-01-26Fix build errors.Thomas F Herbert1-133/+0
Change-Id: I06f30ff4dcbbea3464f02e61ce63c56af0f807c6 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-06-29RPM: Apex: Refactor build scripts:Thomas F Herbert1-15/+10
Remove reference to undercloud. Fix dependencies list. Refactor build ovs and build dpdk and test scripts. Correct default dpdk version in build ovs script. Remove references to instack VM -- no longer necessary. Remove script using custom Apex-lite-liberty for testing Consolidated functions and cleanup in response to reviewers. Change-Id: I0875acd87580769c7cd7e87b97bb3e04f0159b32 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-04-11Fixes RPM build problem. Use correct copr repo. Fix some version number parsingThomas F Herbert1-4/+7
and tarball and rpm naming that was specific to old repo and old DPDK version. Now supports DPDK 16.04-rc4. Change-Id: Ia64b38d676e945df27917f4d9aa90ba4872c8cb5 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-02-25Build OVS with dpdkThomas F Herbert1-16/+70
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-01-31Introduce ability to accept command arguments to build with DPDK or Linux ↵Thomas F Herbert1-0/+81
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>