aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-03-30 14:50:28 +0100
committerMartin Klozik <martinx.klozik@intel.com>2017-03-30 15:01:39 +0100
commitbf226ce86459ddb1467c292c66f3468bbb361264 (patch)
tree589264a9207a4c672f357107a032b11d67578472
parent46bf1f20870e4942538a616cc639aa6cfd952145 (diff)
ixia: VLAN support without l3/l4 headers
Remove dependency of VLAN headers on L3 and L4 protocols. JIRA: VSPERF-499 Change-Id: Ic16dbbf2b503be7dd48a7bf55e45795bbb9f7e67 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>
-rw-r--r--tools/functions.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/functions.py b/tools/functions.py
index da43edca..e8bc31da 100644
--- a/tools/functions.py
+++ b/tools/functions.py
@@ -146,10 +146,6 @@ def check_traffic(traffic):
"""Check traffic definition and correct it if possible.
"""
# check if requested networking layers make sense
- if traffic['vlan']['enabled']:
- if not (traffic['l3']['enabled'] and traffic['l4']['enabled']):
- raise RuntimeError('TRAFFIC misconfiguration: both l3 and l4 must '
- 'be enabled if vlan is enabled.')
if traffic['l4']['enabled']:
if not traffic['l3']['enabled']:
raise RuntimeError('TRAFFIC misconfiguration: l3 must be enabled '