aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/user/configguide
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/user/configguide
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/user/configguide')
-rw-r--r--docs/testing/user/configguide/trafficgen.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/testing/user/configguide/trafficgen.rst b/docs/testing/user/configguide/trafficgen.rst
index 4e42b2be..fff8af07 100644
--- a/docs/testing/user/configguide/trafficgen.rst
+++ b/docs/testing/user/configguide/trafficgen.rst
@@ -50,11 +50,13 @@ and is configured as follows:
'dstmac': '00:00:00:00:00:00',
},
'l3': {
+ 'enabled': True,
'proto': 'udp',
'srcip': '1.1.1.1',
'dstip': '90.90.90.90',
},
'l4': {
+ 'enabled': True,
'srcport': 3000,
'dstport': 3001,
},
@@ -133,8 +135,9 @@ when the setup is complete.
{
"flow_type": "port",
"l3": {
+ "enabled": True,
"srcip": "1.1.1.1",
- "proto": "tcp",
+ "proto": "udp",
"dstip": "90.90.90.90"
},
"traffic_type": "rfc2544_continuous",
@@ -144,12 +147,15 @@ when the setup is complete.
"cfi": 0,
"priority": 0,
"id": 0,
- "enabled": false
+ "enabled": False
+ },
+ "l4": {
+ "enabled": True,
+ "srcport": 3000,
+ "dstport": 3001,
},
"frame_rate": 90,
"l2": {
- "dstport": 3001,
- "srcport": 3000,
"dstmac": "00:00:00:00:00:00",
"srcmac": "00:00:00:00:00:00",
"framesize": 64