summaryrefslogtreecommitdiffstats
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 5f9e1e8..a97cd0b 100644
--- a/nfvbench/chaining.py
+++ b/nfvbench/chaining.py
@@ -329,7 +329,7 @@ class ChainNetwork(object):
:return: VNI ID for this network
"""
- if self.network['provider:network_type'] != 'vxlan':
+ if 'vxlan' not in self.network['provider:network_type']:
raise ChainException('Trying to retrieve VNI for non VXLAN network')
return self.network['provider:segmentation_id']