summaryrefslogtreecommitdiffstats
path: root/ci/envs
AgeCommit message (Collapse)AuthorFilesLines
2016-01-05A script to launch real time guestYunhong Jiang1-0/+45
Launch real time guest need special options like lock memory etc. A script is used to achieved this. We invoke the qemu utility directly instead of going through middle layer like libvirt, to get better controll. Change-Id: Ia6ad7313463e2f858516bddd4a4b58e95d8c943e Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Script to create the guest imageYunhong Jiang2-0/+152
This script download the latest CentOS cloud image and modify it to meet the test requirement, including remove cloud related script, setup the ssh keys etc. It derives from yardstick project, which currently only provide support to Ubuntu image. If they support CentOS image, we can possibly switch to them. Change-Id: I9482936615a28da696ff8f51248a62b13e5677f4 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Script to create the rt-tests rpmYunhong Jiang2-0/+56
There is no rt-tests rpm on centos repo, also we need some special compile flag to enable the -a parameter. So we try to make the rpm ourselves. The version is specified as 0.96. But please notice that the Makefile in the rt-tests tree requires some key, we have to disable that requirement. So this rpm is only for OPNFV testing purpose. Change-Id: Ifdd52649bc14405dbe5ad375dc7fd32087139b18 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Add guest environment setup scriptsYunhong Jiang2-0/+89
To achieve good real time and live migration performance, special setup is needed on guest environment. Two scripts are used to setup the guest environment. The guest-setup0.sh setup the environment that should take effect before the tested kernel is bringup, including install the kernel rpm, the rt-test package and modify the grub entries. The guest-setup1.sh setup the environment that takes effect after the tested kernel is up, like some sysfs entry, interrupt affinity etc. Change-Id: Icaed71e250b314723d6b1814c9ac33c10d99c6a0 Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05No change to the grub default settingYunhong Jiang1-1/+0
The kernel rpm installation on rehl/centos is using grubby to setup the default kernel entry, so we should not change the grub default set from saved to 0. Change-Id: I5910f498f5889c052e43d2e1e92b209c05b01455 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-04Add host environment setup scriptsYunhong Jiang3-0/+171
Testing KVM4NFV project requires special host environment to get the best result. Two scrripts are used to setup the environment. The host-setup0.sh setup the environment that should take effect before the kernel is bringup, mostly the grub entries. The host-setup1.sh setup the environment that takes effect after the kernel is up, like some sysfs entry, interrupt affinity etc. The host-config provides the configurations. Change-Id: Ie933ea0089ac82acd39fc48088615215993312f3 Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>