Age | Commit message (Collapse) | Author | Files | Lines |
|
Added sysstat package to build base machine for Ubuntu.
Change-Id: I648f5a8db21a7713fb5c24ef010db877c9ec4d15
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
|
|
Wrong version of virtualenv was executed in Ubuntu
specific script. So python modules could not be installed
and vsperf was not working.
Hugepages mount point is newly created inside
sudo environment to avoid issues with permissions.
Change-Id: I4f5afc22bceb2eebbf018c42f42b7074a93e2293
JIRA: VSPERF-292
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
|
|
Fixes the build scripts to stop using arch specific packages.
The issue was found on an x86_64 arch when performing the
installation script. The glibc.i686 would fail to install
because a dependency was installed with a x86_64 arch.
While testing I found other versions of Fedora should also
include the glib2-devel package which was added to Fedora 22
build_base_machine script in another patch. This does not
seem to be included in the base installation of the OS.
Tested on Centos7, Fedora22, 21, 20, and Rhel7.2.
JIRA: VSPERF-281
Change-Id: I884d14fdacf0ceb96c9dc341e82c96d864653766
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
|
|
Modified top level build_base_machine.sh script to use ID
instead of Name from os-release file. Renamed folders to
adapt to this change.
* Modified ID variable assignment from echo to straight assignment.
JIRA: VSPERF-257
Change-Id: I22a7d5a1f191418cbc8fc9fd7d85b013e51b49bc
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
|
|
Adding in prepare_python_env.sh and build_base_machine.sh
scripts to appropriate systems folder for installation on
Red Hat 7.2. Modified installation.rst to reflect these
changes.
* Fixed Header to add Red Hat
* Added myself as contributor
JIRA: VSPERF-214
Change-Id: I23a10316e77c3cec67b7f25176e8707de683af09
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
|
|
Added in sysstat and glib2-devel to Fedora build_base_machine.sh for
proper build and execution of VSPerf. QEMU make would fail because of
missing dependencies and VSPerf would error on pidstat execution. Installing
these two packages resolves those issues when building VSPerf on a fresh
install of Fedora 22.
JIRA: VSPerf-221
Change-Id: Icf2f96ce9e2305928cbb1f3811171ed0821d6f2d
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
|
|
The most recent version of virtualenv available through installer tools
on Fedora 20 is 3.3; existing build scripts for Fedora 21 and 22
reference version 3.4. Add relevant scripts to enable installation and
build on F20.
Change-Id: I87324fe55df0af687b616fd2e3f6419046a23e46
Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
|
|
There is a problem detecting OS specific scripts dir if NAME variable in
/etc/os-release contains a multi-word string (e.g NAME="CentOS Linux").
To fix this we get first part of the NAME string (i.e "CentOS") for
simplicity and look for version specific scripts dir within that.
Change-Id: Ic840788875e9b486b20608a9b9e523cbd4530e31
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Brian Castelli <Brian.Castelli@spirent.com>
|
|
Make the install fail fast and obviously on error rather than
continuing on. This can be used as a template for adding error
checking on the other systems.
JIRA: VSPERF-141
Change-Id: I1892db661a56ab2012e26c6720e0851fabbb51d9
Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
|
|
System build scripts for Ubuntu14.04 are added. DPDK mkdir hugepage
fails to create /dev/hugepages with permission error. Workaround for
that is added so that /dev/hugepages dir is created when OS specific
scripts is run with sudo privilege. Also adding missing packages
kernel-modules-extra, pixman-devel and openssl-devel for Fedora systems.
JIRA: VSPERF-128
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Change-Id: Ie805c094df4a3f9446b09ea2d7e4dfb2f5324544
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Eugene Snider <Eugene.Snider@huawei.com>
Reviewed-by: Gurpreet Singh <gurpreet.singh@spirent.com>
Reviewed-by: Tv Rao <tv.rao@freescale.com>
|
|
Scripts are added for Fedora 21 and 22 to install system requirements
and python packages on these systems. Also modified root
build_base_machine.sh so that it can handle directory structures for
version specific scripts if available.
JIRA: VSPERF-93
Change-Id: If6a311bc7bb1116979faabff5e9097e39f2f5495
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
|
|
Installation scripts for Centos7 have been updated with new packages.
Script will install also python3 packages and create python virtual
environment. As a last step DPDK, OVS and QEMU will be compiled. So
after script execution VSPERF should be ready for use.
It is recommended to execute installation script from user account
with password less sudo access. Otherwise python environment
must be copied over from root home directory.
After VSPERF generic Makefile will be created by VSPERF-114, it can
be enhanced to call build script too.
Change-Id: I6ff5d2660af29cf8be134a4cae3b1d7b559892fa
JIRA: VSPERF-93
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
|
|
Change-Id: I597693c5993818e15666457dbf08c480c7417f6d
Reviewed-by: Al Morton <acmoton@att.com>
JIRA: VSPERF-15
Signed-off-by: Aihua Li <aihua.li@huawei.com>
|
|
Change-Id: I4295fa3cb02b13677662d407dc8f81a16f60110c
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Bin Hu <bh526r@att.com>
JIRA: VSPERF-15
Signed-off-by: Aihua Li <aihua.li@huawei.com>
|