blob: 41b0558eed064d9b87a3bdf3538e7f82967c8e13 [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
46 compute_feature_enabled = fake_compute_feature_enabled()
47 volume_feature_enabled = fake_default_feature_enabled()
48 network_feature_enabled = fake_default_feature_enabled()
49 object_storage_feature_enabled = fake_object_storage_discoverable_apis()
50
51 service_available = fake_service_available()
52
Matthew Treinisha33037e2013-12-05 23:16:39 +000053 compute = fake_compute()
54 identity = fake_identity()