diff options
author | ahothan <ahothan@cisco.com> | 2018-12-14 19:39:51 -0800 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2018-12-14 19:49:57 -0800 |
commit | 0d70709b1e56d7dae02411802730585af6bb071e (patch) | |
tree | fbceb97002f0be4b52d84da6d853d60acce31545 /nfvbench/chaining.py | |
parent | 95ec969158c3f2e75a2e70e87d5f43f1c45b6f8e (diff) |
Relax checking for vxlan network type.3.0.4
The code should allow any network type that has "vxlan" in it.
Change-Id: I9e0a9b5f028b054e53b08a2765fd02b2c59342aa
Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r-- | nfvbench/chaining.py | 2 |
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'] |