diff options
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r-- | nfvbench/chaining.py | 3 |
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): |