aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Collapse)AuthorFilesLines
2017-12-16samples: Add generic L3 forwarder testsDino Madarang64-0/+7134
A generic throughput test case that can be used as a stub code for a Linux-based VNF configured as an L3 forwarder. Supported context: * Standalone OVSDPDK and SRIOV * Baremetal Code changes: * Allow pmd-cpu-mask and lcore mask for OVS DPDK * router_vnf.py - configures interface IP addresses and static arp entries using ip command * NFVi KPIs * Allow cputune tag for standalone context to be able to PIN on NUMA 1 cpus SRIOV Test cases: * RFC2544 Ethernet framesizes, 128K Flows * 2,4 and 6 ports * 2 and 3 vcpus per port * OVSDPDK Test cases: * RFC2544 Ethernet framesizes, 128K Flows * 2 and 4 ports * 2 vcpus per port * 2 PMD threads per port TODO: * Documentation * Add 6 ports tests References: * router_vnf.py is based on sample_vnf.py * tc_*.yaml files are based on acl/vfw test case files Added unitests Added get_stats to parse ip -s link Change-Id: Id1b969d5420dfcab7c1e695acbd2cd1655747efe Signed-off-by: Dino Simeon Madarang <dinox.madarang@intel.com> Signed-off-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Reviewed-by: Alain Jebara <alain.jebara@intel.com> Reviewed-by: Deepak S <deepak.s@linux.intel.com> Reviewed-by: Emma Foley <emma.l.foley@intel.com> Reviewed-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> Reviewed-by: Ross Brattain <ross.b.brattain@intel.com> Reviewed-by: Edward MacGillivray <edward.s.macgillivray@intel.com> Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit 9bf492e01dad7309287e8491ec7ac29f43032aed)
2017-12-14Merge "NSB Prox BM test case fixes for scale up" into stable/euphratesRoss Brattain28-337/+99
2017-12-14Merge "Add vfw ixload testcase for heat" into stable/euphratesRoss Brattain7-11/+2953
2017-12-14Merge "NSB "Prox" : Cleanup duplicated traffic profile" into stable/euphratesRoss Brattain1-1/+1
2017-12-14Merge "NSB: update vfw tc_heat_external tests" into stable/euphratesRoss Brattain2-11/+107
2017-12-14NSB Prox BM test case fixes for scale upAbhijit Sinha28-337/+99
YARDSTICK-839 In a scale-up test the VNF number can start from 0 to MAX (num_vnf-1) The NSB PROX BM test nodes are currently marked as: tg__0: trafficgen_1.yardstick vnf__0: vnf.yardstick They need to be changed to the below: tg__0: tg_0.yardstick vnf__0: vnf_0.yardstick Changes done are: - All BM Prox test cases have tg_0 and vnf_0 as default test nodes - The prox-baremetal-1/2/4.yaml sample pod file - Cleaned Up some unused Prox test/config files Change-Id: I819011bcb35eda62b17dd3e1035918918c582b13 Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com> (cherry picked from commit 4b0bf9ea920b461b6464d0c6888b3b0bcc9a0004)
2017-12-14Merge "NSB Prox LW_AFTR Test" into stable/euphratesRoss Brattain6-0/+66112
2017-12-14Add vfw ixload testcase for heatJennifer Li7-11/+2953
- concurrency - connections/second - throughput Change-Id: Idb977462952fba2e6a9684e916dfeca810f1ee94 Signed-off-by: Jennifer Li <jennifer.li@intel.com> (cherry picked from commit 4e679598b82b5fe6931374452476b6d057868535)
2017-12-14NSB "Prox" : Cleanup duplicated traffic profileAbhijit Sinha1-1/+1
JIRA: YARDSTICK-848 The NSB PROX MPLS test uses Binsearch traffic profile and the mpls traffic profile is a duplicate. Change-Id: Ie2124cebf306fd6917b70ecd7c23ae12ef4850dc Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com> (cherry picked from commit 1b9cc8a38a4866797bd49d006e22607b348f42ac)
2017-12-14NSB: update vfw tc_heat_external testsRoss Brattain2-11/+107
rename xe0, xe1 to uplink_0, downlink_0 enumerate tgs/vnfs starting from 0. add disable_dhcp Change-Id: Ia4f08b3ad5ab298192c249d04b10a6efbe4f210e Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit b3a48eddc398c23523e379e6838160d456cf4368)
2017-12-14Merge "Adding vFirewall HTTP Traffic Profiles for tests including ↵Ross Brattain40-0/+73520
Concurrency, CPS, TPUT, TPS for 2Ports and 4Ports" into stable/euphrates
2017-12-14NSB Prox LW_AFTR TestDanielMartinBuckley6-0/+66112
JIRA: YARDSTICK-802 Addition of PROX LW_AFTR basked on PROX/DATS v037 test_104_lw_aftr.py - This support BM and Openstack Heat - This supports 4 Ports ONLY - Grafana Dashboards included - Code Coverage / Unit testing Change-Id: If2170ab458bf687256d5f1a1e840a3b9d2788ef7 Signed-off-by: Daniel MArtin Buckley <daniel.m.buckley@intel.com> Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com> (cherry picked from commit b9e394b2f0955c76f883021c4f65c136b80d9261)
2017-12-14Adding vFirewall HTTP Traffic Profiles for tests including Concurrency, CPS, ↵Phani Kiran Thaticharla40-0/+73520
TPUT, TPS for 2Ports and 4Ports Change-Id: I3c7f047dc6d1545093aed6f64ccaed9f90d85af3 Signed-off-by: Phani Kiran Thaticharla <phani.kiran.thaticharla@intel.com> Reviewed-by: Oscar Medina-Duran <oscar.medina-duran@intel.com> Reviewed-by: Deepak S <deepak.s@linux.intel.com> Reviewed-by: Ross Brattain <ross.b.brattain@intel.com>  (cherry picked from commit 61bf9771f05f0347f12617b7013b13d5fcb4981b)
2017-12-14Adding vFirewall HTTP Traffic Profiles.Phani Kiran Thaticharla6-1/+121
Modified http_locator location for 64K, 256K, 512K and 1024K concurrency files. The traffic profiles include various http locator image sizes i.e 4K,64K,256K,512K and 1024K The traffic schema is changed to "nsb" from "isb" for all the traffic profiles Change-Id: I012da8daaa880ca80db2d3b08cebd9a73c19cd47 Signed-off-by: Phani Kiran Thaticharla <phani.kiran.thaticharla@intel.com> Reviewed-by: Oscar Medina-Duran <oscar.medina-duran@intel.com> Reviewed-by: Deepak S <deepak.s@linux.intel.com> Reviewed-by: Ross Brattain <ross.b.brattain@intel.com>  (cherry picked from commit bb2da407193d6a5747cf15069d61cceb4c6bf1f7)
2017-11-10Merge "NSB: fix vpe_config license" into stable/euphratesRoss Brattain1-27/+10
2017-11-10Fixed incorrect Copyright NoticeDanielMartinBuckley1-27/+10
Changed Copyright notice on tuples.lua from "Intel Copyright" to Apache 2.0 Change-Id: I85e6f9eb86c116d552f86cddf05b3b368b32f776 Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com> (cherry picked from commit 204702db384241faffbf0848ad0bc63fa476b52d)
2017-11-10NSB: fix vpe_config licenseRoss Brattain1-27/+10
Use Apache 2.0 Change-Id: I199d09f04a5c84a25bd91dceba5e4ed1f93075f6 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit 3e62c0669b73fd5a4b4d0d7e7a214853b343574a)
2017-10-23BugFix: Fix to pod filename ext and prox pathAbhijit Sinha38-99/+99
As per defect: - the "context:" stanza of every tc_prox_baremetal*.yaml" file has an incorrect pathname for the config file - tc_prox_baremetal_binsearch.yaml and tc_prox_baremetal_ramp.yaml refer to "prox-baremetal.yml", which idoes not exist - incorrect prox bin path Resolution: - Unify the pod file name and path for all BM tests - Prox bin path changed to "/opt/nsb_bin/prox" Change-Id: I16b25189104ad5585ddc1c2c0dd71b3c4c2aecd3 Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com> (cherry picked from commit 2ebe6693b09a221de154a697ba24817a61e8548d)
2017-10-20Add missing RFC2544 Ethernet frame sizesDino Madarang1-0/+8
RFC2544 tests should include the following frame sizes: 9.1 Frame sizes to be used on Ethernet 64, 128, 256, 512, 1024, 1280, 1518 Change-Id: I6ab9cccf2bb3b2678f50da157a9a49c0d9564cbd Signed-off-by: Dino Simeon Madarang <dinox.madarang@intel.com> Reviewed-by: Alain Jebara <alain.jebara@intel.com> Reviewed-by: Deepak S <deepak.s@linux.intel.com> Reviewed-by: Ross Brattain <ross.b.brattain@intel.com> Reviewed-by: Edward MacGillivray <edward.s.macgillivray@intel.com> (cherry picked from commit 7046a9139a60e0bc3e65f5dc6dcb8e6999528136)
2017-10-19Merge "tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updated" into ↵Ross Brattain1-16/+26
stable/euphrates
2017-10-19tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml updatedRoss Brattain1-16/+26
Change-Id: Ie9cee3e0567e771cbf11a9802bd33a420cc1ee7a Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit 041aeb7d3505e98af5b167a5ee05bb72c3c87a26)
2017-10-19NSB: update vfw scale-out testcasesRoss Brattain7-33/+548
Change-Id: I6bd8a87f70954f288975e3e73e3cfbd36ae561dc Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit 39ead7aee3610dddbdeae33a5776ae5b98dfabea)
2017-10-19add CheckConnectivity scenarioJingLu51-0/+31
Change-Id: I9d246828790467c2a57ba410826ee9751fff89c5 Signed-off-by: JingLu5 <lvjing5@huawei.com> (cherry picked from commit 4712d72a570dc9e2799227d489ee41768881a06d)
2017-10-19Merge changes from topic 'euphrates-sync-2017-10-18' into stable/euphratesRoss Brattain28-0/+5441
* changes: tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indent Hamonization of the titles of the documents (Testing group) scale-out testcase template
2017-10-19Merge "add VNF scale-up template" into stable/euphratesRoss Brattain1-0/+98
2017-10-19add VNF scale-up templateRoss Brattain1-0/+98
adjust worker_threads based on number of vcpus Change-Id: Ie5444a64c15711a0e813905c69581f189432fe0b Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit bc6c77102684f69bccdce8509723e00ef38c69cf)
2017-10-18tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_2: fix indentRoss Brattain1-8/+8
bad YAML indent Change-Id: I6aaf53b9bbf6005b6be4c2d6c69cefd41949f8c6 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-18scale-out testcase templateRoss Brattain28-0/+5441
use anonymous flavors force num_vnfs to int added provider network examples we have to disable port security for provider networks removed vld_id, not needed adjust num_vfs to allocate two physnets per VNF. fix for multiports Change-Id: Ic4c8314dc07f6295b9559188989d81058bb48eb0 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-18Enable static cgnapt functionality.Deepak S1-2/+2
Change-Id: Ie770ca69ebdc66589ed6ca5c25bfc9a75afb8938 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-18BugFix: Fix to Load Balancer - Previously Dropped packets was acceptableDanielMartinBuckley1-1/+1
Dropped packets were tolerated. Now no longer tolerated (except 0.01%) Change-Id: I69d4f1a84d82e03a091a61419fa05fea13176c1c Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2017-10-18Adding sample multi-port ansible scriptDeepak S18-0/+966
- trex - ixia - ixia correlated Change-Id: I7d1414227c27c2bb03454eac94592e07c434f070 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-18fix invalid chracters in ansible scriptsDeepak S8-8/+85
Change-Id: I3d1a491e4c0f0554a861d9bb24fbd0ac94835759 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-18Update the traffic profile to support sample multi-portDeepak S5-0/+62
Change-Id: Iaf8b3e0aa3855443b0628573a1df98d177f27c76 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-17NSB: rename private->uplink, public->downlink in exampleRoss Brattain1-2/+2
Change-Id: Ieb8943a432a59375b7e68a708666ad4caa4affd2 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-13Move arp route tbl to script and update defailt vnf config filesDeepak S5-128/+2
Change-Id: I8674caa15c9fc32cfacb17f558da5fb31094877e Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-13cgnat: duplicate keys are not allowedRoss Brattain1-2/+0
the current ConfigParser does not handle duplicate keys in ini files. Change-Id: Iaafbbab740a809a59edfd93c84d0029ef10ac6f3 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-13Bug in NSB Prox ACL Test 4 PortDanielMartinBuckley1-1/+1
JIRA: YARDSTICK-802 Generator was incorrectly configured to generated traffic for p0, p1 (twice), and p3 Should be p0, p1, p2 and p3 Change-Id: Ib62a3c6523b1eda635b8c727c36e140fd480003e Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2017-10-13private-> uplink and public->downlinkDeepak S60-129/+135
changing private and public to new uplink/downlink name Change-Id: I8c3f582ba5592418a397e2500e0b998c3eed54f2 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-10NSB Prox vPE TestAbhijit Sinha10-0/+4953
JIRA: YARDSTICK-802 Addition of Prox vPE test case - The tests supports BM, Openstack Heat - Supports 4 ports - Grafana dashboards included - Added support for parameters.lua for prox additional files - Unit tests for code coverage Change-Id: I5cccb351dacba88a293ae4b8aba1f0a803d62e6d Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com> Signed-off-by: Daniel MArtin Buckley <daniel.m.buckley@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-06NSB Prox minor refactor of BNGAbhijit Sinha1-1/+1
JIRA: YARDSTICK-802 - Updated the BNG code with minor refactor. - Corrected the CPE core name - Update binsearch traffic profile with 64B Change-Id: Iae0be766edb986520045655fa567651711813a8b Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2017-10-06Added example TC with collectd on compute nodeMaciej Skrocki2-9/+92
To be used with yardstick/etc/yardstick/nodes/pod.yaml.collectd.sample Change-Id: I6eff4f6adf57596e06c685ab87b83699696ad7b6 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-10-06Adding sample testcases to run on standalone contextDeepak S18-0/+1512
- vFW - vCGNAPT - vACL - UDP Replay - vPE (Only OVS supported) Change-Id: Idbc4d1d6bc1283e40d2fcb9457a871a9198ad147 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-06Adding auto generate scale-out support for correlated trafficDeepak S9-0/+778
Change-Id: I2755b596068545c1a3a672ceff47d814a44ae050 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-06Adding 2 node ixia generic scale-out test case generationDeepak S13-0/+963
Change-Id: I7da2d5bcd7c58c669e28a7271e4c6848c003e84a Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-06Adding scale out templates for ovs_dpdk/sriov using 2 node setupDeepak S13-0/+1004
2 - node setup: - Traffic generator starts new stream on both uplink and downlink This patch addes amsible scripts to enable scale_out testcases - vfw Change-Id: I0340636bce3e74cd6175f728b9e7e014a4eb2fd5 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-03Optimize Core usage for the sampleVNFsDeepak S1-1/+2
Change-Id: I80aa7e796b9ca4c4881c78310860e293a4a75560 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-03Prox L3FWD 2-port test fixAbhijit Sinha1-5/+0
JIRA: YARDSTICK-802 Updated the handle config for l3fwd 2 port test The tx and rx descripters is removed as they were not there in original DATS config. The BM test was dropping packets beacuse of this. Change-Id: I40d113267cbb3376a772b5a5aaecf74bea9d06fb Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
2017-10-02Adding example testcase to enable multiport support for httpDeepak S5-118/+2582
Change-Id: I780aa3ea6b04df08baffb5ee5beff66bdc37f37e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-30Auto create ixia config based on the traffic profileDeepak S7-233/+30
Change-Id: I031cc7f24f0c0816eb577a4d1606a714f68a5f83 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-30Adjusted IPs in some prox tests.Maciej Skrocki2-4/+4
Change-Id: Iff39fa5b90d1ae5534ce1fff31dfb84c1e47340c Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>