From bf226ce86459ddb1467c292c66f3468bbb361264 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 30 Mar 2017 14:50:28 +0100 Subject: 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 Reviewed-by: Al Morton Reviewed-by: Christian Trautman Reviewed-by: Sridhar Rao Reviewed-by: Trevor Cooper --- tools/functions.py | 4 ---- 1 file changed, 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 ' -- cgit 1.2.3-korg