aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/nsut/cgnapt
AgeCommit message (Collapse)AuthorFilesLines
2019-01-30Add cli option framesize for cgnaptJohn O Loughlin18-72/+72
Remove any duplicated testcases Default framesize to 64B: 100 JIRA: YARDSTICK-1554 Change-Id: I2fd7caba9565ba16b2d6494f71ad9b9d476e398b Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-11-13Fix multiport/scale-out baremetal ansible scriptsMytnyk, Volodymyr4-6/+61
- Fixed ansible scripts to generate multiport baremetal TCs for vACL/vFW/vCGNAPT. - Added scale out correlated traffic TCs for vACL/vFW/vCGNAPT. JIRA: YARDSTICK-1347 Change-Id: I3f6232dab1a45c70d1e22fbe2c7b0c3cb4773a4e Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-11-08Cleanup of ixia_profile attribute for IxNetwork TGOrest Voznyy10-20/+10
Remove obsolete attribute "ixia_profile" from - test cases using IxNetwork as a TG - from unit tests related to IxNetwork Remove ixncfg files from repo. Remove mention of ixncfg files from test case files JIRA: YARDSTICK-1506 Change-Id: I5f8087cef74ac80ced0cfa310fdb5f91550d08f5 Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
2018-08-14Change tc_trex files to execute standalone testsStepan Andrushko2-12/+12
Changes made in test cases for trex TG files to be able to run tests for standalone setup (OVS-DPDK/SRIOV). - tg__0: trafficgen_1 Changes to improve templates for tc_trex: - flavor: images: changed to default name: yardstick-nsb-image.img - default path for files under contexts section - RAM size JIRA: YARDSTICK-1368 Change-Id: Ida85de219acd566840de1a94975b8050c7f59b9b Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2017-10-17scale-out testcase templateRoss Brattain8-0/+1321
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 Brattain2-4/+4
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 S2-4/+4
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-10/+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-11cgnat: 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-11private-> uplink and public->downlinkDeepak S15-35/+41
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 Brattain3-0/+254
2017-10-05Merge "Adding 2 node ixia generic scale-out test case generation"Ross Brattain3-0/+255
2017-10-05Merge "Adding auto generate scale-out support for correlated traffic"Ross Brattain3-0/+260
2017-10-03Adding sample testcases to run on standalone contextDeepak S4-0/+342
- 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/+260
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/+255
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 S3-0/+254
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-09-29Auto create ixia config based on the traffic profileDeepak S2-53/+2
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-21Bumped samplevnfs flavor disk size to 6G.Maciej Skrocki2-2/+2
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 Brattain15-97/+97
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-14NSB: fix port topologyMartin Banszel2-4/+13
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 Brattain1-0/+1
2017-09-07Merge "Adding ixia latency support for dynamic cgnapt"Ross Brattain1-0/+52
2017-09-07Adding ixia latency support for dynamic cgnaptDeepak S1-0/+52
Change-Id: I346f6064c39cb5662c2b17ca0f520addbe5eae4c Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-03Adding nfvi flag to enable data collectionDeepak S1-0/+1
Change-Id: Ieafefb5501dc3a20fee41726a7daa9e4bb28599f Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-02updating the traffic profile to enable static cgnapt for ixnetDeepak S5-1/+6
Change-Id: I49e9c5c69bc997d3ba33387e691459c167f3e4bc Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-01Adding cgnapt scale-up test with ixia as tgDeepak S1-0/+49
Change-Id: I834d733aff2da5af12db08f4159be2e9c6361aab Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-25Added external versions for vFW and cgnat TCs.Maciej Skrocki1-0/+80
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/+84
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 S6-21/+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-10Sample CGNAPT VNFDeepak S12-0/+600
Change-Id: I0f5555a1674a5ecb7e2afb508d495b7872c90757 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>