blob: e941606be2628b851a38ef5ba4ceab9dbacb13f9 [file] [log] [blame]
Matthew Treinisha33037e2013-12-05 23:16:39 +00001# Copyright 2013 IBM Corp.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15
16class FakeConfig(object):
17
18 class fake_compute(object):
19 build_interval = 10
20 build_timeout = 10
21
22 class fake_identity(object):
23 disable_ssl_certificate_validation = True
Mauro S. M. Rodriguesc3e573c2014-02-19 07:59:29 -050024 catalog_type = 'identity'
25 uri = 'http://fake_uri.com/auth'
26 uri_v3 = 'http://fake_uri_v3.com/auth'
Matthew Treinisha33037e2013-12-05 23:16:39 +000027
Mauro S. M. Rodriguesdbe4cb62014-02-07 13:03:27 +000028 class fake_default_feature_enabled(object):
29 api_extensions = ['all']
30
31 class fake_compute_feature_enabled(fake_default_feature_enabled):
32 api_v3_extensions = ['all']
33
34 class fake_object_storage_discoverable_apis(object):
35 discoverable_apis = ['all']
36
37 class fake_service_available(object):
38 nova = True
39 glance = True
40 cinder = True
41 heat = True
42 neutron = True
43 swift = True
44 horizon = True
45
Marc Koderer6ee82dc2014-02-17 10:26:29 +010046 class fake_negative(object):
47 test_generator = 'tempest.common.' \
48 'generator.negative_generator.NegativeTestGenerator'
49
Mauro S. M. Rodriguesdbe4cb62014-02-07 13:03:27 +000050 compute_feature_enabled = fake_compute_feature_enabled()
51 volume_feature_enabled = fake_default_feature_enabled()
52 network_feature_enabled = fake_default_feature_enabled()
53 object_storage_feature_enabled = fake_object_storage_discoverable_apis()
54
55 service_available = fake_service_available()
56
Matthew Treinisha33037e2013-12-05 23:16:39 +000057 compute = fake_compute()
58 identity = fake_identity()
Marc Koderer6ee82dc2014-02-17 10:26:29 +010059
60 negative = fake_negative()