X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Fspecs.py;h=a84a55f5ca2dd891adca77de5a2c39e9d02baf49;hb=02c8ed97e27b6e417945d27d4d3c2ab8e7dbfa7e;hp=7a24d5cce4606e4b9f05ab987589c2f425f0a645;hpb=b481ad4a6c6b98cac760b12e4190f9540869e673;p=nfvbench.git diff --git a/nfvbench/specs.py b/nfvbench/specs.py index 7a24d5c..a84a55f 100644 --- a/nfvbench/specs.py +++ b/nfvbench/specs.py @@ -75,7 +75,8 @@ class OpenStackSpec(object): class RunSpec(object): def __init__(self, no_vswitch_access, openstack_spec): - self.use_vswitch = (not no_vswitch_access) and openstack_spec.vswitch != "BASIC" + self.use_vswitch = (not no_vswitch_access) and openstack_spec \ + and openstack_spec.vswitch != "BASIC" class Specs(object):