aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-07Cleanup unittests for test_attacker_baremetalEmma Foley1-33/+40
unused-arg check was re-enabled after being disabled at a file level. Changes were made so that the file conforms to our testing conventions. JIRA: YARDSTICK-1384 Change-Id: I27b41e79fd6e4e9fbefccf8b72c4a43926e25312 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-12-07Compatible with python2 and 3 string checkcope.li1-1/+2
JIRA:YARDSTICK-1557 Change-Id: I54ee4d6ef835e8e6ecd55cfa305151e842f88b03 Signed-off-by: cope.li <cope.li@huawei.com>
2018-12-07Fix value undefined error: "fetch_url_and_verify"Stepan Andrushko1-0/+1
Fix value undefined error in Yardstick internal ansible module “fetch_url_and_verify” in case http unreachable. JIRA: YARDSTICK-1527 Change-Id: Iea3c6c08291b74f6a4dbb715b00cbf14a5dcf00e Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-07Fix pylint warnings in fetch_url_and_verifyEmma Foley1-2/+4
Disable pylint checking in ansible module, to avoid unused-wildcard-import and wrong-import-position The wildcard import is required for ansile to be able to use the module. JIRA: YARDSTICK-1527 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Change-Id: Icc358555f59c8cc088f6f22e4fab8ee2205daff2
2018-12-07Merge "Add vBNG PPPoE test cases functionality"Abhijit Sinha9-27/+907
2018-12-07Merge "L3FWD Gradana Dashboards Out-of-date and incorrect"Abhijit Sinha3-1007/+12137
2018-12-07Merge "Update NSB PROX devguide"Abhijit Sinha10-118/+202
2018-12-07L3FWD Gradana Dashboards Out-of-date and incorrectDanielMartinBuckley3-1007/+12137
JIRA: Yardstick-1561 L3FWD-2 Port Grafana Dashboard does not work, and is missing NFVI stats and Live data. L3FWD-4 Port Grafana Dashbaord missing "Load Generated" and "Load Received" metrics Change-Id: I6802c993be6f6c93750fa5aa8e5c1652ca78dfce Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-12-07Add vBNG PPPoE test cases functionalitySerhiy Pshyk9-27/+907
Added vBNG PPPoE test cases functionality which allows to: - create and configure access network connections (PPPoE subscribers); - create and configure core network connections; - configure and run traffic between access and core network topologies. JIRA: YARDSTICK-1508 Change-Id: I90975505fe7318227a837d97e8db4a06712de7eb Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com> Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2018-12-06Merge "Add HTTP IxLoad test cases for agnostic VNF"Abhijit Sinha11-0/+6689
2018-12-06Merge "Add IOMMU to grub to support OVS/SRIOV SA contexts"Volodymyr Mytnyk5-34/+39
2018-12-06Fix pip environmentJohn O Loughlin1-1/+2
oslo.log==3.41.0 needs to be fixed for tox to pass JIRA: YARDSTICK-1560 Change-Id: I01d257e892aa835775456d8334f2c4358b120c08 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-12-04Merge "Adding scale up test case for l3fwd SRIOV."Volodymyr Mytnyk3-23/+154
2018-12-04Add HTTP IxLoad test cases for agnostic VNFSerhiy Pshyk11-0/+6689
New files added to support HTTP tests with IxLoad and AgnosticVNF - http traffic profile that is used in all HTTP IxLoad test cases - test case file for each type of HTTP test - IxLoad config file (rxf) for each type of HTTP test JIRA: YARDSTICK-1549 Change-Id: I5afe0b6bae1483dcb12c5ec145a4d6d7acc65ac2 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
2018-12-04Merge "Handle HTTP traffic profile parameters as optional"Volodymyr Mytnyk1-2/+6
2018-12-04Adding scale up test case for l3fwd SRIOV.Carey, Alan3-23/+154
Topology file changed as original did not work. Added 'standalone-args.yaml' file for context information/details JIRA: YARDSTICK-1547 Change-Id: I76dc782dac14db50dc8802f4f69cf077da0257a2 Signed-off-by: Carey, Alan <alan.carey@intel.com>
2018-12-03Merge "Adding scale up test case for l3fwd OvS-DPDK."Abhijit Sinha1-0/+107
2018-11-30Handle HTTP traffic profile parameters as optionalSerhiy Pshyk1-2/+6
JIRA: YARDSTICK-1548 Change-Id: I1130b33a1ab441a7a9ebf24beb954c9dab0ebc29 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
2018-11-30Merge "Add test suite for scenario "opnfv_os-ovn-nofeature-ha""Jing Lu1-0/+38
2018-11-29Merge "Distribute dpdk/vhostuser between CPUs for SA OVS"Volodymyr Mytnyk2-10/+32
2018-11-29Adding scale up test case for l3fwd OvS-DPDK.Carey, Alan1-0/+107
JIRA: YARDSTICK-1547 Change-Id: I5915c0e8df343e2c21396a9892d4728377e333bc Signed-off-by: Carey, Alan <alan.carey@intel.com>
2018-11-28[docs][glossary] Update the glossaryEmma Foley1-3/+57
Add some new terms (barometer, collectd, context, flavor, Grafana, InfluxDB, MPLS, NSB, runner, SampleVNF, scenario, testcase). JIRA: YARDSTICK-1335 Change-Id: I8ed1431e57eacde5c9bf20ae0f1fa09f4773eeba Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-11-28Merge "Prox L2FWD multiflow test fix"Abhijit Sinha2-23/+70
2018-11-28Prox L2FWD multiflow test fixAbhijit Sinha2-23/+70
Corrected the generator config file by adding the latency position validated the test case with it. JIRA: YARDSTICK-1530 Change-Id: I18dd1c7add8fc77bb59354fa96540ba8690057a4 Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2018-11-28Merge "Fix multiport/scale-out baremetal ansible scripts"Volodymyr Mytnyk16-37/+260
2018-11-28Addition of IRQ Mode to NSB NFVI (PROX)DanielMartinBuckley16-1/+25671
JIRA: YARDSTICK-1524 Add dashboard, Traffic Profile support, PROX IRQ support, topology Change-Id: I0c0cde66f4f4d3d25aa77c502bd4349cc1b3eca2 Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-11-28Merge "NSB NFVi PROX Should report realtime port activity not historical data"Abhijit Sinha6-105/+1004
2018-11-27NSB NFVi PROX Should report realtime port activity notDanielMartinBuckley6-105/+1004
historical data JIRA: YARDSTICK-1458 The TG is only sampled at the end of every test interval. This is incorrect. It should be sampled every interval. Change-Id: I612ead8a243a7d9930874d02adc9b959b843b99b Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-11-27Update NSB PROX devguideDanielMartinBuckley10-118/+202
JIRA: YARDSTICK-1241 Add latest updates about updated dashboard Added Information on Standalone mode (SRIOV and OVS-DPDK) Added Information on Override traffic profile in test file Added Information on new Grafana updates Added information NFVI metrics Change-Id: Ifcf55ac93d1c9f8c92f3d9dd7eb68d49a6117ffe Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-11-27Add option to allow user to pass vpe_scriptJohn O Loughlin6-7/+675
Add option to allow user to pass their own vpe_script vpe_script will be auto-generated by default. To use your own config file use the 'script' parameter in the config file vnf_config: { file: './vpe_config/vpe_config_2_ports', action_bulk_file: './vpe_config/action_bulk_512.txt', full_tm_profile_file: './vpe_config/full_tm_profile_10G.cfg', script_file: './vpe_config/vpe_script_sample } JIRA: YARDSTICK-1525 Change-Id: Ie23e5705f4c0475e858be73b8a504a7df8898828 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-11-27Docs for vPEJohn O Loughlin2-0/+30
JIRA: YARDSTICK-1529 Change-Id: I1a95bca8ff3713660874c395c6ad6525011ad8c6 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-11-23Add template and css for nsb reportPatrice Buriez2-0/+189
JIRA: YARDSTICK-1367 Topic: report/html_table (5 of 11) Change-Id: I7b8f2fa2aff3d5ee20ec23189acefe41452ad496 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-11-22Remove Django from requirements and update docsPatrice Buriez2-10/+11
Since ``yardstick report generate`` now uses Jinja2, there is no need for python-django, which was only being used for that command. Update docs accordingly, and provide links to InfluxDB, Jinja2 and Highcharts. JIRA: YARDSTICK-1367 Topic: report/html_table (3 of 11) Change-Id: I63ab03e0b57901f250920487760507062825d812 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-11-22Add parser to support jsTree in reportPatrice Buriez2-3/+133
Allow the user to select what data to show in the report using jsTree to navigate a hierarchical metrics list. JIRA: YARDSTICK-1367 Topic: report/html_table (4 of 11) Change-Id: I86d782a0a70b80a1cdfaab2f41afb7668066cbf7 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-11-22Generate report from a file instead of stringPatrice Buriez3-138/+138
``$ yardstick report generate ...`` now renders a template stored in a file instead of from an imported string Instead of using Django, templating is done by jinja2, as this is used in other parts of Yardstick. JIRA: YARDSTICK-1367 Topic: report/html_table (2 of 11) Change-Id: Iaff53e7e28903e46164ce0977f6b8adbe04d23d7 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-11-22Merge "Fix OvS-DPDK context mem allocation problem"Volodymyr Mytnyk2-6/+13
2018-11-22Merge "Fix hugepages calculation"Volodymyr Mytnyk1-1/+2
2018-11-22Fix OvS-DPDK context mem allocation problemMytnyk, Volodymyr2-6/+13
The hugepages allocated for OvS-DPDK context is not correct, thus it is causing an issue to allocate the required amount of memory for VM. JIRA: YARDSTICK-1538 Change-Id: I1a34199d4f78c999476603fa86d79ffc1fbf27c8 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-11-22Fix hugepages calculationMytnyk, Volodymyr1-1/+2
JIRA: YARDSTICK-1537 Change-Id: If4e78fe49c8b248c180d5a8db3932d822b9e5f95 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-11-21Update unit tests for yardstick/benchmark/core/report.pyPatrice Buriez2-50/+72
* Remove redundant imports * Rename some constants * Add additional unit tests * Reword KeyError message JIRA: YARDSTICK-1367 Topic: report/html_table (1 of 11) Change-Id: I3d89c1ed9acaeb7421a0734e33075ebae252c035 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-11-21Merge "Install barometer collectd container on all hosts"Volodymyr Mytnyk3-0/+58
2018-11-20Install barometer collectd container on all hostsChornyi, TarasX3-0/+58
nsb_install.sh script will now install docker and barometer collectd container on all baremetal hosts. JIRA: YARDSTICK-1510 Change-Id: I927f96ec2e11b2111b76217597054a6471189f29 Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
2018-11-20Merge "Make VM machine type as a user configuration"Volodymyr Mytnyk3-4/+44
2018-11-20Make VM machine type as a user configurationMytnyk, Volodymyr3-4/+44
For backward compatibility, the default value of this option has been left unchanged. JIRA: YARDSTICK-1528 Change-Id: I42ceca96501f1136cba27d85c2d82240bd45c10c Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-11-18Run testcase 074 result overridden by job statusAmeed Ashour1-2/+2
Change-Id: Icb24727fd7ca8a340ea424284b510b007055ec9c JIRA: YARDSTICK-1526 Signed-off-by: Ameed Ashour <Ameed.Ashour.Ext@nokia.com>
2018-11-15Create docker image for Ubuntu 18.04Stepan Andrushko3-3/+62
Added possibility to build docker image from Ubuntu 18.04, resolved package dependencies applied for both Ubuntu 16.04 and Ubuntu 18.04. Removed conflicting Ubuntu '-proposed' repo from dependencies as it should be used for testing purposes only. JIRA: YARDSTICK-1470 Change-Id: Ia1ed5c5ab6799bd328cc517e753e3b867ce4915a Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-11-15Modify install.yaml to support Ubuntu 18Stepan Andrushko10-25/+45
Modify install.yaml to be able to install Yardstick on the newest Ubuntu 18.04 LTS. Yardstick installation on Ubuntu 16 is still supported. Default version is Ubuntu 16.04 (xenial). JIRA: YARDSTICK-1413 Change-Id: Ic8aca0699645c68831ee739deeaeceef418075f5 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-11-14Merge "Remove unused functions vpe"Abhijit Sinha2-224/+0
2018-11-14Create vPE binary from dpdkJohn O Loughlin1-0/+15
Build and move the vPE binary from dpdk to nsb_bin JIRA: YARDSTICK-1473 Change-Id: I01c44fb375d200d990efd27e1f1717cd0e100bb0 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-11-14Remove unused functions vpeJohn O Loughlin2-224/+0
JIRA: YARDSTICK-1473 Change-Id: Ib9d3eb01f3fd900cbb08d55fc21fb95beceec941 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>