Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def init_cfg():
- cli_opts = [
- cfg.StrOpt('neutron_conf',
- default='/etc/neutron/neutron.conf',
- help='Neutron configuration file'))
- ]
- cfg.CONF.register_cli_opts(cli_opts)
- cfg.CONF(args=sys.argv[1:],
- project=Constants.PROJECT,
- prog=Constants.PROGRAM,
- version=Constants.VERSION,
- usage=Constants.USAGE,
- default_config_files=[cfg.CONF.neutron_conf])
- LOG.info("Config initialized")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement