aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible
AgeCommit message (Collapse)AuthorFilesLines
2020-10-14vpp_device: updates for 1n-tx2 testbedsJuraj Linkeš7-31/+121
One ThunderX2 9975 server (.69) was replaced with two ThunderX2 9980 (.70, .71) servers. Move the .69 server under ansible perf section in anticipation of repurposing it for that purpose. Update the ansible scripts with .70 and .71 config and rename port names in device.sh lib to reflect the NIC differences between .69 and .70 (and .71). Change-Id: I88b75648735243e5559175d3192ffcc8fc70071c Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-09-03Framework: Bump DPDK 20.08pmikus2-0/+8
+ DPDK 20.08 + Migrate make -> meson + Fix all trending issues Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I31dcb22627c0f8d17ec63c5b138a2da958b006f4
2020-09-01Ansible: fix the wrong module and mode for vpp_device.yaml in cleanup roleJieqiang Wang1-2/+2
The src field for ansible template module used in vpp_device.yaml of cleanup role should be jinja2 format and the mode for script to be transfered to the remote host should be executable for the file owner. Fix this error by replacing the ansible template module with ansible copy module and setting the file permission to be 744. Change-Id: Ibf80b0c5bec77a13509122795a5b12b6faba2f8e Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
2020-08-28Ansible: Add arm nomads into poolpmikus1-2/+2
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I99a33a15e7e87fe6f56deb1ab0e4ce3091508244
2020-08-24T-Rex: 2.82, core pin, 8 workerspmikus2-1/+2
+ Bump T-Rex version. We need new features for ASTF test. + Apply core pining. Results in a more stable performance. + Tweak the number of T-Rex workers. + We need an even value to achieve ymmetric performance with pinning. + Value 8 was selected as a best compromise. This is a combination of 3 commits. This is the 1st commit message: T-Rex: 2.82 This is the commit message #2: Change Trex to CORE_MASK_PIN mode to improve performance https://trex-tgn.cisco.com/trex/doc/trex_stateless.html#_core_masking_per_interface Above link have below explaination, "When the profile is symmetric, performance can be improved by pinning half of the cores to port 0, and half of the cores to port 1, thus avoiding cache trashing and bouncing." The reason to change this is that to run CSIT with 100G NIC often failed with "TRex stateless runtime error timeout", it caused by Trex can not send enough traffic within the fixed duration. by change to CORE_MASK_PIN mode fix the issue. Not editing ASTF, as that supports different options. This is the commit message #3: Experiment: Vary number of TRex workers With CORE_MASK_PIN, we can get more predictable time distribution. Decided to use 8 workers, that gives good results both for high end (RDMA-core l2patch) and low end (vhost) tests. Change-Id: I5c61127799e0624464e960fcb980ad1c4058e744 Signed-off-by: pmikus <pmikus@cisco.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-07-29Ansible: Nomad 0.12.0 upgradepmikus6-2/+13
+ random fixes Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Icb320d1ba4bbe3b5f99956cf8e89c2a29e114e41
2020-07-28vsap: install ab using ansibleXiaolong Jiang3-0/+28
Signed-off-by: Xiaolong Jiang <xiaolongx.jiang@intel.com> Change-Id: I275ad9dccc02e6b1f1c791fabf8896fb03acb3fb
2020-07-23ansible nomad: install htopDave Wallace1-0/+1
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I0549e9b5ac6769e3fc760ab2047d89a188baa36a
2020-07-16Remove remains of WRK testsTibor Frank7-84/+0
Change-Id: If61783fb717757c6189f06924412bd079e15a08f Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-07-02Infra: add jlinkes ssh key to ARM nomad serversJuraj Linkeš8-0/+16
Change-Id: Ie304118e6b1ecb06704e35bbbeccf7cc0f649e8b Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-07-01Infra: Update ansible ARM dev serverJuraj Linkeš4-21/+21
Remove nomad installation from the ARM dev server and add a generic vppdev user to it. Add ansible role dev for this. Change-Id: Icb967ff18cbe939464ddb3d8dbce5101747e739f Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-07-01Infra: Update Ansible ARM NomadJuraj Linkeš8-5/+165
- Add three new ThunderX servers - Mark two existing ThunderX servers as out of order, since they're inaccessible - Fix microarchitecture of ARM build servers Change-Id: I57f5f3f8436a9082a264eb4e0fa4faac77ad53be Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-06-17AWS 2n topologyMaros Mullner4-1/+57
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Idc9317d3e37d9ed0a82adc273e0628a8defcfdf6
2020-06-10Infra: Ansible speed uppmikus3-19/+10
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I24a22b1492593df937af2a17cd0c8684af7cd500
2020-06-09Infra: Ansible Nomadpmikus9-1/+145
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I2560e3e12b457413db81a7ecc52efd7e39f1aea2
2020-06-03Infra: Ansible Nomadpmikus4-2/+40
+ Prometheus Telemetry stanza - ARM Softirons Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ib7bf577ed0460ab5b79700ff0f8d52d5704cec59
2020-06-01Infra: Ansible ARMpmikus4-7/+26
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Iffdb12cc7013a38341a09df2f863ee7c56196bb0
2020-05-27Terraform and ansible changes for Cloud environment (AWS, Azure).Maros Mullner14-19/+75
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Ic78b5dae22b67763b99c50a5f15d7dd16152d5d5
2020-05-25Infra: Ansible Nomad IVpmikus12-17/+121
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I67ab84c2c2b34ce5ccc3a2de629c41460bb52e8c
2020-05-25Infra: Ansible Nomad IIIpmikus14-512/+881
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I6c37287e79e48ba40a5dda497cc3614c367230aa
2020-05-22Infra: Ansible Nomad IIpmikus12-443/+575
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Iaa5c02d14223b578c316f48e31a0b3613303eecf
2020-05-21Infra: Ansible Nomadpmikus21-183/+915
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Icc03bf62d8639f603ca90aa6ab849a46dc911d56
2020-05-20Infra: Ansible maintenancepmikus13-332/+282
+ As per last discoveries when running from_scratch vs. append_only Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I8b44314185bbc157a67136730dc6146d133c7cc4
2020-05-20Ansible: Mount /tmp as tmpfspmikus2-0/+22
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I69d9290d42c154f54e71e769a3a5d89a69c2e602
2020-05-14Ansible: Small maintenancepmikus10-85/+13
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I542401d77a777dfc2d930de626e19c1d8083941c
2020-05-07Ansible: Pre-check testsPeter Mikus2-16/+47
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I745ceb519220c4d08951dff07350f2f4709f3533
2020-05-06Ansible: Remove cobblerPeter Mikus47-539/+0
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I34446125071ee7157e1c0e29027a6d973ee03c7e
2020-04-09Ansible: Kernel installationPeter Mikus11-3/+266
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iee65272169339ed0e5561cf3dee11567335b12be
2020-04-09Performance: FIX T-Rex configPeter Mikus1-1/+1
- MLX, ENA - Part I Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I9f4b407770515fe6009ef5dfdba2b27fa2ff654f
2020-04-06FIX: Ansible LTS missing packagePeter Mikus1-1/+9
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I87020a6a26f54f9a1591a540f77f6469d75df007
2020-04-01FIX: irqbalance settingsPeter Mikus2-0/+36
By default irqbalance should be honoring isolcpu settings but as of latest finding IRQs are distributed ad-hoc even if irqbalance is: - enabled: with default settings - disabled: by configuration - disabled: as a service - enabled: with incorrect mask This patch brings explicit configuration of IRQBALANCE_BANNED_CPUS with mask large enough to cover all cores and keeps IRQ to be processed by core 0. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0eb36d780feb284a5493e123acbf993a362ea9ec
2020-03-31Add disable_ra config to VPP device ansiblejuraj.linkes1-0/+20
Router advertisement from linux interfaces in VPP Device TGs could result in unsolicited packets arriving in DUT which would produce false negatives. Change-Id: I121a92310a8fe47f36e253656e126123704efc0a Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
2020-03-18Fix dpdk-20.02 build to include igb_uio.Maros Mullner1-1/+12
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Ifd0f4d09b7c518feab534186220d618a560f223c
2020-03-16Ansible fixes for AZURE.Maros Mullner2-0/+18
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I071c5184dcbc25a8bc6b53d65d9a3478194c72fc
2020-03-16Final changes for AWS.Maros Mullner1-0/+1
Modified cpuutils numa to work with aws 18xlarge instances. Added dmidecode package to calibration role as is not installed by default. Added required constants Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I99608d9df3cff0b085ad26c30e339216b17581eb
2020-03-10Ansible: LTS supportPeter Mikus14-82/+135
- There is currently no other way to support multiple version of playbooks. Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I2ade4a57d726b793e422996e83bf767ac4315488
2020-03-05Azure topology file MAC fix.Maros Mullner1-7/+7
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I7eefdb5db39a0f5328c7f1a0a0a5d57c762cc21c
2020-03-05Add pciutils to trex role, to solve lspci not found.Maros Mullner1-0/+1
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I3b1d5e61fe85b1112d4032f6e2b17b61a812e749
2020-02-19Re-compile vfio-pci and igb_uio for AWS in ansible scripts.Maros Mullner5-5/+65
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: I6f0268f510e0c07e45d41f92ae5e2d24d05d407b
2020-02-17Fix: Ansible minor bugsPeter Mikus9-45/+17
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I804e78c3b8586dc9e9ca8b7cf4bf97d3744aeedc
2020-02-17AWS terraform automation scriptsMaros Mullner16-6/+248
Change-Id: I050fe466dd006d330d1bb29cc6ccba8ae4681f01 Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech>
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 Mikus8-116/+164
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I56fb45fb22b924eec6ee6b6b7ad7874a07f1555c
2020-02-07CSIT Azure integrationvagrant67-1015/+1790
+ 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-15Ansible: Increase TG hugepagesPeter Mikus20-57/+17
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ifa87e372ed45f6dfc883723acbb325e34fb814a8