Coverage for watcher/conf/__init__.py: 100%

50 statements  

« prev     ^ index     » next       coverage.py v7.8.2, created at 2025-06-17 12:22 +0000

1# -*- encoding: utf-8 -*- 

2# Copyright (c) 2016 b<>com 

3# Copyright (c) 2016 Intel Corp 

4# 

5# Authors: Vincent FRANCOISE <vincent.francoise@b-com.com> 

6# 

7# Licensed under the Apache License, Version 2.0 (the "License"); 

8# you may not use this file except in compliance with the License. 

9# You may obtain a copy of the License at 

10# 

11# http://www.apache.org/licenses/LICENSE-2.0 

12# 

13# Unless required by applicable law or agreed to in writing, software 

14# distributed under the License is distributed on an "AS IS" BASIS, 

15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 

16# implied. 

17# See the License for the specific language governing permissions and 

18# limitations under the License. 

19 

20from oslo_config import cfg 

21 

22from watcher.conf import api 

23from watcher.conf import applier 

24from watcher.conf import cinder_client 

25from watcher.conf import clients_auth 

26from watcher.conf import collector 

27from watcher.conf import datasources 

28from watcher.conf import db 

29from watcher.conf import decision_engine 

30from watcher.conf import exception 

31from watcher.conf import glance_client 

32from watcher.conf import gnocchi_client 

33from watcher.conf import grafana_client 

34from watcher.conf import grafana_translators 

35from watcher.conf import ironic_client 

36from watcher.conf import keystone_client 

37from watcher.conf import maas_client 

38from watcher.conf import monasca_client 

39from watcher.conf import neutron_client 

40from watcher.conf import nova_client 

41from watcher.conf import paths 

42from watcher.conf import placement_client 

43from watcher.conf import planner 

44from watcher.conf import prometheus_client 

45from watcher.conf import service 

46 

47CONF = cfg.CONF 

48 

49service.register_opts(CONF) 

50api.register_opts(CONF) 

51paths.register_opts(CONF) 

52exception.register_opts(CONF) 

53datasources.register_opts(CONF) 

54db.register_opts(CONF) 

55planner.register_opts(CONF) 

56applier.register_opts(CONF) 

57decision_engine.register_opts(CONF) 

58maas_client.register_opts(CONF) 

59monasca_client.register_opts(CONF) 

60nova_client.register_opts(CONF) 

61glance_client.register_opts(CONF) 

62gnocchi_client.register_opts(CONF) 

63keystone_client.register_opts(CONF) 

64grafana_client.register_opts(CONF) 

65grafana_translators.register_opts(CONF) 

66cinder_client.register_opts(CONF) 

67neutron_client.register_opts(CONF) 

68clients_auth.register_opts(CONF) 

69ironic_client.register_opts(CONF) 

70collector.register_opts(CONF) 

71placement_client.register_opts(CONF) 

72prometheus_client.register_opts(CONF)