1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
12 from yardstick.benchmark.contexts.base import Context
15 LOG = logging.getLogger(__name__)
18 class DummyContext(Context):
19 '''Class that handle dummy info'''
21 __context_type__ = "Dummy"
24 super(self.__class__, self).__init__()
26 def init(self, attrs):
30 '''don't need to deploy'''
34 '''don't need to undeploy'''
37 def _get_server(self, attr_name):