summaryrefslogtreecommitdiffstats
path: root/nfvbench/chain_managers.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2018-05-16 00:10:36 -0700
committerahothan <ahothan@cisco.com>2018-05-16 00:10:36 -0700
commite633f286772e7667dfd7491a0a7227f9317bc0c8 (patch)
tree40231a5e1ad5ee571a035345a46ba896865ba750 /nfvbench/chain_managers.py
parent6404b7aa4391712f0421b3ee0996c59871816db1 (diff)
NFVBENCH-92 nfvbench should not look for neutron network in case of l2-loopback
Change-Id: I2fc7a46e23d7a989942eb62a4ca9afec8b992088 Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/chain_managers.py')
-rw-r--r--nfvbench/chain_managers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/chain_managers.py b/nfvbench/chain_managers.py
index 211f9bb..9cd6c7d 100644
--- a/nfvbench/chain_managers.py
+++ b/nfvbench/chain_managers.py
@@ -56,7 +56,7 @@ class StageManager(object):
return self.client.ports
def get_compute_nodes(self):
- return self.client.compute_nodes
+ return self.client.compute_nodes if self.client else {}
def set_vm_macs(self):
if self.client and self.config.service_chain != ChainType.EXT: