diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2017-04-12 05:47:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-12 05:47:34 +0000 |
commit | 0f6f846cfb0f38f16baf1192e3f3dc5effb517bb (patch) | |
tree | 23e1f41596b1b5182742180d7de823cfaa037358 | |
parent | 0c4ab9b84ea256d22176ba6c9e89cefe9c212b7e (diff) | |
parent | bf226ce86459ddb1467c292c66f3468bbb361264 (diff) |
Merge "ixia: VLAN support without l3/l4 headers"
-rw-r--r-- | tools/functions.py | 4 |
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 ' |