aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2019-08-04 20:24:32 -0700
committerYichen Wang <yicwang@cisco.com>2019-08-04 20:25:29 -0700
commit09363d4f844128999780f6e287fc57662ca3b42a (patch)
tree6cca7f2144f22fc4751f816f0488f2f9e6e3fccf
parent213c8618b83dc56ca8aac704f455c11604361b15 (diff)
Release the validation check for VxLAN networks
Change-Id: I9583d4d10e704ead63ea95d2d2842c3d00a85a3b Signed-off-by: Yichen Wang <yicwang@cisco.com>
-rw-r--r--nfvbench/chaining.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nfvbench/chaining.py b/nfvbench/chaining.py
index 3350299..a0c8860 100644
--- a/nfvbench/chaining.py
+++ b/nfvbench/chaining.py
@@ -352,8 +352,7 @@ class ChainNetwork(object):
:return: VNI ID for this network
"""
- 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']
def delete(self):