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

92 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-04-24 11:16 +0000

1# Copyright 2015 OpenStack Foundation 

2# All Rights Reserved. 

3# 

4# Licensed under the Apache License, Version 2.0 (the "License"); you may 

5# not use this file except in compliance with the License. You may obtain 

6# a copy of the License at 

7# 

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

9# 

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

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

12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 

13# License for the specific language governing permissions and limitations 

14# under the License. 

15 

16# This package got introduced during the Mitaka cycle in 2015 to 

17# have a central place where the config options of Nova can be maintained. 

18# For more background see the blueprint "centralize-config-options" 

19 

20from oslo_config import cfg 

21 

22from nova.conf import api 

23from nova.conf import availability_zone 

24from nova.conf import base 

25from nova.conf import cache 

26from nova.conf import cinder 

27from nova.conf import compute 

28from nova.conf import conductor 

29from nova.conf import configdrive 

30from nova.conf import console 

31from nova.conf import consoleauth 

32from nova.conf import cyborg 

33from nova.conf import database 

34from nova.conf import devices 

35from nova.conf import ephemeral_storage 

36from nova.conf import glance 

37from nova.conf import guestfs 

38from nova.conf import imagecache 

39from nova.conf import ironic 

40from nova.conf import key_manager 

41from nova.conf import keystone 

42from nova.conf import libvirt 

43from nova.conf import manila 

44from nova.conf import mks 

45from nova.conf import netconf 

46from nova.conf import neutron 

47from nova.conf import notifications 

48from nova.conf import novnc 

49from nova.conf import paths 

50from nova.conf import pci 

51from nova.conf import placement 

52from nova.conf import quota 

53from nova.conf import rpc 

54from nova.conf import scheduler 

55from nova.conf import serial_console 

56from nova.conf import service 

57from nova.conf import service_token 

58from nova.conf import servicegroup 

59from nova.conf import spice 

60from nova.conf import upgrade_levels 

61from nova.conf import vendordata 

62from nova.conf import vmware 

63from nova.conf import vnc 

64from nova.conf import workarounds 

65from nova.conf import wsgi 

66from nova.conf import zvm 

67 

68CONF = cfg.CONF 

69 

70api.register_opts(CONF) 

71availability_zone.register_opts(CONF) 

72base.register_opts(CONF) 

73cache.register_opts(CONF) 

74cinder.register_opts(CONF) 

75compute.register_opts(CONF) 

76conductor.register_opts(CONF) 

77configdrive.register_opts(CONF) 

78console.register_opts(CONF) 

79consoleauth.register_opts(CONF) 

80cyborg.register_opts(CONF) 

81database.register_opts(CONF) 

82devices.register_opts(CONF) 

83ephemeral_storage.register_opts(CONF) 

84glance.register_opts(CONF) 

85guestfs.register_opts(CONF) 

86manila.register_opts(CONF) 

87mks.register_opts(CONF) 

88imagecache.register_opts(CONF) 

89ironic.register_opts(CONF) 

90key_manager.register_opts(CONF) 

91keystone.register_opts(CONF) 

92libvirt.register_opts(CONF) 

93netconf.register_opts(CONF) 

94neutron.register_opts(CONF) 

95notifications.register_opts(CONF) 

96novnc.register_opts(CONF) 

97paths.register_opts(CONF) 

98pci.register_opts(CONF) 

99placement.register_opts(CONF) 

100quota.register_opts(CONF) 

101rpc.register_opts(CONF) 

102scheduler.register_opts(CONF) 

103serial_console.register_opts(CONF) 

104service.register_opts(CONF) 

105service_token.register_opts(CONF) 

106servicegroup.register_opts(CONF) 

107spice.register_opts(CONF) 

108upgrade_levels.register_opts(CONF) 

109vendordata.register_opts(CONF) 

110vmware.register_opts(CONF) 

111vnc.register_opts(CONF) 

112workarounds.register_opts(CONF) 

113wsgi.register_opts(CONF) 

114zvm.register_opts(CONF)