diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-07-12 10:50:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-12 10:50:35 +0000 |
commit | c35fe95566156f9bec4c516f6e0cd9c79c96a492 (patch) | |
tree | eacea74a4d6e56fdf379144dcea9c1ed186a2455 /yardstick/benchmark/contexts/kubernetes.py | |
parent | bdd301b4b59fffc44d99ca2a631d9d8a81efdfa2 (diff) | |
parent | d8749639f376972447cf58ea3c9628dfd6b78ef3 (diff) |
Merge "Make context types constants"
Diffstat (limited to 'yardstick/benchmark/contexts/kubernetes.py')
-rw-r--r-- | yardstick/benchmark/contexts/kubernetes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/contexts/kubernetes.py b/yardstick/benchmark/contexts/kubernetes.py index 4ba9eee36..52d17df4d 100644 --- a/yardstick/benchmark/contexts/kubernetes.py +++ b/yardstick/benchmark/contexts/kubernetes.py @@ -7,13 +7,13 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -from __future__ import absolute_import import logging import time import pkg_resources import paramiko +from yardstick.benchmark import contexts from yardstick.benchmark.contexts.base import Context from yardstick.orchestrator import kubernetes from yardstick.common import kubernetes_utils as k8s_utils @@ -26,7 +26,7 @@ BITS_LENGTH = 2048 class KubernetesContext(Context): """Class that handle nodes info""" - __context_type__ = "Kubernetes" + __context_type__ = contexts.CONTEXT_KUBERNETES def __init__(self): self.ssh_key = '' |