aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup
AgeCommit message (Collapse)AuthorFilesLines
2020-02-04T-Rex: CPU pinningPeter Mikus2-4/+8
+ Detect NUMA + Pin based on numa location Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ife350f8c70e5437ac7c1413c7753f2a2f62777d9 (cherry picked from commit 6bcf4d40d83bbf026f9fd0105bebf579423c65a6) (cherry picked from commit 6cb55db44f4c9817395d5fe5d8391c88412a6d59)
2020-01-29perf: hoststack iperf3 test tuningDave Wallace1-0/+12
Change-Id: I53425f57fe9ecef9cff2c94642cc7cb24537a961 Signed-off-by: Dave Wallace <dwallacelf@gmail.com> (cherry picked from commit b340b5c9925b43869b91197850504760757a0bfe)
2020-01-17perf: add TCP Iperf3+LDPRELOAD test suiteDave Wallace1-0/+1
Change-Id: Icff49fb31cce342a2a4ae799e844ec91f9e5e366 Signed-off-by: Dave Wallace <dwallacelf@gmail.com> (cherry picked from commit 6518c73a0e5cdaf12ae01d247a65aec287d01625)
2020-01-15Ansible: Increase TG hugepagesPeter Mikus20-57/+17
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ifa87e372ed45f6dfc883723acbb325e34fb814a8
2020-01-07T-Rex: Upgrade to 2.73 with DDP profile fixPeter Mikus2-7/+3
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a
2019-11-29Python3: PIP requirementPeter Mikus5-23/+55
- Install via PIP3 - Use virtualenv Python3 interpret Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iad22b344b418a1d91774d23d5ea17bfd48d394b3
2019-11-19HONEYCOMB: RemovePeter Mikus1-6/+0
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I60d80564050cb786c7b1e0a08f31f8292f82197e
2019-11-18FIX: Ansible remove vppPeter Mikus1-14/+2
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I054d2b282f67a465bb0f7ceacfe23d6283c88409
2019-11-13FIX: Ansible container cleanupPeter Mikus1-8/+2
Change-Id: I233baca48a3f01d1a206fd004b0503b0f1fad5d9 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-11-13FIX: Ansible cleanup permissionPeter Mikus1-0/+2
Change-Id: Ia79558b579e70aa666e8f84230f4bd2cafb33569 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-11-08FIX: Small ansible fixesPeter Mikus3-2/+2
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I55e0f8c28ea166464026b61e3fd2b18faf8744f2
2019-11-05Cleanup via AnsiblePeter Mikus11-0/+317
+ Remove dependency on topo_ scripts that depends on custom SSH() that depends on framework itself. This way the cleanup is independent of failure in our SSH libs. + Simple ansible command can do cleanup of a machine: ansible-playbook --inventory inventories/lf_inventory/hosts site.yaml \ --limit '10.32.8.18' --tags 'cleanup' + Add vpp_device reset and cleanup. + Remove historical scripts. - Still in testing beta phase. - Need to add SRIOV cleanup. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I68e23304c7ad01041f51263c328c6e8d9b555cb7
2019-10-30Add: Use containers for shared TGPeter Mikus5-0/+102
+ Ansible + Service for auto load during restart + By default created 2 instances of Docker container + Small modification of Trex to use prefixes + DNV topology to use ssh port to connect to docker Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ibc2b2f0e509d920fc3e05d012b88abc388f5c3e7
2019-10-25ADD: Mellanox RDMA interface supportPeter Mikus1-1/+1
+ Add functions for creating rdma interface + Fix traffic generator Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I81787b72ff5ee926ed652d350888c4f86da766f1
2019-10-17Ansible: Role cleanupPeter Mikus26-145/+216
+ Separate and reuse role (better naming) + Cleanup in naming + Introduce defaults that can be overriden Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iedaf7caba1d05a35a6f61cd21a483cdbc0073d32
2019-10-16Ansible: Clean Python requirementsPeter Mikus9-122/+99
+ minor cleanup Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iff9c643f6e9b52dc6a11b04624452f115f3a834e
2019-10-14Ansible: Mellanox installPeter Mikus6-41/+88
+ OFED + ibdev2netdev - aligning few naming conventions Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0dff28b2cd4bbc4753597366d9b03b497fa336c4
2019-10-09FIX: AnsiblePeter Mikus3-9/+9
+ Cover all CSIT devices with netplan to prevent DHCP usage + Move netplan to common role Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ic3790f8ff770edf64b4066f8ddb99454643f5846
2019-09-11Ansible: Cascadelake includePeter Mikus12-17/+147
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iecb18e9d94ff715e40152564fb778650d43a48d3
2019-09-11Ansible: Trex installationPeter Mikus12-28/+94
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I5ab8fe05074a842301a511bbd3ab5e67f8d1a9f0
2019-08-16FIX: Small errors in ansiblePeter Mikus1-16/+24
- that prevents installation Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I4fe4694ab7479481481aacc2eb550058bd7618e6
2019-08-14Move: WRK installation into ansiblePeter Mikus6-0/+54
- Remove ability to install from framework. - Control via ansible with other dependencies. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I5fd0ca18b4f76c30b6c28b4dcd15e538e01cb315
2019-07-24Update initramfs buildjuraj.linkes2-5/+32
Initram image was being built with remote resume config. Remove the config while building to avoid possible 30s delays when booting VMs. Change-Id: I988838290dde3d6fae83676937d86f4f12bdb769 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-07-233n-tsh timeout, testbed tags and ansible updatejuraj.linkes43-138/+146
* disable AVF tests which don't work with x520 * increase VPPApiClient timeout to 14s, as x520 show hardware is slower on Taishan * re-enable vhost and memif tests * remove tx2 mrr daily tag list; no tx2 is used for perf testing * remove taishan workaround * add scipy arm prerequisites and scipy workaround * rework inventories/lf_inventory/hosts; move cpu_microarchitecture to host files Change-Id: I5f10bd07b8146ac3b8be8c54fbb4d924a9373813 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-07-17FIX: Tags in ansiblePeter Mikus1-0/+1
Change-Id: I6772734b68bc2c09ee550f1a6369e3668f613d92 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-07-11CSIT-1477: add 1n_tx2 VPP Devicejuraj.linkes9-12/+138
- add 1n_tx2 testbed - update VF reservation to meet 1n_tx2 testbed needs - update ansible with 1n_tx2 Change-Id: Ia075a913d4859f537fd0e6bff731ea88aff01dd9 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-07-10Modify kernel VM download to custom buildjuraj.linkes4-17/+56
Instead of downloading linux-image-kvm, build custom initrd from currently used kernel on perf sut or vpp device host. Change-Id: I836f9c5264695c44566b7d52f3ec03e26a474524 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-06-21Align suite/test teardown/setupPeter Mikus1-0/+2
+ Phase I - aligning FUNC/PERF Change-Id: I46b1e43687ddb29f5ed3c6335fe1baf21ec02822 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-06-19Add denverton servers to ansible lf_inventory hostsYulong Pei5-0/+76
Change-Id: Iac3ed425caa8f7c28546f04a6c4adc1f834bffd6 Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2019-05-31Add meltdown spectre to calibration setPeter Mikus2-13/+1
+ Fix the version of MMD tool to always latest Change-Id: Iafd7f40d618b8e4995b5cc12fe06056719f58517 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-05-22Ansible: Add CIMC/IPMI/COBBLERPeter Mikus62-1148/+1181
- added tasks and handlers for CIMC, IPMI, COBBLER - allows provisioning of servers via COBBLER Change-Id: I64080069260dabb8a6e3b648aeff12f109d3f7c2 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-04-12Add DPDK install to ansiblePeter Mikus4-18/+50
Change-Id: If838c2a008ffd5bdf458c76d729f57b47e225b41 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-04-09Add support DHCP Server Support for DNVRay Kinsella1-0/+24
Adding DHCP Server support for 2-node and 3-node DNV setups Change-Id: If3d3517fd91ab46308c368910c1e79f5c25cc904 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2019-04-06FIX: Operational issuesPeter Mikus2-0/+9
- FIX MSR package installation - FIX VTS - FIX sockets by removing from TCs Change-Id: I043c60f9e3e9c39cbeaee5e09b7a8351965efd35 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-17Prepare image for KernelVM on machines.Peter Mikus2-2/+21
TASK [sut : Get kernel-kvm version] *************************************** changed: [10.30.51.52] TASK [sut : Download kernel-kvm] ****************************************** changed: [10.30.51.52] TASK [sut : Unpack kernel-kvm] ******************************************** changed: [10.30.51.52] PLAY RECAP **************************************************************** 10.30.51.52 : ok=4 changed=3 unreachable=0 failed=0 Change-Id: I452f35e12c94fc58374679de21e87e36b145f987 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-16FIX: Ansible warnings of deprecationPeter Mikus7-56/+50
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. + aenum pip fix version + crypto dependencies Change-Id: I7ca4de48d68ec4d8a8f57fedf204fa6710a3e75f Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-14Add PAPI dependenciesPeter Mikus11-97/+48
+ Various small structure optmizations Change-Id: I1aac9353f72436de53797fc734bef498905c8189 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-01Add ARM Taishan testbed33 perftestStanislav Chlebec3-20/+26
Change-Id: Iaa0e7fbca7de26c7dce8b389cc3494f628a2ecd0 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-02-27CSIT-1449 Ansible: Adding calibration supportPeter Mikus7-14/+68
- Remove obsolete bootstrap_setup.sh. - Add calibration support into ansible. - Inject Ansible run with calibration to every job. Change-Id: Ib2d6cd0c04d3bce700b205bef34c3c88edb26e28 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-26CSIT-1448 Ansible: Clean hugepage configurationPeter Mikus39-102/+388
Change-Id: I1e91d63bb5cd671d2d1d94f8711233bec0fe6505 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-22CSIT-1437 Create portable host-setup documentPeter Mikus75-1197/+531
- Ansible simplified and optimalized - Porting global variables into single file - Rework the README.md - Tested outside LF environemnt Change-Id: I124cffa5c4510edf365e8b558da0c8c498f55d50 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-19Ansible testbed setup for Taishan testbedStanislav Chlebec45-92/+245
Change-Id: I4b42aa5bf7635ade95f81c0c92a6ff1bf43d3fa0 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2019-01-30FIX: Cleanup mechanics for vpp_devicePeter Mikus2-0/+13
Change-Id: Ice975127f8ecdd4cead418151cf37d61dfb218a0 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-17Increase default number of hugepages to allow full box testingPeter Mikus1-1/+2
Change-Id: I1dc6f54e8371992e8c4a323bbad557e6c1fa435b Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-01-11Improve host-setup ansible scriptsPeter Mikus28-8/+26
Change-Id: I5b44be94e6c4ce5e19797d590cbd7f5de82698d5 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-11-23Adding python-cffi requirementsPeter Mikus2-4/+12
- Introduce Ubuntu 18.04.5 VIRL image - FIX mac addresses for dhcp - Add ansible task for python-cffi install on perf testbeds Change-Id: I8acfcdc8ee97c13ad4795a4ccde868a96b3fee47 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-11-05Static content for vpp_device sectionsPeter Mikus5-18/+0
Change-Id: Ia445ab5c339aecc0dfc6db40b2eb962436f9aeea Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-10-23CSIT-1255 1-Node VPP_Device DocumentationPeter Mikus1-0/+2
Change-Id: I0152bd9c0d2a97aa206819b46e8e4c0fe7d643eb Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-10-17Script for PXE host stagingPeter Mikus3-34/+33
Introducing script for staging server via PXE and controlling CIMC/IPMI reboot. Change-Id: I1667e1906e7de73b7bca994d82de75e12c0d382a Signed-off-by: Peter Mikus <pmikus@cisco.com>
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>