aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2020-02-14Ansible: More telemetryPeter Mikus1-0/+12
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: If0c2501d8ae6e019d6873283770c926b0da29095
2020-02-14Ansible: Update DPDKPeter Mikus2-6/+9
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ia5c1e40b952c14775f2f038d3a8a293335172f47
2020-02-12Ansible: OptimizationsPeter Mikus7-115/+163
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I56fb45fb22b924eec6ee6b6b7ad7874a07f1555c
2020-02-07CSIT Azure integrationvagrant58-906/+1627
+ Terraform + Ansible Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I353511c5ef39d8c8d43fedc61c8dbb30b4821e1b
2020-02-04Ansible: Cleanup and speedupPeter Mikus5-97/+111
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ia2ce482798204ad426f93f334c97e28eb51139fd
2020-01-31T-Rex: CPU pinningPeter Mikus2-4/+8
+ Detect NUMA + Pin based on numa location Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ife350f8c70e5437ac7c1413c7753f2a2f62777d9
2020-01-28perf: hoststack iperf3 test tuningDave Wallace1-0/+12
Change-Id: I53425f57fe9ecef9cff2c94642cc7cb24537a961 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-01-17perf: add TCP Iperf3+LDPRELOAD test suiteDave Wallace1-0/+1
Change-Id: Icff49fb31cce342a2a4ae799e844ec91f9e5e366 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-01-07T-Rex: Upgrade to 2.73 with DDP profile fixPeter Mikus1-6/+2
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a
2019-11-29Python3: PIP requirementPeter Mikus3-19/+51
- 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 Mikus8-0/+311
+ 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 Mikus4-0/+101
+ 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 Mikus21-122/+202
+ 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 Mikus5-38/+83
+ 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 Mikus3-7/+7
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iecb18e9d94ff715e40152564fb778650d43a48d3
2019-09-11Ansible: Trex installationPeter Mikus8-21/+82
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 Mikus3-0/+38
- 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.linkes7-72/+66
* 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.linkes7-12/+126
- 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-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 Mikus19-54/+729
- 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 Mikus3-18/+44
Change-Id: If838c2a008ffd5bdf458c76d729f57b47e225b41 Signed-off-by: Peter Mikus <pmikus@cisco.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 Mikus1-0/+19
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 Mikus2-0/+42
- 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 Mikus6-9/+9
Change-Id: I1e91d63bb5cd671d2d1d94f8711233bec0fe6505 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-02-22CSIT-1437 Create portable host-setup documentPeter Mikus34-1014/+184
- 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 Chlebec16-86/+197
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>
2018-11-23Adding python-cffi requirementsPeter Mikus1-0/+8
- 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-10-23CSIT-1255 1-Node VPP_Device DocumentationPeter Mikus1-0/+2
Change-Id: I0152bd9c0d2a97aa206819b46e8e4c0fe7d643eb Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-10-08Update Ansible scriptsPeter Mikus1-0/+10
- 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 Mikus4-0/+109
Change-Id: I22d1fe2fc27d6adb39eba2578e68d06992a3f976 Signed-off-by: Peter Mikus <pmikus@cisco.com>