aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2021-10-12Merge "Automated deployment of helm charts with python"Sridhar Rao19-0/+493
2021-10-11Automated deployment of helm charts with pythonshreyagupta3019-0/+493
This patch adds demo helm charts and a python script that automatically deploys any helm chart of user's choice and print all the useful information about the chart. Signed-off-by: Shreya Gupta <shreyagupta3011@gmail.com> Change-Id: I06e3a8012602e09f601f70def386ef267c870e94
2021-10-01Docker: ViNePerf ContainerSridhar K. N. Rao5-0/+138
This patch adds support for new vineperf container 1. Both T-Rex and Prox support 2. SSH support added to run in K8S cluster. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I993807acf0abaa873c82b22e0286b5156a1954cf
2021-10-01Merge "Integrating DPPD-Prox with Vineperf"Sridhar Rao10-0/+697
2021-09-29Integrating DPPD-Prox with VineperfSridhar K. N. Rao10-0/+697
This patch adds Integration of DPPD-Prox with Vineperf Added: 1. Results analysis - bug-fix 2. Restrict to baremetal for this patch. 3. Fix Pylint errors. 4. Copy Rapid private key too. 5. Remove SSH key. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I3ea7e6261e3fab06ef829f22153fe247372fc34b
2021-09-07Clean Output Option.Sridhar K. N. Rao1-7/+27
This patch adds support for clean output - displaying only final results. User has to run with --verbosity and level as error or critical. --verbosity is an existing option. Remove unnecessary spaces Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Id227a4b787c4c7e4dd97f28009946ac6a8a802d3
2021-08-27Merge "Trex Per-Trial Bi-Directional Stats"Sridhar Rao1-0/+52
2021-08-25Trex Per-Trial Bi-Directional StatsSridhar K. N. Rao1-0/+52
This patch adds code to get stats for each trial for each port. Added changes suggested by AL 1. Include dropped packets 2. Include Latency values Added missing comma (thanks to Parth). Removed WIP Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: If760fbae2362c3f622c5517f5e53e159e31fccea
2021-08-10Add Userspace CNI build-and-run support files.Sridhar K. N. Rao3-0/+88
remove unnecessary spaces Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Icfc1dda8a29e896802f8030c5848cc00b4c99389
2021-07-27Bug Fix: Update ovs manifest for latest version.Pawan Verma1-12/+18
The newer image of ovs-cni-plugin terminates immediately after creation. This patch fixes this by updating the manifest file. Signed-off-by: Pawan Verma <pawanjbs5@gmail.com> Change-Id: I9c5e4c1f15a39febdef7aa897c0791b701df2a45
2021-06-28BUGFIXES: From Kali pre-release testing.Sridhar K. N. Rao2-2/+3
Multiple bug-fixes from thorough testing. More fixes added. Fix for Non-BLocking Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Idd2fb214ab6dc4eba8a834ab13ecaa29ff09445e
2021-06-17Merge "[WIP] - Reporting support for Openstack and K8S Test Runs."Sridhar Rao4-0/+290
2021-06-17Merge "WIP:Infrastructure for supporting more K8S Tests."Sridhar Rao2-0/+191
2021-06-15WIP:Infrastructure for supporting more K8S Tests.Sridhar K. N. Rao2-0/+191
This patch add multiple changes to ViNePerf to support following tests. 1. External virtual switch - not managed by Vineperf. 2. CNI not based on virtual switch 3. Fixed bugs after successful testing. 4. Pylint issues fixed 4. Fix some license-content and comments Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ie01735f99c0687cc812eae8e67ee2353347924f2
2021-06-15[WIP] - Reporting support for Openstack and K8S Test Runs.Sridhar K. N. Rao4-0/+290
This patch adds support for generating report when tests are run for K8S and openstack. Added cloud-information gathering tool. Move the tool to report folder. Call the save cloud information from vsperf. Fixed issues reported by Al. Additional fixes. JIRA: VINEPERF-644 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I4aea2e52a4c6700f80624f3e1828b74a108e03ba
2021-06-02WIP: Reference Definitions.Sridhar K. N. Rao13-0/+540
This patch adds reference definitions, and dockerfile for test-containers. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ifbd90f80cb1bc91fa0bf6053fc6405891d645412
2020-12-01Tools: Improve Stability.opensource-tnbt3-1/+8
This patch has minor updates to improve stability. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I0ded30c64389d75f15d2a8758a40dfb5cf3ff674
2020-11-25Trafficgen: Add support for Dual Instance in IxnetAncuta Enache1-4/+6
This patch adds support for dual instances in Ixnet. Signed-off-by: Ancuta Enache <ancuta.enache@keysight.com> Change-Id: I7a10c925cd59cddfc38ef482dc0f3573c49b75eb
2020-11-25Merge "Openstack: Using VSPERF to Test on Openstack."Sridhar Rao22-0/+2016
2020-11-25Openstack: Using VSPERF to Test on Openstack.opensource-tnbt22-0/+2016
This patch will support running VSPERF Tests with Openstack. This patch adds the following: 1. Provide --openstack parameter. 2. New Configuration file for openstack 3. Deploy Trafficgenerator based on configuration provided 4. Run Tests after Trafficgenerator are deployed on openstack Update-1: Minor bug-fixes and Documentation Added. Update-2: Add user-config to heat. Update-3: Update Python Requirements Update-4: Add dogpile Update-5: Update decription of the Hot files. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Iebec356eb893e0e6726cac6a10537b99e41f67f4
2020-11-25Merge "Tools: User Latest Version of T-Rex."Sridhar Rao1-3/+3
2020-11-23Tools: User Latest Version of T-Rex.opensource-tnbt1-3/+3
This patch upgrades the version of T-Rex to the latest one. V2.86. This patch is tested on Node-4 and Node-5, Intel Pod12. Scapy all.py modification is not required for new version. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I928cd3a92e59a90797ae8510a57f96487811f618
2020-11-03 Add image builder for testvnf using packer toolShubham Mishra7-0/+588
Signed-off-by: Shubham Mishra <shivam828787@gmail.com> Change-Id: I76b25903bdd328c9dbaeaa6041f114f8e2b8dccf
2020-10-15Merge "Tools: Add monitoring analysis jupyter notebook"Sridhar Rao3-0/+2341
2020-10-14Merge changes from topic "tools-patch1"Sridhar Rao42-0/+5246
* changes: Docs: Add monitoring cluster related documentation Tools: Add K8s monitoring cluster
2020-09-17Tools: Add K8s monitoring clusterAditya Srivastava47-0/+5321
This patch adds k8s monitoring cluster deployment using ansible for both client and server side. Also adds scripts (ansible roles) to clean (remove) the K8S cluster completely. Signed-off-by: Aditya Srivastava <adityasrivastava301199@gmail.com> Change-Id: I1115869c0a3e72a20047b31994f3d27e5fdae6c6
2020-09-04LMA: Deployment of LMA solution.(ansible)adi050937-0/+2802
Ansible playbooks for LMA deployment Signed-off-by: Adarsh Yadav <adiyadav0509@gmail.com> Change-Id: I3ab71e139bc1668577506fb996105a834a9c3c65
2020-08-24Tools: Add monitoring analysis jupyter notebookAditya Srivastava3-0/+2341
This patch adds 2 monitoring jupyter notebooks and 1 notebook combining both logs and metrics causation analysis. Causation analysis: Finds anomalies in logs and fetchs and analyses metrics in a delta time range of that timestamp. Analysis-Monitoring-K8S: Fetches metrics from prometheus to analyse them Analysis-Monitoring-Local: Data folder containing csv files of metrics is given, analysis is performed on that data. Signed-off-by: Aditya Srivastava <adityasrivastava301199@gmail.com> Change-Id: I8833f5155b3184f697fac5270c69e0df02d2986b
2020-07-22Merge "TOOLS: Ansible Playbook for Deployed Kubernetes Cluster."Sridhar Rao31-0/+1621
2020-07-21TOOLS: Ansible Playbook for Deployed Kubernetes Cluster.EmanueleUrselli31-0/+1621
This patch adds ansible playbooks for cluster deployment. Change-Id: Icf58b0ad0dec7098bff14c3f3c6666c35c242081 Signed-off-by: Emanuele Urselli <urselliemanuele@icloud.com> Signed-off-by: Parth Yadav<parthyadav3105@gmail.com>
2020-07-15PKT_GEN: Trex with Loss-Verificationopensource-tnbt1-0/+14
This patch adds binary-search loss verification to t-rex. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ie9b66f3149d4363840455ec1530885b23c3fc183
2020-05-24Tools: Dockerfile to run VSPERF in a Container.opensource-tnbt1-0/+37
This patch adds a dockerfile to run VSPERF in a container. This version can run VSPERF in Trafficgen mode ONLY. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ie5300b52c7358854c3facf65185ec03f2a5e0dc7
2020-04-03Ixia Live ResultsAncuta Enache1-20/+56
This patch collects Ixia live results and copy the results file from generator machine to local server 1. Traffic Item Statistics are collected during traffic running 2. Results file is copied from traffic generator machine to local server 3. Fixed pylint errors and made b2b test running working 4. Replacing sleeping times with traffic state verifications JIRA: VSPERF-609 Signed-off-by: Ancuta Enache <ancuta.enache@keysight.com> Change-Id: I351c3a5435a71acfd1b6bc85bc6c0731d2529cd8
2020-02-26Merge "Support: Container Metrics collection and Visualization"Sridhar Rao3-0/+1526
2020-02-19Support: Container Metrics collection and VisualizationParth Yadav3-0/+1526
A. Collector: Add cAdvisor Collector This patch adds supports for Container Metrics collection using cAdvisor. The collector: 1. Pushes metrics to InfluxDB storage 2. Stores metrics locally in Result Dir 3. Implements print_results() for metric summary 4. Is configurable from 05_collector.conf B. Docker: Grafana Dashboard This patch also adds JSON file for Grafana Dashboard for Container Metrics Signed-off-by: Parth Yadav <parth.yadav@ramanujan.du.ac.in> Change-Id: I7c39d4e1a7a46d3a499a241e618bd0da7eed53a8
2020-01-15Tools: Jupyter Notebook Bug-fixes and Update.opensource-tnbt3-19/+23
Separate volume for Jupyter Data is created. Results will be stored in that volume. Notebook is updated to use the volume. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I2a359d64cf3d4281686d4d3c3d6f3ee6587c1e13
2019-12-01Tools: Deployment and TestControl ContainersSridhar K. N. Rao35-0/+4085
This patch add containerization of VSPERF support. The patch facilitates creation of 4 containers: 1. Interactive Deployment 2. Auto Deployment 3. Interactive TestControl 4. Auto TestControl. The patch also includes a minimal client to work with interactive containers. The docs folder provides detailed documentation. Fixed pylint errors in libs folder. Removed proto built python files, and added the build process in prepare.sh. Stability improvements for Auto versions of deployment and testcontrol. Enhance client with 'mode' feature, where client can run either to do only deploy/only test or both. Add sample configuration file for client Fixed few typos - as suggested by AL. JIRA: VSPERF-594 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Id40b02960f71a7f9183d9a53955e2483117fb9e2
2019-08-07Merge "Docker: VSPERF Results Container."Sridhar Rao11-0/+1452
2019-07-30Docker: VSPERF Results Container.Sridhar K. N. Rao11-0/+1452
This patch adds docker-compose.yml and related config files for creating a results container. The container hosts following services: 1. Barometer Grafana. 2. Barometer Influxdb. 2. ELK Stack. 3. OPNFV TestAPI. 4. Jupyter Notebook with VSPERF testresults-analysis. Removed dashboard files, which can be obtained from barometer-grafana. Added comment in tools.rst under pre-deployment Retained only vpserf-cases and vsperf in cases.json and projects.json Changed barometer-influxdb to influxdb:latest. Added README.md file. Added environment variable setting to disable token for jupyter JIRA: VSPERF-602 Change-Id: I37a1391a1f34f834ce0d46def75a9f3454e09772 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2019-07-29Merge "CONFIG: VSPERF Config-file Generation Wizard."Sridhar Rao3-0/+972
2019-06-12CONFIG: VSPERF Config-file Generation Wizard.Sridhar K. N. Rao3-0/+972
This patch adds a tool create config file. When run, the wizard asks user a set of questions. A config file, named vsperf.conf, will be created. Fix some pylint Issues. JIRA: VSPERF-603 Change-Id: I1b800d8384cb3c0883b7f3859a9df77bb874b7b8 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2019-05-27pkt_gen: Bug-fix in Spirent testcenter parameter ordering.Sridhar K. N. Rao1-2/+4
This patch provides a fix to parameter ordering for imix and live results. 2 line changes. JIRA: VSPERF-598 Change-Id: I329b67114d780e0bcc73b128aeafe6e0f25b0621 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2019-03-29Collector: Add Multi-command collector.Sridhar K. N. Rao2-0/+155
This patch adds support to run following commands as 'collector' 1. collectd 2. PROX IRQ Latency 3. CROND (currently to collect ovs-port's CPU-mapping information) 4. Filebeat (send logs to elasticsearch) Fixed pylint issues Added description to control prox-runrapid. The use of 'stop' file. Added a print in print_results. JIRA: VSPERF-599 Change-Id: I583325ef14ddb0b292e8abddef1518d24b5e52d8 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2019-03-19Merge "pkt_gen: STC- Live Results Support"Sridhar Rao2-4/+132
2019-02-20pkt_gen: STC- Live Results SupportSridhar K. N. Rao2-4/+132
This patch adds live-results reporting from STC traffic generator. STC reports per-port stream results every second. The results are written to two different files in results folder. Added configuration filename for stc-liveresults JIRA: VSPERF-598 Change-Id: I37de6b5f544355e9e0dd42936328551b59afe065 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2019-02-20pkt_gen: T-Rex Live ResultsSridhar K. N. Rao1-1/+66
This patch add live-results from T-Rex TGen. T-Rex, when live-results enabled, will dump per-second flow-stats into the results-folder. Fixed few pylint issues. JIRA: VSPERF-524 Change-Id: I0caee49c5b34582bbcefbe217028e9e50d40da71 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2019-02-15Merge "pkt_gen: STC - Imix Genome Support"Sridhar Rao2-5/+50
2019-01-21pkt_gen: STC - Imix Genome SupportSridhar K. N. Rao2-5/+50
This patch adds Imix-Genome support to STC. 1. Imix, of type genome, is included in traffic configuration. 2. The genome is converted to appropriated weights and pkt-sizes. 3. Throughput test is run with imix-configuration. 4. genome configuration is added to results. 5. Added Reporting of Average-Frame-Size - if IMIX is configured. 6. Updated genome comments 7. Clarified the reference to RFC 6985. JIRA: VSPERF-521 Change-Id: I813efb66338ee1d1320a01ce5e0834180461120c Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2018-12-05loadgen: Affinitize Stressor-VM Threads.Sridhar K. N. Rao1-1/+40
This patch affinitizes stressor-vm threads. The code is reused from vnfs/qemu/qemu.py Change-Id: I4a525b133bf0799a06d0961379961cfcc89c357a Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
2018-11-03Results: Default latency-histrogram with Spirent TestCenterSridhar K. N. Rao2-5/+101
The patch adds support to provide Latency histogram from Spirent traffic generator. 1. 03_traffic.conf: Enable histogram, and set type (default) 2. testcenter.py: If histogram enabled, call the script with right flag. 3. testcenter-rfc2544-rest.py: configure and write histogram to a separte file in the default results folder. 4. Fix PyLint Errors 5. Adding a patch to test the 'build-error-fix'. Increased the MAX_MEMSEG of in DPDK-config to 1024 6. Adding MAX_MEMSEG configuration at common_base didn't work. 7. Included packet sizes in the output. 8. Included description under spirent TGen 9. Removed MAX_MEMSEG configuration. Change-Id: I7787c1768d7ac650f0ce581f17ec78df7a964e31 JIRA: VSPERF-522 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>