summaryrefslogtreecommitdiffstats
path: root/docs/testing/developer
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-03-24 10:49:10 +0000
committerMartin Klozik <martinx.klozik@intel.com>2017-03-24 16:07:22 +0000
commit20a12dd85dde14bee9ada4f9f72ffd8eebd4e53c (patch)
tree59bffddbc76ae61bf4dac1c13f9fd1f2fa7772fb /docs/testing/developer
parente1d6248d35bf61e87cc07f9a4f286ada06a819c8 (diff)
ixia: Make L3 and L4 headers optional
During testing it is sometimes useful to generate pure L2 traffic without L3 or L4 related headers. IxNetwork TCL script was updated to support this option. Generic TRAFFIC array was enhanced by on/off switch for L3 and L4 headers. Thus it can be implemented by other traffic generators in the future, if this feature will prove itself useful. JIRA: VSPERF-500 Change-Id: I723c703e5d6ef609fd5b7db366871278a4730203 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>
Diffstat (limited to 'docs/testing/developer')
-rw-r--r--docs/testing/developer/design/trafficgen_integration_guide.rst6
-rw-r--r--docs/testing/developer/design/vswitchperf_design.rst8
2 files changed, 11 insertions, 3 deletions
diff --git a/docs/testing/developer/design/trafficgen_integration_guide.rst b/docs/testing/developer/design/trafficgen_integration_guide.rst
index 382cedcb..7dae19ba 100644
--- a/docs/testing/developer/design/trafficgen_integration_guide.rst
+++ b/docs/testing/developer/design/trafficgen_integration_guide.rst
@@ -215,9 +215,9 @@ functions:
* param **l2**: A dictionary with data link layer details, e.g. **srcmac**,
**dstmac** and **framesize**.
* param **l3**: A dictionary with network layer details, e.g. **srcip**,
- **dstip** and **proto**.
- * param **l3**: A dictionary with transport layer details, e.g. **srcport**,
- **dstport**.
+ **dstip**, **proto** and l3 on/off switch **enabled**.
+ * param **l4**: A dictionary with transport layer details, e.g. **srcport**,
+ **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**.
diff --git a/docs/testing/developer/design/vswitchperf_design.rst b/docs/testing/developer/design/vswitchperf_design.rst
index aa7fb342..a5a99c8a 100644
--- a/docs/testing/developer/design/vswitchperf_design.rst
+++ b/docs/testing/developer/design/vswitchperf_design.rst
@@ -354,6 +354,10 @@ Detailed description of ``TRAFFIC`` dictionary items follows:
Default value: 64
'l3' - A dictionary with l3 network layer details. Supported
values are:
+ 'enabled' - Specifies if l3 layer should be enabled or disabled.
+ Data type: bool
+ Default value: True
+ NOTE: Supported only by IxNet trafficgen class
'srcip' - Specifies source MAC address filled by traffic generator.
NOTE: It can be modified by vsperf in some scenarios.
Data type: str
@@ -369,6 +373,10 @@ Detailed description of ``TRAFFIC`` dictionary items follows:
Default value: "udp".
'l4' - A dictionary with l4 network layer details. Supported
values are:
+ 'enabled' - Specifies if l4 layer should be enabled or disabled.
+ Data type: bool
+ Default value: True
+ NOTE: Supported only by IxNet trafficgen class
'srcport' - Specifies source port of selected transport protocol.
NOTE: It can be modified by vsperf in some scenarios.
Data type: int