aboutsummaryrefslogtreecommitdiffstats
path: root/systems
AgeCommit message (Collapse)AuthorFilesLines
2016-11-30scl_fix: Fix broken link to install python33Christian Trautman2-5/+17
Fixes broken link to download python33 rpm scl installer. Replaces Centos with software collections recommended method to install Python33. Adds temporary repo for Rhel7.2 to install python33. Verified on Centos7.2 and Rhel7.2. JIRA: VSPerf-429 Change-Id: Id86748e898f1d81011d19024d9ff2c0e9a47479f Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-11-18Rhel_scl_python: Modify python build in place to scl usageChristian Trautman2-27/+14
Previously Rhel install script would build python 3 in place using downloaded bits. It was suggested to change this to use scl method instead. This patch modifies the build in place to use scl method as per Centos scripts. JIRA: VSPERF-258 Change-Id: I5b6d7b8fd7f96a315d04e1ccdfd381908e0d1ad0 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-08-04install: Missing packages for numa libraryMartin Klozik7-3/+25
Recent versions of DPDK (16.xx) depend on numa library. Thus installation scripts were updated to install both binary and development packages. JIRA: VSPERF-360 Change-Id: Idd0eac8758f30a355909bb804e99e650b67bba8b Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: <bmichalo@redhat.com>
2016-05-11build_base_machine: added sysstatMaryam Tahhan1-1/+2
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>
2016-05-04bugfix: Fix creation of vsperfenv in UbuntuMartin Klozik1-2/+2
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>
2016-04-19systems: Fix build scripts from arch specific packagesChristian Trautman5-5/+7
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>
2016-03-30systems: Fix top level build_base_machine script to use IDChristian Trautman14-1/+1
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>
2016-03-14Install: Adding RedHat 7.2 Installation bash scriptsChristian Trautman2-0/+132
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>
2016-02-23systems: Dependency package additions for Fedora 22Christian Trautman1-0/+2
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>
2016-01-05system: add build support for Fedora 20Mark Kavanagh2-0/+95
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>
2015-12-14Fix: OS name detection error by build scriptsAbdul Halim1-3/+6
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>
2015-12-02Add some error checking to F21 installBilly O'Mahony3-9/+11
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>
2015-11-26Adding install scripts for Ubuntu14.04Abdul Halim4-2/+133
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>
2015-11-12Adding system build scripts for Fedora 21 and Fedora 22Abdul Halim5-13/+200
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>
2015-10-23systems directory scripts for Centos7Martin Klozik4-22/+123
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>
2015-03-25complete build_base_machine for CentOS distroAihua Li3-0/+56
Change-Id: I597693c5993818e15666457dbf08c480c7417f6d Reviewed-by: Al Morton <acmoton@att.com> JIRA: VSPERF-15 Signed-off-by: Aihua Li <aihua.li@huawei.com>
2015-02-04Added baseline project directory layoutAihua Li3-0/+102
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>