aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Additional rework of NSB reportPatrice Buriez6-145/+129
- Make format_for_jstree expect a list of metric names - Avoid displaying timestamps twice in initial data table - Sort metrics in initial data table - Display testcase name - Fix styling - Make better use of JS and jQuery features - Move event handler to JS file - Avoid adding multiple tbody elements into data table - Adjust unit tests and functional tests accordingly JIRA: YARDSTICK-1367 Topic: report/html_table (12 of 12) Change-Id: I85d853f8e392953cace67e94fa0af2e2492a2b86 Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-21Only show metrics for selected nodes in data tablePatrice Buriez3-4/+47
Together with timestamps, separately added into the table. Optimize the showcasing of graphs and table. JIRA: YARDSTICK-1367 Topic: report/html_table (11 of 12) Change-Id: I263960b059fd27409b36f825664da8c2804e0425 Signed-off-by: Shobhi Jain <shobhi.jain@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-21Fix conversion to JS for HTML reportsPatrice Buriez2-47/+159
Some new fields in InfluxDB have plain text contents that AST cannot parse as valid expressions, resulting in exceptions being raised by yardstick CLI commands "report generate" and "report generate-nsb". Reworked _generate_common() to properly handle and convert: - unicode, str and missing keys - None, unicode, str, float, long and int values - float, long and int stored as unicode or str values Added test__generate_common() unit test, to verify all possible conversion flavors. Also renamed incorrect "tasks" to "metrics". Also fixed warning in Python3 for some unit tests, caused by deprecation of unittest.TestCase.assertRaisesRegexp(). JIRA: YARDSTICK-1367 Topic: report/html_table (10 of 12) Change-Id: Iff75bfd2c1dcaf3806f67f52f0ea594f10aceb5b Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-21Add functional tests for HTML reportPatrice Buriez2-0/+100
JIRA: YARDSTICK-1367 Topic: report/html_table (9 of 12) Change-Id: I987203c4b3f49fb0f205e9b4c71bcbf4618041a0 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-20Merge "Remove duplicated Firewall Concurrency testcases"Volodymyr Mytnyk20-18810/+0
2018-12-20Merge "NSB installation fails at Yardstick GUI Ubuntu 18"Volodymyr Mytnyk1-0/+3
2018-12-20Merge "Addition of IRQ Mode to NSB NFVI (PROX)"Abhijit Sinha16-1/+25671
2018-12-19Add report generate-nsb commandPatrice Buriez4-48/+116
JIRA: YARDSTICK-1367 Topic: report/html_table (8 of 12) Change-Id: I8a2f96224a745334b67dd71875bebb3b69b9adc3 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-19Merge "Extend ixnet api"Volodymyr Mytnyk2-0/+65
2018-12-19Merge "Add JS file to NSB report template"Volodymyr Mytnyk2-120/+159
2018-12-19Merge "Use Chart.js for graphs in HTML reports"Volodymyr Mytnyk5-107/+196
2018-12-19Extend ixnet apiChornyi, TarasX2-0/+65
Add protocol interface creation. Add static protocols ipv4 configuration. JIRA: YARDSTICK-1566 Change-Id: I484d212873ce7e638626053baaf6a972a6ef9f69 Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
2018-12-19Add JS file to NSB report templatePatrice Buriez2-120/+159
Moved function definitions into separate nsb_report.js file for ease of editing, while keeping generated HTML reports self-contained, for storage and publishing purposes. JIRA: YARDSTICK-1367 Topic: report/html_table (7 of 12) Change-Id: I3b3cf8aae8425b486a711a76f4bb2bf8d7fe5ab5 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-19Use Chart.js for graphs in HTML reportsPatrice Buriez5-107/+196
This JavaScript library is available under MIT license. Also adjusted version for jQuery and jsTree, and added fallback font-family names. JIRA: YARDSTICK-1367 Topic: report/html_table (6 of 12) Change-Id: Ibe8b7e3d1f1365d2cbc019bfc22762aaa365a4e1 Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-12-18Remove .rst extension in the list of TCMytnyk, Volodymyr1-3/+3
YARDSTICK-1540 Change-Id: I8418754a34bd3e543db85dadf8386c928eee771c Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-12-17Merge "[docs] Update influxDB container setup"Abhijit Sinha1-2/+2
2018-12-17Merge "Cleanup unittests for test_attacker_baremetal"Abhijit Sinha1-33/+40
2018-12-17Merge "Extend vBNG PPPoE test cases functionality"Volodymyr Mytnyk9-111/+821
2018-12-17Merge "Add vFW TCs description"Emma Foley4-0/+455
2018-12-17NSB installation fails at Yardstick GUI Ubuntu 18Stepan Andrushko1-0/+3
Changed a configuration parameter in 'gui/package.json' file to be able to install Yardstick GUI on Ubuntu 18. JIRA: YARDSTICK-1569 Change-Id: I9fbc37fa689c443d56e2f81c6221b5e8ce2271c0 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-17Merge "Add support for configuring frame rate per traffic flow for IXIA"Volodymyr Mytnyk3-10/+16
2018-12-17Merge "Update#2: Trex KPI not collected no rabbitmq user"Volodymyr Mytnyk5-42/+22
2018-12-15Merge "Yardstick Gambia 7.1.0 release notes"Rex Lee1-42/+22
2018-12-14Merge "Add raise for iteration exception in IterationRunner"Rex Lee2-0/+46
2018-12-13Add support for configuring frame rate per traffic flow for IXIASerhiy Pshyk3-10/+16
Frame rate can be configured per traffic profile and per traffic flow. By default traffic profile is applied to all traffic flows. If per flow rate is specified it overrides default value from profile. JIRA: YARDSTICK-1568 Change-Id: I388ed78869358de17d6485be0cd0d058983390e2 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com> Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2018-12-13Update#2: Trex KPI not collected no rabbitmq userStepan Andrushko5-42/+22
Changed the way how rabbitmq user is created. For baremetal it is done using NSB installation script. For Yardstick installed in container supervisor is updated with user name/password. JIRA: YARDSTICK-1479 Change-Id: I4f42ab8d5ef1735b0416ed26d04e259efa155543 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-13Add raise for iteration exception in IterationRunnercope.li2-0/+46
When we run the testcase, if there was a exception in iteration _work_process, the process will still run on ,and the test result will not affected by the exception. JIRA: YARDSTICK-1555 Change-Id: I03803c0473015379bb0eb20ed7d474a2d923a4e3 Signed-off-by: cope.li <cope.li@huawei.com>
2018-12-13Rework network_services/vnf_generic/vnf/test_sample_vnf.py:TestVnfSshHelperEmma Foley1-51/+54
JIRA: YARDSTICK-1434 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Change-Id: Ieabcdf401d608a3a5f0a0bd9fbbe754591878bd5
2018-12-13[docs] Update influxDB container setupEmma Foley1-2/+2
JIRA: YARDSTICK-1335 Change-Id: I87b95d686f2d7ad204076845505b2fb6d502dedc Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-12-13Yardstick Gambia 7.1.0 release notesrexlee87761-42/+22
Change-Id: I25ee28d62f43a3e2edaaad49762fdf3ce603dac8 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-12-12Ubuntu 18 support for nsb_setup.yml flowStepan Andrushko3-3/+12
Added Ubuntu 18 support to nsb_setup.yml flow: playbook build_yardstick_image.yml. Resolved dependencies between sample VNF and npm installation. JIRA: YARDSTICK-1567 Change-Id: Ie4012687af7cf1fc374c226325f2c71cd6017275 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-12Merge "Don't add IOMMU to grub when it is not bare metal"Volodymyr Mytnyk1-46/+48
2018-12-12Remove duplicated Firewall Concurrency testcasesJohn O Loughlin20-18810/+0
These tests are duplicated in vFW and thus invalid JIRA: YARDSTICK-1564 Change-Id: Idd7797a702fbe023213e500919bf3c46faac27ea Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-12-12Don't add IOMMU to grub when it is not bare metalStepan Andrushko1-46/+48
Fix needed when running 'enable_iommu_on_boot' ansible role inside the VM where 'ansible_system_vendor' is neither 'AuthenticAMD' nor 'Intel Corporation'. JIRA: YARDSTICK-1469 Change-Id: I37e399fd892d1ec41239632948758284ccbe98ac Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-12-12Merge "Create docker image for Ubuntu 18.04"Volodymyr Mytnyk3-3/+62
2018-12-12Merge "Modify install.yaml to support Ubuntu 18"Volodymyr Mytnyk10-25/+45
2018-12-11Extend vBNG PPPoE test cases functionalityOleksandr Naumets9-111/+821
Extended Ixia traffic generator with functionality to create traffic flows between device groups. JIRA: YARDSTICK-1521 Change-Id: Iaaa822f2f3da876629576d4101be29c9a65296d0 Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2018-12-11Pass the path of ssh public key to scenario methodcope.li1-1/+3
In our testcase, we need the key_file for our VM login. JIRA:YARDSTICK-1558 Change-Id: If99704c4f91c87d79e156f2dd73795a059b7ce6c Signed-off-by: cope.li <cope.li@huawei.com>
2018-12-11Merge "Add option to allow user to pass vpe_script"Volodymyr Mytnyk6-7/+675
2018-12-11Add vFW TCs descriptionMytnyk, Volodymyr4-0/+455
JIRA: YARDSTICK-1540 Change-Id: Ia5657f2b04dafe010812a3ad8d0bdb89de67ca7e Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-12-11Merge "Fix value undefined error: "fetch_url_and_verify""Volodymyr Mytnyk1-0/+1
2018-12-11Merge "Fix pylint warnings in fetch_url_and_verify"Volodymyr Mytnyk1-2/+4
2018-12-10Merge "Docs for vPE"Abhijit Sinha2-0/+30
2018-12-07Add PROX TC into OPNFV test casesMytnyk1-0/+94
JIRA: YARDSTICK-1562 Change-Id: I81b5429c8afebb5af70547e9781518845ce6ccff Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
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