From 09363d4f844128999780f6e287fc57662ca3b42a Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Sun, 4 Aug 2019 20:24:32 -0700 Subject: Release the validation check for VxLAN networks Change-Id: I9583d4d10e704ead63ea95d2d2842c3d00a85a3b Signed-off-by: Yichen Wang --- nfvbench/chaining.py | 3 +-- 1 file changed, 1 insertion(+), 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): -- cgit 1.2.3-korg