From: Yichen Wang Date: Mon, 5 Aug 2019 03:24:32 +0000 (-0700) Subject: Release the validation check for VxLAN networks X-Git-Tag: 3.5.1~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F68311%2F1;p=nfvbench.git Release the validation check for VxLAN networks Change-Id: I9583d4d10e704ead63ea95d2d2842c3d00a85a3b Signed-off-by: Yichen Wang --- 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):