aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/nsut/vfw
AgeCommit message (Collapse)AuthorFilesLines
2018-06-22Merge "Configure ACL via static file"Abhijit Sinha1-34/+26
2018-06-21Configure ACL via static fileMytnyk, Volodymyr1-34/+26
This patch allows user to configure ACL/vFW SampleVNF ACL via configuration file provided in TC definition. The Yardstick applies the rules to SampleVNF from specified config file + rules generated by Yardstick (default rules). The example of SampleVNF ACL CLI commands generated/applied by Yardstick can be found at (using default ACL config file): ACL VNF ACL CLI commands: acl/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml http://paste.openstack.org/show/723303/ vFW VNF ACL CLI commands: vfw/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml http://paste.openstack.org/show/723304/ Change-Id: I76a630261a982083b628e3985fc3bec14ca495db Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-05-25Add scale out TCs with availability zone supportMytnyk, Volodymyr2-0/+167
Add PROX and vFW scale out TCs with availability zone configuration. To be able to specify the availability zone for specific VNF or TG the following example of command line option shoud be used: yardstick -d task start --task-args='{ "num_vnfs": 2, "availability_zone": { "vnf_0": "az_0", "tg_0": "az_0", "vnf_1": "az_1", "tg_1": "az_1", ... }}' <SCALE-OUT-TC-FILE> The steps to run new scale-out TCs is documented in the userguide. JIRA: YARDSTICK-1203 Change-Id: Ib3878485c5483981fe9b48ab02995712bcc31ae5 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-03-01vFW scale-up template.Mytnyk, Volodymyr7-0/+400
Added topology and traffic profile templates Added support for using JinJa2 templates in topology definition Added support for static pipeline configs for SampleVNFs JIRA: YARDSTICK-1043 Change-Id: Iab99fd5b5ad69ca32ee70b9fe47779387ad27e7f Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com> Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-02-19Make segmentation_id configurable for tc_heat_rfc2544_ipv4_1rule_1flow_64B_trexMytnyk, Volodymyr1-0/+7
Updated vfw/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml TC to be able to configure segmentation_id from commmand line. E.g.: yardstick -d task start --task-args='{"provider": "sriov", \ "segmentation_id": 100}' ... JIRA: YARDSTICK-1004 Change-Id: I53daae3468de2a1f523bd96817143a5f809238a2 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-02-14Update heat RFC2544 based TC to support SRIOV VF ports.Mytnyk, Volodymyr1-0/+11
Updated vfw/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml TC to be able to run it in heat context with SRIOV VF ports configured in OpenStack. E.g.: yardstick task start --task-args='{"provider": "sriov"}' ... yardstick task start --task-args='{"provider": "sriov"}\ physical_networks: ["physnet1", "physnet2"]}' ... Console log: http://paste.openstack.org/show/666931/ Result output: http://paste.openstack.org/show/666930/ JIRA: YARDSTICK-1004 Change-Id: If0dabd0791e4e295782fee0f3de1536474218876 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-01-30Add sample OpenStack/SRIOV RFC2544 based TCMytnyk, Volodymyr1-0/+88
Add sample OpenStack/SRIOV RFC2544 based test case which can be run using external Trex. Console log: http://paste.openstack.org/show/658002/ Result output: http://paste.openstack.org/show/658004/ JIRA: YARDSTICK-967 Change-Id: Id0e2d6d47f459c7e6a3370735bab74f7ce502b24 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-01-02Merge "Adding vFW RFC2544 and ixload test cases with various packet sizes"Ross Brattain11-0/+714
2017-12-11Adding vFW RFC2544 and ixload test cases with various packet sizesPhani Kiran Thaticharla11-0/+714
Changed private to uplink and public to downlink Change-Id: Id9273d9489f58bd45b60a00fc9e5bcbe9e136c84 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> 
2017-11-17Merge "Add vfw ixload testcase for heat"Ross Brattain4-1/+269
2017-10-24Add vfw ixload testcase for heatJennifer Li4-1/+269
- concurrency - connections/second - throughput Change-Id: Idb977462952fba2e6a9684e916dfeca810f1ee94 Signed-off-by: Jennifer Li <jennifer.li@intel.com>
2017-10-23NSB: 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>
2017-10-18NSB: update vfw scale-out testcasesRoss Brattain7-33/+548
Change-Id: I6bd8a87f70954f288975e3e73e3cfbd36ae561dc Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
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-17scale-out testcase templateRoss Brattain4-0/+810
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-17Merge "fix invalid chracters in ansible scripts"Ross Brattain3-2/+3
2017-10-15Adding sample multi-port ansible scriptDeepak S6-0/+322
- trex - ixia - ixia correlated Change-Id: I7d1414227c27c2bb03454eac94592e07c434f070 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-15fix invalid chracters in ansible scriptsDeepak S3-2/+3
Change-Id: I3d1a491e4c0f0554a861d9bb24fbd0ac94835759 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-11Move arp route tbl to script and update defailt vnf config filesDeepak S1-2/+0
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-11private-> uplink and public->downlinkDeepak S20-44/+44
changing private and public to new uplink/downlink name Change-Id: I8c3f582ba5592418a397e2500e0b998c3eed54f2 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-05Merge "Adding scale out templates for ovs_dpdk/sriov using 2 node setup"Ross Brattain5-0/+300
2017-10-05Merge "Adding 2 node ixia generic scale-out test case generation"Ross Brattain3-0/+253
2017-10-05Merge "Adding auto generate scale-out support for correlated traffic"Ross Brattain3-0/+259
2017-10-05Merge "Added example TC with collectd on compute node"Ross Brattain2-9/+92
2017-10-03Added 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-03Adding sample testcases to run on standalone contextDeepak S4-0/+340
- vFW - vCGNAPT - vACL - UDP Replay - vPE (Only OVS supported) Change-Id: Idbc4d1d6bc1283e40d2fcb9457a871a9198ad147 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-03Adding auto generate scale-out support for correlated trafficDeepak S3-0/+259
Change-Id: I2755b596068545c1a3a672ceff47d814a44ae050 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-03Adding 2 node ixia generic scale-out test case generationDeepak S3-0/+253
Change-Id: I7da2d5bcd7c58c669e28a7271e4c6848c003e84a Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-10-03Adding scale out templates for ovs_dpdk/sriov using 2 node setupDeepak S5-0/+300
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-02Optimize 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-09-30Adding example testcase to enable multiport support for httpDeepak S2-0/+115
Change-Id: I780aa3ea6b04df08baffb5ee5beff66bdc37f37e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-29Auto create ixia config based on the traffic profileDeepak S1-51/+0
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-26Adding multi-port support for ixia taffic generatorDeepak S2-0/+122
Change-Id: Ic8aa130f3cdc7bd8dec39d06a6b824340bf658b2 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-21Bumped samplevnfs flavor disk size to 6G.Maciej Skrocki3-3/+3
Since we increased the images size the 4G is not sufficient anymore. Change-Id: Iae25cf4cfb7a6cc69c8d28771c183a2342ac38d0 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-18NSB: count from 0, vnf_0, tg_9, private->uplink, public->downlinkRoss Brattain17-104/+113
Also rename private to uplink, public to downlink for scale-out template we need to count from 0 so we can use range() without +1/-1 errors vnf_0, vnf_1 tg_0, tg_1 also fix Ixia defaults Change-Id: I6aecfbb95f99af20f012a9df19c19be77d1b5b77 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-18NSB test: remove vld_id it is not neededRoss Brattain2-4/+0
we get vld_id from the topology, we don't need it in Heat context Change-Id: I42c2309dda919e5b2026065dda851555df76ba57 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-17Added multi-port testcases for vFWDeepak S3-0/+204
Change-Id: I6cf8675c83fc081dd22ae7896e63ff7725ed3c13 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-14NSB: fix port topologyMartin Banszel1-1/+1
Add a new PortPair class to resolve the topology into list of public and private ports. Before we were calculating public/private in multiple locations and using different conventions. In addition for all the DPDK test we need to use the DPDK port number and no rely on interface ordering or interface naming conventions. We used to use xe0 -> 0, xe1 -> 1, etc. This is not the DPDK port number. Use the new dpdknicbind_helper class to parse the output of dpdk-devbind.py to find the actual DPDK port number at runtime. We then use this DPDK port number to correctly calculate the port_mask_hex. The port mask maps the DPDK port num (PMD ID) to the LINK ID used in the pipeline config We also need to make sure we only use the interfaces matched to the topology and not use all the interfaces, because in some cases we will have unused interfaces. In particular TRex always requires an even number of interfaces, so for single port TRex tests we have to create the second port and not use it. Thus we had to modify the traffic generator stats code to only dump stats for used ports and no unused ports. Ixia was using interface ordering to map to Ixia ports, instead we use the dpdk_port_num which must be hardcoded for Ixia. Renamed traffic_profile.execute to traffic_profile.execute_traffic so we can trace the code easier. We pass the port used by the traffic profile to generate_samples so we don't get stats for unused ports. Fixed up vPE config creation and bring up issues. Fixed up CGNAPT and UDP_Replay to work correctly. Tested with 4-port scale-out Change-Id: I2e4f328bff2904108081e92a4bf712333fa73869 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-08Merge "Adding nfvi flag to enable data collection"Ross Brattain5-0/+5
2017-09-08Merge "Adding latency test for vfw"Ross Brattain2-0/+50
2017-09-04Fix Ixload KPIs collection & hang issues.Deepak S1-0/+1
Change-Id: If679333dc1cb9e041a332fb374c55f72eaab1b28 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-03Adding nfvi flag to enable data collectionDeepak S5-0/+5
Change-Id: Ieafefb5501dc3a20fee41726a7daa9e4bb28599f Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-02Adding latency test for vfwDeepak S2-0/+50
Change-Id: Ibed8bf057a76f55a9e4cc5c55a104350e43a2a6e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-01Adding vfw scale-up test with ixia as tgDeepak S1-0/+49
Change-Id: I4f476d16dd11a12f5ffa9047af78d2236a4fbbc2 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-31Added TC for vFW in heat context with ixia TGMaciej Skrocki1-0/+82
- added common method to get relative paths - added 'Ixia' APP_NAME Change-Id: I7966798bab71af66d3efbeb1e13b07e8fbb41e88 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-25Added external versions for vFW and cgnat TCs.Maciej Skrocki1-0/+81
Change-Id: I6778dac0c60f090238ed1f4860470e62a64c7d69 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-24Removed unnecessary image definitions and flavor names.Maciej Skrocki1-1/+0
Change-Id: I13464d997ff9aba09a6cff7d3ff62f29df770a38 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-24nsb: update HEAT testcasesRoss Brattain1-0/+85
use yardstick-samplevnfs image name always create DPDK flavor, we require 1 socket, 10 cores remove hardcoded external network add gateway_ip: null to prevent multiple default gateways ssh bug with Heat add enable_dhcp: false Change-Id: I85787b72bf6ebf1c330f20f50f7a7a2b12aa995e Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-21Re-define the framesize and flow dynamic define in testcaseDeepak S7-24/+42
This patch adds the framesize and flow into test option instead of adding a seperate file to avoid the multiple file update incase of ip change. Change-Id: Ic473c73773ad36422ecc02618b8c646a5336b70a Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-19Fix IxLoad traffic generator issue around running the traffic.Deepak S1-1/+1
Change-Id: Ic1f13c0d28c1a1b01bbf3c8a6a618a5b3ab5bbeb Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>