aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/developer/devguide/design/trafficgen_integration_guide.rst
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2018-03-06 11:04:15 +0000
committerMartin Klozik <martinx.klozik@intel.com>2018-03-22 07:49:59 +0000
commit2b8b39cb96216582b102d5e38369961e3691b0d8 (patch)
tree801318f1784eaa5b2222d2750a238625ac6a3591 /docs/testing/developer/devguide/design/trafficgen_integration_guide.rst
parenta9655607f7618fd392cf719e8d9ea2dbf6c8dd1c (diff)
trex: Support of SCAPY frame definition
T-Rex implementation in vsperf was improved to support: * SCAPY frame definition, so additional network protocols can be generated by T-Rex and sent towards DUT * VLAN configuration defined by TRAFFIC['vlan'] * enable or disable L2, L3, L4 and VLAN protocols as configured by TRAFFIC dictionary VSPERF documentation was updated with examples of SCAPY frame definition usage. JIRA: VSPERF-565 Change-Id: Iff9baba47a1e83d321f6ba3c1c482965b9882241 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Trevor Cooper <trevor.cooper@intel.com> Reviewed-by: Richard Elias <richardx.elias@intel.com>
Diffstat (limited to 'docs/testing/developer/devguide/design/trafficgen_integration_guide.rst')
-rw-r--r--docs/testing/developer/devguide/design/trafficgen_integration_guide.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/testing/developer/devguide/design/trafficgen_integration_guide.rst b/docs/testing/developer/devguide/design/trafficgen_integration_guide.rst
index c88b80ed..a7a29d0e 100644
--- a/docs/testing/developer/devguide/design/trafficgen_integration_guide.rst
+++ b/docs/testing/developer/devguide/design/trafficgen_integration_guide.rst
@@ -199,6 +199,9 @@ functions:
Note: There are parameters specific to testing of tunnelling protocols,
which are discussed in detail at :ref:`integration-tests` userguide.
+ Note: A detailed description of the ``TRAFFIC`` dictionary can be found at
+ :ref:`configuration-of-traffic-dictionary`.
+
* param **traffic_type**: One of the supported traffic types,
e.g. **rfc2544_throughput**, **rfc2544_continuous**
or **rfc2544_back2back**.
@@ -224,6 +227,8 @@ functions:
**dstport** and l4 on/off switch **enabled**.
* param **vlan**: A dictionary with vlan specific parameters,
e.g. **priority**, **cfi**, **id** and vlan on/off switch **enabled**.
+ * param **scapy**: A dictionary with definition of the frame content for both traffic
+ directions. The frame content is defined by a SCAPY notation.
* param **tests**: Number of times the test is executed.
* param **duration**: Duration of continuous test or per iteration duration