aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/network_services
AgeCommit message (Collapse)AuthorFilesLines
2019-04-15Rework TestSampleVNFTrafficGenEmma Foley1-255/+35
Update network_services/vnf_generic/vnf/test_sample_vnf.py JIRA: YARDSTICK-1434 Change-Id: Iead085c2642a6960fdbff6905e55974fd8bd4fb2 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-04-10Rework TestSampleVnfEmma Foley1-142/+112
Update network_services/vnf_generic/vnf/test_sample_vnf.py JIRA: YARDSTICK-1434 Change-Id: I193068893664e7ed1a2487b51750d34d5c256e6c Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-04-08Merge "Fix UDPReplay VNF statistic parsing"Volodymyr Mytnyk1-3/+3
2019-04-08Merge "Add sipp trafficgen based SampleVNFTrafficGen"Volodymyr Mytnyk2-0/+532
2019-04-05Fix UDPReplay VNF statistic parsingMytnyk, Volodymyr1-3/+3
Fixed UDPReplay statistic parsing according to changes made in UDPReplay sample VNF. JIRA: YARDSTICK-1609 Change-Id: I093f6612cc736695fa96f15dce374c949d8c3459 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2019-04-05Add sipp trafficgen based SampleVNFTrafficGentreyad2-0/+532
This patch defines: - Generic VNF APIs to test Network service: --> instantiate: prepare the arguments for run sipp --> run_traffic: run sipp test and handle the result file --> collect_kpi: collect results and push to queue --> terminate JIRA: YARDSTICK-1446 Change-Id: I7f6b7dd253164bb5c359ac866cb8cae81f504d65 Signed-off-by: treyad <treyad@viosoft.com>
2019-04-01Merge "Support bind driver for QAT HW cards"Volodymyr Mytnyk2-0/+161
2019-03-29Support bind driver for QAT HW cardstreyad2-0/+161
Load QAT driver Initialize QAT VFs JIRA: YARDSTICK-1504 Change-Id: I1f3768d5436bfaccac5f6226ba19131c4662a08d Signed-off-by: treyad <treyad@viosoft.com>
2019-03-29Merge "Support FD.io Multiple Loss Ratio search (MLRsearch)"Volodymyr Mytnyk6-3/+2473
2019-03-29Merge "Setup IPSEC tunnel mode for VPP Crypto testing"Volodymyr Mytnyk2-39/+1462
2019-03-29Merge "Build VPP startup configuration file"Volodymyr Mytnyk3-8/+708
2019-03-29Merge "Add Pktgen traffic generator for vCMTS"Volodymyr Mytnyk1-0/+652
2019-03-27Setup IPSEC tunnel mode for VPP Crypto testingtreyad2-39/+1462
Update startup config file Enable logging Create IPSEC in tunnel mode JIRA: YARDSTICK-1503 Change-Id: Ifd2b05c063870b31c7f30decb1611a93322bf1e8 Signed-off-by: treyad <treyad@viosoft.com>
2019-03-27Build VPP startup configuration filetreyad3-8/+708
Provided configuration parameters into /etc/vpp/startup.conf JIRA: YARDSTICK-1502 Change-Id: Ib64908a2975a13a1cecd2e6bd7232071628ad431 Signed-off-by: treyad <treyad@viosoft.com>
2019-03-27Support FD.io Multiple Loss Ratio search (MLRsearch)treyad6-3/+2473
Optimized binary search algorithm for finding NDR and PDR bounds JIRA: YARDSTICK-1486 Change-Id: Iba0e6c7065b61f7b7f3f65cceca509d1aaff8366 Signed-off-by: treyad <treyad@viosoft.com>
2019-03-22Add vCMTS VNF for running vCMTSd containerstreyad1-0/+651
Add a SampleVNF derived class to start vcmtsd JIRA: YARDSTICK-1544 Change-Id: Ifafa43216a6bdd076ef1cbe5b722f4a39a97980b Signed-off-by: treyad <treyad@viosoft.com>
2019-03-22Add Pktgen traffic generator for vCMTStreyad1-0/+652
Add a class for Pktgen configuring and starting JIRA: YARDSTICK-1543 Change-Id: Icf9a4e656ff340158bf5605016f75ed393753f89 Signed-off-by: treyad <treyad@viosoft.com>
2019-03-15Merge "Add PCSCF, HSS classes for NSB-vIMS"Volodymyr Mytnyk1-0/+713
2019-03-15Add PCSCF, HSS classes for NSB-vIMStreyad1-0/+713
Currently, these VNF life cycles are: - instantiate - terminate Pass through function: collect_kpi JIRA: YARDSTICK-1444 JIRA: YARDSTICK-1445 Change-Id: I418877f79b6578ad4d78d7de4885c8aa20246beb Signed-off-by: treyad <treyad@viosoft.com>
2019-03-13Merge "Add vIPSEC VNF for running Crypto performance test case"Volodymyr Mytnyk3-0/+1684
2019-03-07Merge "Add Trex traffic generator to initate Traffic for VPP IPSEC"Volodymyr Mytnyk1-0/+1130
2019-02-25Merge "Add VPP traffic profiles for TRex traffic generator"Volodymyr Mytnyk1-0/+819
2019-02-22Add Trex traffic generator to initate Traffic for VPP IPSECtreyad1-0/+1130
Send the traffic Measure NDR or PDR throughputs Measure packet loss and latency of VNFs JIRA: YARDSTICK-1483 Change-Id: Ie844c0b786bfe1ca3efafdb56d8e473e6ad59cc9 Signed-off-by: treyad <treyad@viosoft.com>
2019-02-21Add vIPSEC VNF for running Crypto performance test casetreyad3-0/+1684
VNF life cycle - instantiate - collect_kpi - terminate JIRA: YARDSTICK-1484 Change-Id: I39fd24fdadbce6cee161c906fc95c16a36cb7cd8 Signed-off-by: treyad <treyad@viosoft.com>
2019-02-21Unify TG and VNF names in infrastructure filesOrest Voznyy1-3/+3
Update naming in related files, i.e. pod, docs, docstrings. Rename TGs and VNFs to follow a single naming convention, for all VNFs: name: trafficgen_0 role: tg__0 name: vnf_0 role: vnf__0 JIRA: YARDSTICK-1578 Change-Id: I7596b915939f242349a99721b6088ae738dd277f Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
2019-02-19Unify IXIA/Trex test cases resultsSerhiy Pshyk3-219/+200
List of changes: - Unified naming of all counters reported by IXIA/Trex - Removed not valid counters reported by IXIA - Added per interface stats reported by Trex - Fixed latency calculation for Trex tg JIRA: YARDSTICK-1592 Change-Id: Ia3d450058f884579f4d331772a8cf6de22146ac3 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
2019-02-14Merge "Extend TRex RFC2544 test case collected stats"Volodymyr Mytnyk4-39/+50
2019-02-12Add VPP traffic profiles for TRex traffic generatortreyad1-0/+819
Create traffic streams dynamically for VPP test, based on traffic profiles JIRA: YARDSTICK-1485 Change-Id: I9fe8575ef6527823b86214c3d7752486c79dee73 Signed-off-by: treyad <treyad@viosoft.com>
2019-02-12Generate correct IMIX distribution for STL profiletreyad1-8/+8
JIRA: YARDSTICK-1599 Change-Id: I654644d7944d0af41d8da12cc002f31fcfecf62e Signed-off-by: treyad <treyad@viosoft.com>
2019-02-12Extend TRex RFC2544 test case collected statsOleksandr Naumets4-39/+50
Added new fields into Yardstick NSB TRex RFC2544 test case results: - Iteration - PktSize - Status JIRA: YARDSTICK-1592 Change-Id: Id746b537a0ef55a891653719cc1db29ef7e994fc Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2019-02-12Merge changes from topic 'YARDSTICK-1116'Volodymyr Mytnyk1-465/+292
* changes: Rework TestScenarioHelper Rework TestSampleVNFDeployHelper Rework TestResourceHelper Rework TestDpdkVnfSetupEnvHelper
2019-02-11Merge "Add IXIA Tx/Rx Bytes stats into results"Volodymyr Mytnyk3-0/+58
2019-02-08Merge "Fix QnQ issue"Volodymyr Mytnyk2-5/+105
2019-02-08Add IXIA Tx/Rx Bytes stats into resultsOleksandr Naumets3-0/+58
Add IXIA "Bytes Rx" and "Bytes Tx" ports stats into collected results. This stats allows to calculate the throughput when running IMIX traffic. JIRA: YARDSTICK-1592 Change-Id: I1db678d410b37e7a0f64dc743e6e620e495115ed Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2019-02-08Migrate Trex TG to use new NSPerf-RFC2544 scenarioMytnyk, Volodymyr1-1/+1
JIRA: YARDSTICK-1592 Change-Id: Ic51a52385ac53df9b5f56387af4f1b661bb0d86f Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2019-02-07Rework TestScenarioHelperEmma Foley1-22/+18
Update network_services/vnf_generic/vnf/test_sample_vnf.py JIRA: YARDSTICK-1434 Change-Id: I1bbf2bc139f3302d9882b28f9883e64fa595eb46 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-02-07Rework TestSampleVNFDeployHelperEmma Foley1-44/+41
Update network_services/vnf_generic/vnf/test_sample_vnf.py JIRA: YARDSTICK-1434 Change-Id: Ib15e37987ec336f611b27ea71cbc3005311e5d27 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-02-07Rework TestResourceHelperEmma Foley1-181/+121
Update network_services/vnf_generic/vnf/test_sample_vnf.py JIRA: YARDSTICK-1434 Change-Id: I56e14a2557554e1c461447f0567b5e028198b553 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-02-07Rework TestDpdkVnfSetupEnvHelperEmma Foley1-220/+114
Update network_services/vnf_generic/vnf/test_sample_vnf.py JIRA: YARDSTICK-1434 Change-Id: I5b3ef90909949882cec1c32b1f86c3aedbc950d8 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-02-07Update Intel Copyright for files edited in 2019John O Loughlin24-24/+24
JIRA: YARDSTICK-1591 Change-Id: I3ea9039d25bfce578681adb9e27e1598e84a1f56 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2019-02-07Merge "Extend IXIA RFC2544 test case collected stats"Volodymyr Mytnyk2-3/+59
2019-02-06Merge "Mock time.sleep in slow tests"Volodymyr Mytnyk4-4/+14
2019-02-06Extend IXIA RFC2544 test case collected statsOleksandr Naumets2-3/+59
Added new fields into Yardstick NSB IXIA RFC2544 test case results: - Iteration (only for NSPerf-RFC2544 scenario) - Rate (for NSPerf and NSPerf-RFC2544 scenarios) - PktSize (for NSPerf and NSPerf-RFC2544 scenarios) JIRA: YARDSTICK-1596 Change-Id: I3bbf4aabf8b57580ebe644e967a5dab69e3a7c8d Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2019-02-05Fix QnQ issueJohn O Loughlin2-5/+105
Currently if multiple tests are run with a QnQ section defined the QnQ segment gets appended to the frame. This leads to invalid frames when the test is run for more than 1 iteration. With this patch the QnQ is updated if the QnQ segment has already been created. JIRA: YARDSTICK-1513 Change-Id: I4ba6ef89380ccf1cb8a132ff5bf048935a87f0c9 Signed-off-by: John O Loughlin <john.oloughlin@intel.com> Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2019-02-01Add vBNG test cases stats processing functionalityOleksandr Naumets3-28/+509
JIRA: YARDSTICK-1546 Change-Id: I3575223ef8231fb4d574e961360b0f2d90a71749 Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
2019-02-01Refactor SampleVNF wait methodMytnyk, Volodymyr1-0/+34
JIRA: YARDSTICK-1439 Change-Id: I26441fe1f6e34a867c1f19d60d2247e888af6c54 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2019-01-31Add rate 'resolution' option for IXIA rfc2544 testSerhiy Pshyk1-5/+45
Rate resolution value is compared with the difference between the rates in two consecutive iterations. If the difference is smaller than the resolution, the test stops. JIRA: YYARDSTICK-1592 Change-Id: I3f203d33d1688734a59a8f62f31e3ad238bc63b0 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
2019-01-31Merge "Fix exception handling ixload"Volodymyr Mytnyk1-6/+5
2019-01-31Mock time.sleep in slow testsEmma Foley4-4/+14
time.sleep was called in a number of classes which wasn't mocked in the tests. This accounted for 2.5 minutes of UT execution time. The calls to time.sleep() have been mocked, and the test execution time has been reduced. JIRA: YARDSTICK-1595 Change-Id: I0a4f4962513cf8845471b074347601e33b35ef25 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2019-01-31Fix exception handling ixloadJohn O Loughlin1-6/+5
Ixload uses its own version of python By default it will fail to import yardstick.common exceptions. For this reason for this reason ixload exceptions should be kept in http_ixload.py JIRA: YARDSTICK-1587 Change-Id: I5673fb5b89bbcdf4d3c60c283231d44d770999ec Signed-off-by: John O Loughlin <john.oloughlin@intel.com>