¡@

Home 

OpenStack Study: config.py

OpenStack Index

**** CubicPower OpenStack Study ****

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)