summaryrefslogtreecommitdiffstats
path: root/systems
AgeCommit message (Collapse)AuthorFilesLines
2019-08-30Python: Upgrade Python version from 3.4 to 3.6Sridhar K. N. Rao9-26/+26
This patch upgrade python version from 3.4 to 3.6 for the following systems. Centos rhel - 7.2, 7.3 and 7.5 ubuntu For fedora and opensuse - no specific option available. SLES is already using 3.6 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ib1a1cb04441c8fe53339f7f9a66e0266d6ceefe0
2018-09-04RHEL_75_INSTALL: Add install build script for RHEL 7.5 versionChristian Trautman2-0/+139
Adds build scripts that prevent compiling of incompatible packages due to kernel. Those packages can be installed from channel subscripts or binaries can be built from upstream sources. JIRA: VSPERF-589 Change-Id: I92821c64e43fb2e80b9c2978c0870a2c1d84409f Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2018-04-05Update Java to version 10 for SLE15Jose Lausuch1-1/+1
Newwer builds contain version 10 already. For version 9, additional tweaks are needed. Change-Id: Ic7d55a80ab48fb45113ee0f1ab9aaa797298b87f Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2018-04-04Add sshpass lib for Suse distrosJose Lausuch3-0/+4
This patch completes https://gerrit.opnfv.org/gerrit/#/c/52191 Change-Id: I35259bdcbdb67237576d7b9b6957266c48f6309f Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2018-04-03Merge "Fix packages for SLES15"Martin Klozik1-3/+3
2018-03-26Fix packages for SLES15Jose Lausuch1-3/+3
Change-Id: Id01c4f76c146a0f0630bf1926ece48aabff0bfa1 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2018-03-26rhel_epel_fix: Fix installation of spel for sshpassChristian Trautman2-2/+6
RHEL does not have an epel-release package available from default repos. Removes this install to use fedora epel release to allow sshpass to install correctly. Change-Id: Ie313857420cb4eb2342128b5d11e769670ae70a0 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2018-03-16Merge "pylint: Add pylint into requirements.txt"Martin Klozik11-15/+4
2018-03-12pylint: Add pylint into requirements.txtMartin Klozik11-15/+4
Pylint installation was part of vsperf installation scripts, which is not following vsperf generic approach to add all required python packages into requirements.txt. It also means, that the same version of pylint is used for verification of all patches at given server. This is causing issues in case, that different versions of pylint are required to verify vsperf code, e.g. older version might be required to verify patches of previous OPNFV release. Pylint with exact version number was added into requirements.txt, so correct version of pylint is used for verification of vspef code. JIRA: VSPERF-563 Change-Id: I48c9cacd87f016e6047ed965728d3b8d63e6461f Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Richard Elias <richardx.elias@intel.com>
2018-03-12trex: Tests with T-Rex in VMMartin Klozik8-3/+13
Patch introduces a set of testcases with T-Rex running inside VM. JIRA: VSPERF-560 Change-Id: I5b0a0220a2d72428ae1210ee9590d39abdfb9c1d Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Signed-off-by: RadoslawX Glombiowski <radoslawx.glombiowski@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2018-02-06python34_update: Updated build scripts for Centos and RHEL to python34Christian Trautman6-45/+41
Recent patch update to collectd requires new packages that must have python34 as a minimum version available. This updates the build scripts for Centos and RHEL to use scl enabled python34. 1. Adds needed packages to build correctly for Centos and RHEL 2. Changes repo location to pull scl enabled python34 3. Modifies enablement of scl to new package string 4. Updates documentation to reflect change JIRA: VSPERF-558 Change-Id: I52257ecfc6abc2112c30137c1de3ced272f21066 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2017-12-18Add support for SLES 15Jose Lausuch2-0/+117
Change-Id: I555fea7514475153ae74b6f3d2ab2df1c30bb1aa Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-12-14rhel_path_fix: Fix pathing issue introduce by other commitChristian Trautman2-2/+2
Fixes pathing issue with virtual environment creation caused by commit 21b23522861e364daf150cd997c5d60851847ef2 Change-Id: Ia2c0c44da898e40e122571e477301343d047f974 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2017-12-13Add support for openSuse TumbleweedJose Lausuch2-0/+123
This patch aims at adding support for Tumbleweed, which is a rolling release. That means that the VERSION_ID is not fixed and can't be mapped to a directory e.g - VERSION_ID="20171120" - VERSION_ID="20171121" Change-Id: I99c9a4f1042c22b73879e954147c54c87b6a8b21 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-12-07install: Python virtualenv python3 enforcementRichard Elias9-13/+13
It was reported that virtualenv-3.x sometimes uses python2.7 instead of python3. This update of the python virtual environment creation scripts, enforces the use of python3 from /usr/bin/python3. The scripts were tested on fresh installations of each currently supported Linux OS. JIRA:VSPERF-551 Change-Id: If909dd9578a3c42b14c1a3e4f9ed7b07a675fb58 Signed-off-by: Richard Elias <richardx.elias@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-11-20install: Fedora installation script updateRichard Elias4-0/+109
An update of the Fedora installation scripts for versions 24,25 and 26. Change-Id: Ib510d78f4040e1029bc68d2fa303a4c0a6357de3 Signed-off-by: Richard Elias <richardx.elias@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
2017-09-08Added two extra packagesMarco Varlese1-0/+2
Change-Id: Ibd7f5506d5600d8921dec42f10960df06f0f5250 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-09-06openSUSE supportMarco Varlese3-2/+123
Modified support for Leap 42.2 so not to be prompted for y/n on update and installation of required packages. Added Leap 42.3 as supported OS. Upgraded documentation accordingly. Change-Id: I33f3046a5b33bc842534a16911423a2febaa9417 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-03-08install: opensuse - fix non-utf8 characters issue in /etc/servicesMarco Varlese1-6/+10
The scapy python script (data.py) parses the file /etc/services using the default utf8 decoder. Unfortunately, there are some characters in that file which are non-utf8 hence the script stops prematurely. This patch addresses that issue. Change-Id: Ib5bd41d4fc60b4ce1072fe71b14769b02da7b724 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-03-06Add support for openSUSE Leap 42.2Marco Varlese2-0/+117
This patch enables openSUSE Leap 42.2 systems to build and run VSPERF. Change-Id: I182cec8a11ee5f0d70670f1ae18dd35fcc257616 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-02-17license: Add license info to all project filesgoldammx1-0/+5
All files were updated with license header. In case of binary files is license stored in LICENSE file stored in the same directory. Packages.txt was removed, because file has not been used.List of packages differs according OS distribution, all of neccesary packages are include in instalation scripts JIRA: VSPERF-489 Change-Id: I6ecae21b8db2a0f22fa5a66f9525352080f1fcc0 Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-01-26fedora_remove_old: Remove installation scripts for Fedora 20-22goldammx6-313/+0
VSPERF with DPDK 16.04 and 16.07 did not work on Fedora 20-22. Installtion scripts for F20-F22 were deleted. VSPERF supports F24 and F25. JIRA: VSPERF-475 Change-Id: I3ce62b8883844cbcaab5b75fb9374068f9fced16 Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-01-25fedora25_install: Provide installer script for Fedora 25goldammx2-0/+103
Adds installer script for Fedora 25. Kernel version on Fedora 25 requires DPDK 16.11 and newer. VSPERF user must use DPDK and OVS versions, which are compatible with installed kernel. Adds new folder for current distribution with installation scripts. JIRA: VSPERF-453 Change-Id: Icb86ea7655e95df57a8052e4a8523348a0c75dc0 Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-01-24fedora24_install: Provide installer script for Fedora 24goldammx2-0/+102
Adds installer script for Fedora 24. Kernel version on Fedora 24 requires DPDK 16.11 and newer. VSPERF user must ensure, that used DPDK and OVS version which are compatible with installed kernel. Adds new folder for current distribution with installation scripts. JIRA: VSPERF-453 Change-Id: I08846d6e51faa578ea9305173174bfc49b77018a Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-01-20centos73_install: Provide installer script for CentOS 7.3goldammx1-0/+2
Adds installer script for CentOS 7.3. Modifications are based on installation script for RHEL7.3. Modified dpdk makefile to allow upstream dpdk to build. Prevents upstream vanilla OVS from building due to kernel incompatibilities. JIRA: VSPERF-452 Change-Id: Iaf05de0cf2ad7f5636d9474f351d3c7d193123cf Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
2017-01-10Merge "rhel73_install: Provide installer script for RHEL 7.3"Martin Klozik2-0/+137
2017-01-06rhel73_install: Provide installer script for RHEL 7.3Christian Trautman2-0/+137
Adds installer scripts for RHEL 7.3 OS. Modified dpdk makefile to allow upstream dpdk to build. Prevents upstream OVS from building due to kernel incompatibilities. Provides instructions on setting up RHEL 7.3 for usage with binary OVS packages when testing with OVS Vanilla. Tested under RHEL 7.3 JIRA: VSPerf-322 Change-Id: If294d465f28f60a1c514a7b661ce4696ac3b5b73 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2016-12-13install: Ubuntu 16.xx supportMartin Klozik2-0/+2
Installation scripts were updated to support Ubuntu 16.04 LTS and Ubuntu 16.10. Ubuntu 16.10 uses kernel 4.8, which is supported since DPDK 16.11. It is up to the vsperf user to use DPDK and OVS versions compatible with active Linux kernel. JIRA: VSPERF-408 Change-Id: Ifb71de72cf6d4f9d6e2319cb5c1d7d5dcbe5314f Signed-off-by: Goldammer, MartinX <martinx.goldammer@intel.com> Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Bill Michalowski <bmichalo@redhat.com> Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com> Reviewed-by: <sridhar.rao@spirent.com>
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>