summaryrefslogtreecommitdiffstats
path: root/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2017-11-07NSB Prox LW_AFTR TestDanielMartinBuckley1-2/+2
JIRA: YARDSTICK-802 Addition of PROX LW_AFTR basked on PROX/DATS v037 test_104_lw_aftr.py - This support BM and Openstack Heat - This supports 4 Ports ONLY - Grafana Dashboards included - Code Coverage / Unit testing Change-Id: If2170ab458bf687256d5f1a1e840a3b9d2788ef7 Signed-off-by: Daniel MArtin Buckley <daniel.m.buckley@intel.com> Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2017-10-18Merge "Added required ubuntu packages to run IxLoad client"Ross Brattain1-0/+3
2017-10-17Added required ubuntu packages to run IxLoad clientMaciej Skrocki1-0/+3
To fully enable IxLoad, after installing the IXIA client, check /opt/ixia/ixload/<ver>/bin/ixloadpython and make sure you can run this cmd inside the yardstick container. Usually user is required to copy or link /opt/ixia/python/<ver>/bin/ixiapython to /usr/bin/ixiapython<ver>. Change-Id: I6bc633802ad6c70329581014ec89c75bb7f8d688 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-10-17pmu mirror creation ansible error fixDhaval Patel1-0/+2
While creating the mirror for pmu event list generation, some of the links would fail, throwing error. This fixes that. Change-Id: I52e96b1a6eacb5a9611845e815ecff9052df168a Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
2017-10-12Merge "increase number of open files for collectd"Ross Brattain2-0/+35
2017-10-12collectd: set intel_pmu events path and OVS socket pathRoss Brattain2-42/+62
switch from hardcoded path to dynamic path based on bin_path also enable proxy for install_collectd add barometer settings for virt and ovs_stats Change-Id: Id138aef548332a3e3fcb3963b746e7c9f10c0948 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-12Version changes for collectd, pmu-tools, intel_cmt_catDhaval Patel3-3/+3
Bumping collectd version to include pmu plugin enablement, bounding pmu-tools and intel_cmt_cat to a commit-id Change-Id: I666d52c5574cec0caebb07535332984fa77e5b65 Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
2017-10-11increase number of open files for collectdRoss Brattain2-0/+35
for collectd KPIs we need may need to open 10,000+ files one file for each core * number of CPU counters we read. Use the ansible pam_limits moules to increase the nofile setting. This should allow the VNF to boot with increased number of files open Change-Id: I46b75d5ca59e8e359c985a1e37daaee89897884c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-09install pmu tools collectd pluginRoss Brattain6-1/+314
Added review dependency, removed collectd commit-id replicating bash script, added pmu roles to playbook Create local mirror for event list generation, copy script to image, and run event list generation at runtime if intel_pmu is enabled. Change-Id: Ie46a2b197f4d2037cf3eed194764ce9eb5670415 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-06Merge "libyajl: install from pkg"Ross Brattain6-104/+3
2017-10-05Fixed compilation of latest samplevnfMaciej Skrocki5-1/+101
added download_civetweb and install_civetweb roles. Change-Id: Id4f60cc07b3befc7edb3cfc38773fe1a73a44c1f Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-10-05libyajl: install from pkgDhaval Patel6-104/+3
libyajl needed for ovs_events and ovs_stats, removed installing from src and rather installing as deb pkg Change-Id: Ic1ebf88304bbc7f4fa7b9b51c95f1e8e729e71e3 Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
2017-10-02Merge "ansible: add grub.cfg hugepages regexp replace"Ross Brattain2-0/+39
2017-09-30Merge "dpdk: pciutils and lspci is required for dpdk-devbind.py"Ross Brattain1-0/+1
2017-09-29replace ansible modulesRoss Brattain10-218/+42
Change-Id: Ia7c1ce781075142910a6c618a9a23f34a710dfe9 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-29dpdk: pciutils and lspci is required for dpdk-devbind.pyRoss Brattain1-0/+1
Change-Id: I8529f33d849fc659b557e1d19761c0765ebda57e Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-28Merge "add collectd ansible"Ross Brattain30-4/+669
2017-09-28Switched to stable/euphrates for samplevnfs projextMaciej Skrocki1-1/+1
Change-Id: I0305c263740c25bdfa3bb2667838ca2b75d33ba0 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-28add collectd ansibleRoss Brattain30-4/+669
required DPDK fixes to enable building collectd with dpdkstats need /usr/lib/dpdk-pmd symlinks Compiling all this code requies more space than the default ubuntu cloud-image, so we need to resize the cloud image somehow Change-Id: Ib39fc94ba8101ca1aebc7d2a710be88b0338f7c3 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-20ansible: add grub.cfg hugepages regexp replaceRoss Brattain2-0/+39
when building the image in chroot we can't run update-grub of grub-mkconfig because both commands probe for root partitions, which doesn't work in the chroot. Instead we manually regexp replace the kernel boot line in /boot/**/grub*.cfg Change-Id: I31fac2a3db4d1d044f11357b1715119066509676 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-19Fixed few gaps when running on a minimal version of systemMaciej Skrocki2-1/+2
- we need to make sure we have lsof installed - we need to update cache inside the image, because we are unable to install some of them Change-Id: Ic555489779e9096540001cb9c62ea2ab25c1ae90 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-06Merge "decrease default hugepages, depends on VNF of course"Ross Brattain1-1/+1
2017-09-06ansible: update package proxy codeRoss Brattain4-84/+66
re-enable retries Change-Id: I77738250e8aa8de3c8a8a1019093af04ce785ae0 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-05ansible: remove default openrc_fileRoss Brattain1-1/+0
when clause is re-evaluated after default Change-Id: I2f9b093a4cb0e2d024f8d6beb935f336ac1df637 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-05Introduced ansible playbook to setup NSB.Maciej Skrocki10-3/+141
Change-Id: I5865cd50d5fde26e9e9fc265d4385372d668413f Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-01decrease default hugepages, depends on VNF of courseRoss Brattain1-1/+1
Change-Id: I5e8d1461e158c0b499a8864099fbb218965a429f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-31Introduced default values and remove unnecessary ones from ansible code ↵Maciej Skrocki4-33/+5
image build code. Change-Id: Id711d6fdacaddeafb8550290503d6cb6c814ea70 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-23ansible: update dpdk, trex and samplevnf installRoss Brattain31-323/+165
we now clone samplevnf from git repo made install_samplevnf role that takes as parameter VNF name added ubuntu_server_cloudimg_modify_samplevnfs playbook Change-Id: I5724e3b844b3137542a5c293516893a5c80f5c61 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-14Ansible typo fix, whitespaceRoss Brattain1-1/+0
Change-Id: I3639ab84ab5b9e802e1bbd23674b0fbda46fdc66 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-08yardstick setup ansible, including load_imagesMalanik Jan87-0/+2316
also update to cirros 0.3.5 added PROX compilation add create_node_pod_yaml role JIRA: YARDSTICK-639 Change-Id: If5999841287a54c7e5c64a7cc487c6394df90424 Signed-off-by: Malanik Jan <janx.malanik@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-02Merge "Add spec cpu2006 test case"Jing Lu5-0/+99
2017-07-31Add spec cpu2006 test caseJingLu55-0/+99
JIRA: YARDSTICK-764 This work is about support run SPEC CPU2006 benchmark. users must get a "cpu2006-1.2.iso" from the SPEC website, save it under the /home/opnfv/yardstick/yardstick/resources folder (e.g. /home/opnfv/yardstick/yardstick/resources/cpu2006-1.2.iso), user may also supply a runspec cfg file (e.g. /home/opnfv/yardstick/yardstick/resources/files/yardstick_spec_cpu2006.cfg). Change-Id: If4aecc1c14635a07589555196d2edc8bd37d7bdb Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-07-26Test Case: OPNFV_YARDSTICK_TC023: VM availability during live migrationchenjiankun7-0/+119
JIRA: YARDSTICK-174 This live migration test case is based on share storage, default share storage is enabled. This test case will do some config work. And do live migration and calculate the migration time and downtime. Change-Id: I6601601edebdd0ac6434ba632b1eba9e9bd4fda0 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-04-13Bugfix: fix typoJingLu52-1/+1
Change-Id: I9b7cd5f94b1663af3b807ce24c941868b10d85d1 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-20Merge "Add NUMA pinning support for node context"Jing Lu2-0/+114
2017-03-13Add CPU pinning support for node contextJingLu510-0/+216
JIRA: YARDSTICK-573 Since the yardstick framework now has supported an improved node type context, this patch adds support for VM vcpu pinning ability in the node type context. It provides several scripts that can be used to configurate the controller and compute nodes. Change-Id: If2c6e7b1b85ff78b9d2a5997bf03bdc6877aaf74 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-08Add NUMA pinning support for node contextJingLu52-0/+114
JIRA: YARDSTICK-574 Since the yardstick framework now has supported an improved node type context, this patch adds support for VM NUMA pinning ability in the node type context. It provides several scripts that can be used to configurate the controller and compute nodes Change-Id: If5eafdca6df1b1196bc17bfdd12aea9f4016752f Signed-off-by: JingLu5 <lvjing5@huawei.com>