aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-07-17 03:15:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-17 03:15:13 +0000
commiteeda3f6b215c16cbb567168cb63d987c65f8a1b9 (patch)
tree592b31cdfcea6dd595d2005c0bc2356455507fd4
parent8d85e42443d8ebea23c90d82ae649716ecc713cb (diff)
parent252829283a4b48d43163b0ffc06d14f7a135ae4d (diff)
Merge "Bugfix: kubernetes context do not implement _get_network"
-rw-r--r--yardstick/benchmark/contexts/kubernetes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/benchmark/contexts/kubernetes.py b/yardstick/benchmark/contexts/kubernetes.py
index cc3e326c6..a39f63137 100644
--- a/yardstick/benchmark/contexts/kubernetes.py
+++ b/yardstick/benchmark/contexts/kubernetes.py
@@ -135,3 +135,6 @@ class KubernetesContext(Context):
for n in resp.items if n.metadata.name.startswith(name))
return next(hosts, None)
+
+ def _get_network(self, attr_name):
+ return None