blob: d20068ecc421063c0a07e430faa24d31d5817726 [file] [log] [blame]
Jay Pipesf38eaac2012-06-21 13:37:35 -04001# vim: tabstop=4 shiftwidth=4 softtabstop=4
2
ZhiQiang Fan39f97222013-09-20 04:49:44 +08003# Copyright 2012 OpenStack Foundation
Jay Pipesf38eaac2012-06-21 13:37:35 -04004# All Rights Reserved.
5#
6# Licensed under the Apache License, Version 2.0 (the "License"); you may
7# not use this file except in compliance with the License. You may obtain
8# a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15# License for the specific language governing permissions and limitations
16# under the License.
17
Jay Pipesf38eaac2012-06-21 13:37:35 -040018from tempest import config
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -040019from tempest.openstack.common import log as logging
Jay Pipesf38eaac2012-06-21 13:37:35 -040020
21LOG = logging.getLogger(__name__)
22
23CONFIG = config.TempestConfig()
Matthew Treinishd5c96022013-10-17 21:51:23 +000024CREATE_IMAGE_ENABLED = CONFIG.compute_feature_enabled.create_image
25RESIZE_AVAILABLE = CONFIG.compute_feature_enabled.resize
26CHANGE_PASSWORD_AVAILABLE = CONFIG.compute_feature_enabled.change_password
27DISK_CONFIG_ENABLED = CONFIG.compute_feature_enabled.disk_config