aboutsummaryrefslogtreecommitdiffstats
path: root/tools/functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/functions.py')
-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 '