aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2021-11-12Docker: Forwarding Pods.Sridhar K. N. Rao18-41/+1309
This patch adds source file required to build 2 forwarding pods. 1. L2 and L3 Fowarding 2. VPP Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ibffea4ebe34a575d040778e45b6ba9e92af5e8b6
2021-11-10Minor Fixes.Sridhar K. N. Rao17-0/+0
This patch add multiple minor changes. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Ieda8af0b8145c1ffde6bfdb7a7394776b42df988
2021-11-05Merge "K8S: PROX and TREX containers."Sridhar Rao15-0/+899
2021-11-03K8S: PROX and TREX containers.Sridhar K. N. Rao15-0/+899
This patch adds source files to build prox and trex containers. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I9a26672bc4869e663e6afc64741dbb9ededbb832
2021-10-27Tools: Add Pod-Definition file for VineperfSridhar K. N. Rao1-0/+39
Reference pod definition file for vineperf is added. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I6164216074bdb905446f35e136c50410881b15a6
2021-10-16Add support for Calico, Cilium, Contiv-VPP and Danm in k8scluster deployment ↵Pawan Verma17-435/+770
scripts. This patch adds support for installing Calico, Cilium, Contiv-VPP and Danm in Kubernetes cluster deployment ansible scripts. Signed-off-by: Pawan Verma <pawanjbs5@gmail.com> Change-Id: Ib76620fa0f63dd58e8496bbf31baf515f697bcde
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