aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/chaining.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r--nfvbench/chaining.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/chaining.py b/nfvbench/chaining.py
index 1a977da..22f000b 100644
--- a/nfvbench/chaining.py
+++ b/nfvbench/chaining.py
@@ -890,7 +890,7 @@ class ChainManager(object):
# Make sure all instances are active before proceeding
self._ensure_instances_active()
# network API call do not show VLANS ID if not admin read from config
- if not self.is_admin:
+ if not self.is_admin and config.vlan_tagging:
self._get_config_vlans()
except Exception:
self.delete()