from paste import deploy
from neutron.api.v2 import attributes
-from neutron.common import legacy
from neutron.common import utils
from neutron.openstack.common.db.sqlalchemy import session as db_session
from neutron.openstack.common import log as logging
cfg.CONF(args=args, project='neutron',
version='%%prog %s' % neutron_version.release_string())
- legacy.modernize_quantum_config(cfg.CONF)
-
# Validate that the base_mac is of the correct format
msg = attributes._validate_regex(cfg.CONF.base_mac,
attributes.MAC_PATTERN)
config.neutron_config = CONF
CONF()
+ #TODO(gongysh) enable logging
legacy.modernize_quantum_config(CONF)
CONF.command.func(config, CONF.command.name)
from oslo.config import cfg
from neutron.common import config
+from neutron.common import legacy
from neutron import context
from neutron.openstack.common import importutils
from neutron.openstack.common import log as logging
# Log the options used when starting if we're in debug mode...
config.setup_logging(cfg.CONF)
+ legacy.modernize_quantum_config(cfg.CONF)
# Dump the initial option values
cfg.CONF.log_opt_values(LOG, std_logging.DEBUG)
service = cls(app_name)
config.register_root_helper(cfg.CONF)
cfg.CONF(project='neutron')
- legacy.modernize_quantum_config(cfg.CONF)
config.setup_logging(cfg.CONF)
+ legacy.modernize_quantum_config(cfg.CONF)
mgr = manager.LbaasAgentManager(cfg.CONF)
svc = LbaasAgentService(