summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2019-06-30 09:46:10 +0200
committerLuc Provoost <luc.provoost@intel.com>2019-06-30 09:46:10 +0200
commitccae9496c217020455acfe337aaf2b2f0c5644d8 (patch)
tree4f9165a7f2cbf77290b80a6545400e9cd7d7b00c /VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test
parent080733bfa5facd0eb457fc3db1c3ee7885f2a438 (diff)
Multiple changes for June release
- Change inittest in warmuptest. This has now a warmuptime, warmupspeed, packet size and flow size. - Change in centos.json. This will now also copy deploycentostools.sh during image building so that it can be used to re-compile prox in the VM by typing "./deploycentostools.sh compile" - runrapid.py parameters needing a file name, need to be complete file names: no extensions will be added any more by the scripts. - Changes in createrapid.py to handel the openstack CLI output in a simpler way. - The management interface of the VMs can now also be an SRIOV interface. We have now an extra optional parameter in the VM sections of the rapiVMs.vms file: SRIOV_mgmt_port - Changed the name of some sections and keys in the environment file since runrapid.py will not always communicate to OpenStack VMs. This could be containers or any other (virtual) machine. - The previous MachineMap.cfg has been renamed to machine.map - A new test has been added: monitorswap is just showing the statistics of a swap (virtual) machine, without generating any packets. This is useful in situations where an external tester is used. - Latency and core statistics can now be measured even if there are multiple PROX cores and tasks running. A new parameter has been added in the test files with following default value: tasks=[0]. During the collection of statistics, all tasks in this list will be queried. It is ok to have a non-existing task in such a query since it will be ignored. - A --screenlog parameter was added for runrapid.py allowing for more detailed output on the screen during debugging. No need to check the log file. - Previous tests to run multiple packet size with a given flow size and to run multiple flow size, with a given packet size are now combined by specifiying 2 lists: packetsizes & flows - The screen output of this test has also been reworked with more meaningful column names and the test result is now in the field "core received". This allows also for faster termination of the test: When the all packets sent by Gen NIC are received by the cores within the thresholds for packet loss and latency, the test is now stopped, even we were requesting more packets to be sent. Change-Id: I3307e7a972f2140e739f376f146fe875df0303e6 Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test16
1 files changed, 12 insertions, 4 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test b/VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test
index cf1b5522..5c5813f0 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/secgw.test
@@ -20,6 +20,7 @@ number_of_tests = 2
total_number_of_test_machines = 3
prox_socket = true
prox_launch_exit = true
+tasks=[0]
[TestM1]
name = Generator
@@ -28,7 +29,6 @@ dest_vm = 3
gw_vm = 2
gencores = [1]
latcores = [3]
-startspeed = 10
[TestM2]
name = GW1
@@ -46,10 +46,18 @@ drop_rate_threshold = 0.1
lat_avg_threshold = 500
lat_max_threshold = 1000
accuracy = 0.1
+startspeed = 10
[test1]
-test=inittest
+test=warmuptest
+flowsize=1024
+packetsize=64
+warmupspeed=1
+warmuptime=2
[test2]
-test=speedtest
-packetsize=64
+test=flowsizetest
+packetsizes=[64]
+# the number of flows in the list need to be powers of 2, max 2^20
+# Select from following numbers: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65535, 131072, 262144, 524280, 1048576
+flows=[512]