aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/contexts/sriov.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/benchmark/contexts/sriov.py')
-rw-r--r--yardstick/benchmark/contexts/sriov.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yardstick/benchmark/contexts/sriov.py b/yardstick/benchmark/contexts/sriov.py
index 5dc27bfae..da143cc4b 100644
--- a/yardstick/benchmark/contexts/sriov.py
+++ b/yardstick/benchmark/contexts/sriov.py
@@ -134,6 +134,7 @@ class Sriov(StandaloneContext):
self.auth_type = ""
def init(self):
+ log.debug("In init")
self.parse_pod_and_get_data(self.file_path)
def parse_pod_and_get_data(self, file_path):
@@ -146,8 +147,6 @@ class Sriov(StandaloneContext):
log.error("File {0} does not exist".format(self.file_path))
raise
- self.nodes.extend([node for node in cfg["nodes"]
- if node["role"] != "Sriov"])
self.sriov.extend([node for node in cfg["nodes"]
if node["role"] == "Sriov"])
self.user = self.sriov[0]['user']