def parse_args(argv, default_config_files=None): options.set_defaults(sql_connection=_DEFAULT_SQL_CONNECTION, sqlite_db='nova.sqlite') rpc.set_defaults(control_exchange='nova') cfg.CONF(argv[1:], project='nova', version=version.version_string(), default_config_files=default_config_files) rpc.init(cfg.CONF)
def parse_args(argv, default_config_files=None): options.set_defaults(sql_connection=_DEFAULT_SQL_CONNECTION, sqlite_db='nova.sqlite') rpc.set_defaults(control_exchange='nova') nova_default_log_levels = (log.DEFAULT_LOG_LEVELS + ["keystonemiddleware=WARN", "routes.middleware=WARN"]) log.set_defaults(default_log_levels=nova_default_log_levels) debugger.register_cli_opts() cfg.CONF(argv[1:], project='nova', version=version.version_string(), default_config_files=default_config_files) rpc.init(cfg.CONF)
def parse_args(argv, default_config_files=None): options.set_defaults(sql_connection=_DEFAULT_SQL_CONNECTION, sqlite_db='nova.sqlite') rpc.set_defaults(control_exchange='nova') nova_default_log_levels = ( log.DEFAULT_LOG_LEVELS + ["keystonemiddleware=WARN", "routes.middleware=WARN"]) log.set_defaults(default_log_levels=nova_default_log_levels) debugger.register_cli_opts() cfg.CONF(argv[1:], project='nova', version=version.version_string(), default_config_files=default_config_files) rpc.init(cfg.CONF)
def parse_args(argv, default_config_files=None): options.set_defaults(sql_connection=_DEFAULT_SQL_CONNECTION, sqlite_db="nova.sqlite") rpc.set_defaults(control_exchange="nova") debugger.register_cli_opts() cfg.CONF(argv[1:], project="nova", version=version.version_string(), default_config_files=default_config_files) rpc.init(cfg.CONF)