aboutsummaryrefslogtreecommitdiffstats
path: root/docs/userguide/teststeps.rst
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2016-12-07 14:01:07 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-07 14:01:07 +0000
commit3d33e32f9fe9d8c8e6f4fb935d67fc39b2c0a483 (patch)
tree7d85bb6b92639121832f33087f6b47f3bf330f14 /docs/userguide/teststeps.rst
parentd3607cb18d6d3f55b53c06479c748b0184ba0ac5 (diff)
parentdba37f2ec6b915649a10d8dae550bfd0291e4584 (diff)
Merge "conf:Traffic-type naming convention and consistency"
Diffstat (limited to 'docs/userguide/teststeps.rst')
-rw-r--r--docs/userguide/teststeps.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/userguide/teststeps.rst b/docs/userguide/teststeps.rst
index 65a25b0a..c00a2749 100644
--- a/docs/userguide/teststeps.rst
+++ b/docs/userguide/teststeps.rst
@@ -122,9 +122,9 @@ of supported objects and their most common functions follows:
.. code-block:: python
- ['trafficgen', 'send_traffic', {'traffic_type' : 'throughput'}]
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_throughput'}]
- ['trafficgen', 'send_traffic', {'traffic_type' : 'back2back', 'bidir' : 'True'}]
+ ['trafficgen', 'send_traffic', {'traffic_type' : 'rfc2544_back2back', 'bidir' : 'True'}]
* ``settings`` - reads or modifies VSPERF configuration
@@ -344,7 +344,8 @@ IP address = 90.90.90.90 will be forwarded to the port created at the STEP #2.
['vswitch', 'add_flow', 'int_br0', {'in_port': '#STEP[1][1]', \
'dl_type': '0x0800', 'nw_dst': '90.90.90.90', \
'actions': ['output:#STEP[2][1]'], 'idle_timeout': '0'}],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous'}],
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous'}],
['vswitch', 'dump_flows', 'int_br0'], # STEP 5
['vswitch', 'del_flow', 'int_br0'], # STEP 7 == del-flows
['vswitch', 'del_port', 'int_br0', '#STEP[1][0]'],
@@ -393,7 +394,8 @@ That is accomplished by using "Stream Type" and "MultiStream" keywords.
'dl_type': '0x0800', 'nw_proto': '17', 'udp_dst': '3', \
'actions': ['output:#STEP[2][1]'], 'idle_timeout': '0'}],
# Send mono-dir traffic
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'False'}],
# Clean up
['vswitch', 'del_flow', 'int_br0'],
@@ -505,7 +507,8 @@ loopback application by a configuration option ``GUEST_LOOPBACK``.
'actions': ['output:#STEP[2][1]'], 'idle_timeout': '0'}],
# Start VMs
['vnf1', 'start'],
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'False'}],
['vnf1', 'stop'],
# Clean up
@@ -578,7 +581,8 @@ destination UDP port.
# Start VMs
['vnf1', 'start'], # STEP 16
['vnf2', 'start'], # STEP 17
- ['trafficgen', 'send_traffic', {'traffic_type' : 'continuous', \
+ ['trafficgen', 'send_traffic', \
+ {'traffic_type' : 'rfc2544_continuous', \
'bidir' : 'False'}],
['vnf1', 'stop'],
['vnf2', 'stop'],