config options: Centralise 'virt.driver' options

Add options from 'virt.driver'. These options are part of the
'DEFAULT' group but are included in the "nova.conf.virt" file in hope
that they can eventually be moved to their own group.

Change-Id: Icf6084c156c4990ac60c778c28a48ae5ab97273a
Implements: bp centralize-config-options
This commit is contained in:
Stephen Finucane
2016-01-14 10:37:57 +00:00
parent ce5a2fb419
commit cf41daa336
24 changed files with 87 additions and 97 deletions

View File

@@ -15,18 +15,17 @@
import re
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import strutils
import six
import nova.conf
from nova import exception
from nova.i18n import _
from nova import utils
from nova.virt import driver
CONF = cfg.CONF
CONF.import_opt('default_ephemeral_format', 'nova.virt.driver')
CONF = nova.conf.CONF
LOG = logging.getLogger(__name__)
DEFAULT_ROOT_DEV_NAME = '/dev/sda1'