aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08Update Ansible scriptsPeter Mikus5-1/+40
- Allow Kubernetes to use specific version (allow-downgrade) - Introduce ansible-vault for sudo password management - Add Kubernetes fixes for 1.11.x+ Change-Id: Ieb77e773ea28f5c551ef0702027f699c1b758aa2 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-24CSIT-1292 Update Ansible playbooks with vpp_device tasksPeter Mikus7-3/+122
Change-Id: I22d1fe2fc27d6adb39eba2578e68d06992a3f976 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-08-20Refactor VHOST codePeter Mikus1-0/+8
CSIT-1164 Create VM vhost tests for 2-node topology CSIT-1173 Implement VM vhost KWs for 2-node topology - Cleanup QemuUtils.py Library (PEP8, some TODOs, readability, multi queue, ring size, qemu version detection) - Cleanup VHOST KWs perf (Unify running QEMU on N-node topology) - Add ability to configure Queues, Hyperthreading, automatically compute number of CPU for VM/Testpmd and RXQ for Testpmd workload. - Partial cleanup of configuration KWs (l2xc, l2bd) for 2-node - Create IPv4 2-node KW Change-Id: I8aae1355bafa651de715cd438fe706c443ea1d88 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-13Update skylake tesbed inventoryPeter Mikus4-25/+25
- Add missing topology files - Add missing topologies to bootstrap - Small fixes in ansible Change-Id: I3b9ad60a0adfae9e93e5e700279f7ade81174471 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-10Remove THIS tag and use unix endlinesVratko Polak14-607/+607
The THIS tag has sneaked in 10Ge2P1X520-Eth-L2Xcbase-Eth-1Memif-1Dcr-Mrr but usually it is only to be used in draft testing. Not sure about the way non-unix endlines crept in. Is not git supposed to perform endline conversions on text files? Or are .robot, .rst, .yaml and .vat not recognized as text? Change-Id: Ia78cf942c05c3029c340a8639782786f37e57469 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-07-06Add Skylake optimization to ansiblePeter Mikus2-2/+41
- Add kernel params - Add TurboBoost managing Change-Id: I9d9561290f8f6780ff41f3a418a1f335d935d843 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-29Add vfio-pci support on all TBPeter Mikus1-1/+5
- Add auto load of vfio-pci - Add iommu support Change-Id: I13611fab9db2813eeab7f90c8f961594349e561e Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-26Small update to PXE installation READMEPeter Mikus1-0/+4
Change-Id: I1766e3cd81cfe4ed049ed3e7034fff1e367396d4 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-25Update PXE info about new Skylake machinesPeter Mikus4-35/+52
Change-Id: Ide828efb0e539ae7bf9c5cfd128f35d8117f3643 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-15Update Ansible with new Skylake machinesPeter Mikus21-61/+131
Change-Id: Ia5d0b680deaf7da60696bf2d0260cf7fbea78322 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-13link for start-testcase-DMMsharath1-0/+5
Change-Id: I2687f6408483cd88a2c820d6da03df511e087ba4 Signed-off-by: sharath <sharathkumarboyanapally@gmail.com>
2018-05-31Add s17-t33-tg1 into ansible/pxePeter Mikus3-6/+11
Change-Id: I1e44a17391b19aa09042d02e6f072a7ee3738bb8 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-05-30CSIT-1068 Update testbed-setup for new server onboardingPeter Mikus3-33/+113
Change-Id: I5e1588b432ebd5655a5451f8f19903f28d1fee2a Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-05-30CSIT-1070 Update Ansible structurePeter Mikus83-334/+1047
Change-Id: I9adab174f0c15f4c05a93f61b17714fa6542ea5d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-05-10Updated testbed setup readmejuraj.linkes1-5/+9
The section describing PXE server setup contained incorrect paths for nginx server, which this patch fixes. Change-Id: Iea04c12baea88d6ef378826d4b4e2eab5648b36b Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2018-03-08CSIT-988: Add libmbedcrypto0 as a new vpp dependencyPeter Mikus1-1/+7
Add libmbedcrypto0 to the list of installed packages on Physical testbeds + VIRL images Change-Id: Ied68b79a36d0b6c8619aa22effeac30e5f3c0cf6 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-10-23Update disk-image-builder scripts to allow IPv6selias1-5/+7
Change-Id: I28ed08689db97eabc21726afa9d977fcda526dfb Signed-off-by: selias <samelias@cisco.com>
2017-10-19Update the dpdk version to 17.08Peter Mikus1-0/+2
Change-Id: Idcf705d40f45c10c3c4dee694a80202d576b8026 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-08-16CSIT-770 Installation of prerequisites on physical hostsPeter Mikus3-5/+46
- Update ansible to install kubernetes and docker Change-Id: Ibf57d4fa697f7c9b58f2e4925387b0c4e8b67274 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-07-11Add IRQ/RCU/Writeback pinning to ansiblePeter Mikus1-0/+15
Change-Id: I650d9cb1ee44b6fa7cee79a86dad2b515256b239 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-06-30CSIT-619 HC Test: Honeycomb performance testing - initial commitselias1-0/+2
- keywords and scripts for HC performance testing setup - basic performance suite: operational data read - traffic script and keywords used in tests Change-Id: Ic0290be73a7c925ea2561f8cd2524c5cb83fcda2 Signed-off-by: selias <samelias@cisco.com>
2017-06-29CSIT-687: Directory structure reorganizationTibor Frank1-79/+79
Change-Id: I772c9e214be2461adf58124998d272e7d795220f Signed-off-by: Tibor Frank <tifrank@cisco.com> Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
2017-06-19Update Ansible scripts for image server copyPeter Mikus2-21/+20
Change-Id: I7fa1808218d59ae0094952a94447613b90ce4fd2 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-06-14Update ansible scripts for VIRL installationPeter Mikus4-29/+27
Change-Id: I50b9154c43017cec1c4c47552ac2311dea92aa3f Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-06-14CSIT-597: spot fixes for crudini, interface differencesEd Kern8-109/+135
Change-Id: I7c11a365aa7b0ed673e0ec9a7e6078129d3c63fa Signed-off-by: Ed Kern <ejk@cisco.com>
2017-05-30CSIT-648 Installation of lxc on physical hostsPeter Mikus1-0/+2
Add lxc package to ansible 01-host-setup file to install package and its dependencies on all SUTs Change-Id: I3a7cef1a5acec16f603ffad7ee6ca7c85969e385 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-05-25CSIT-597: added additional variables needed for virl host construction.Ed Kern2-20/+19
Also converted ansible_hosts file to utf-8 because the dos format it was in was pissing me off. Change-Id: Ie436f5abc6b397d406efec6e49e0845d915f2310 Signed-off-by: Ed Kern <ejk@cisco.com>
2017-05-25CSIT-613 Update VIRL ansible filesselias1-8/+4
Update VIRL ansible files Change-Id: Ie64ddb1238888518e9384711669a028097d816af Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-05-25CSIT-597: quotas to default user, use command crudini over ini for : vs = ↵Ed Kern3-101/+108
sep and alternate salt master altered virl.ini for eth0 being on flat port Change-Id: I12dacc32ca3f542f18d4569947123e49d07d74ef Signed-off-by: Ed Kern <ejk@cisco.com>
2017-05-24CSIT-597: revert to old style interface namingEd Kern2-2/+9
Change-Id: I0ae5295fe0bd046e643df2d2abf2b88f76f3179f Signed-off-by: Ed Kern <ejk@cisco.com>
2017-05-23Modify garbage cleaning on VIRLPeter Mikus1-1/+1
Decrease the threshold of old session directories and add cleaning of non-empty directories Change-Id: I77950065e5e09aaaf38cf2d9cb3f4c3f8cdcf58c Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-05-16Add Garbage Cleanning to VIRLPeter Mikus1-0/+20
- add cleaning of old VPP builds (deb|rpm) - add cleaning of old session dirs - add cleaning of old QEMU logs Change-Id: Ib2849cc3969de75525f13d80dc87b32fb82865af Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-04-28Update ansible playbooks VIRL setupMatej Klotton2-1/+21
Change-Id: I704991c65dc5fc9ce40ade932cab104fa468696c Signed-off-by: Matej Klotton <mklotton@cisco.com>
2017-04-14Update ansible scriptpmikus3-4/+50
- Add more inter steps - Add alternative way to host files via Apache server (due to VIRL collisions) Change-Id: Ibb206fa630013e9cdff9cda145e993b033ec7138 Signed-off-by: pmikus <pmikus@cisco.com>
2017-04-03Install screen on Phy DUTspmikus1-0/+2
DPDK-perf testing requires screen to installed on Phy DUTs. Change-Id: I68edf5e1d7d75f40d34161b4e394a1e229d9f1fd Signed-off-by: pmikus <pmikus@cisco.com>
2017-02-27Add libpcap-dev package as dependency on physical TBpmikus1-0/+2
Due to adding pypcap into pip requirement for VIRL we need to add libpcap-dev package on physical TB Change-Id: I5a86f7104111d016f1fa941b382de13383dbd064 Signed-off-by: pmikus <pmikus@cisco.com>
2017-02-23QemuUtil lib change to work with ubuntu and centosMatej Klotton1-0/+2
- replace nc to socat for comunicating with qemu QGA - change disk type to use virtio driver - add check to bind only network interface for testpmd Change-Id: I19ab16cbd8fec1ec78263ccfb1309a144e5af845 Signed-off-by: Matej Klotton <mklotton@cisco.com>
2016-12-07Add system optimization on physical testbed Ipmikus1-8/+71
This patch is adding kernel and vm optimizations for physical testbeds. Change-Id: I7b54bf528f7d2cee788d8047d259877b7e362872 Signed-off-by: pmikus <pmikus@cisco.com>
2016-11-16Add IRQ pinning to ansible host-setuppmikus1-0/+2
Change-Id: I4eb46763213cc9e8723a6ff1cf380a5498aae7d6 Signed-off-by: pmikus <pmikus@cisco.com>
2016-11-10CSIT-454: HC Test: fix package installation in csit-honeycomb jobselias1-4/+0
Change-Id: Ie8ef408d87f2bd0327489179507076c6ea619e1e Signed-off-by: selias <samelias@cisco.com>
2016-10-19CSIT-351 Revert "VPP base package fails to load on VIRL 16.04 SUTs"Dave Wallace1-1/+1
Change-Id: Ice0246fb91faf215f5e19be92d6aca7c9f376586 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-10-17CSIT-351: VPP base package fails to load on VIRL 16.04 SUTsDave Wallace1-1/+1
Change-Id: If33008da9d0b1376b840a6533f4f57af44e3340a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-10-09Update ansible playbooks with documentationpmikus4-22/+119
- Update ansible playbooks scripts for Ubuntu 16.04.1 with latest requirement for setting of physical hosts including VIRL - Update readme file Change-Id: I94e7ab62f729ea2eefb2a6640d0c53f3abc54bac Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-05CSIT-430: Update apt-sources.list in ansible-hostpmikus1-27/+27
- Update apt-sources.list in ansible-host Change-Id: I7e1a5448d8c6d50b70d7d7bbf8fa5b5a7a590200 Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-05CSIT-429: Add hugepages configuration to ansible-hostpmikus2-0/+18
- Add sysctl configuration to allocate HugePages into ansible SUT host section Change-Id: Iba6e9da1d92b4ddbc04a99817e098306e68c179d Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-05CSIT-428: Add kernel parameters to ansible-hostpmikus1-1/+1
- Add kernel parameter to isolate cpus into ansible SUT host section Change-Id: I856f6eca6464d4dd513c0dd2d44a153493c35c99 Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-04CSIT-157: HW testbed installation scripts to include PIP requirementsCarsten Koester2-3/+10
Change-Id: I457d5c2a7cc90afaae929617802d126e6a045a66 Signed-off-by: Carsten Koester <ckoester@cisco.com> Signed-off-by: pmikus <pmikus@cisco.com>
2016-09-28Add automated deployment of Honeycomb on DUTsTibor Frank1-0/+4
JIRA: CSIT-56 - create bootstrap_vpp_honeycomb.sh script which deploys VPP and Honeycomb on DUTs - Modify start-testcase script Change-Id: I88511479cb8681168675c934f4fccbea83fa34bc Signed-off-by: Tibor Frank <tifrank@cisco.com>
2016-08-19CSIT-367 Add QEMU package dependenciespmikus1-2/+10
- Add QEMU package dependencies Change-Id: Ib54eedb8d30fdd3ebed7152eb6d27067a93b7c52 Signed-off-by: pmikus <pmikus@cisco.com>
2016-07-08CSIT-174: Include cgroup support packages on hardware SUT and TG hostsCarsten Koester1-0/+2
Change-Id: I50628ce6ae0afb012491f4d6f66e7e13331bf3e1 Signed-off-by: Carsten Koester <ckoester@cisco.com>