def openstack_base_setup(process_name):
"""General purpose entrypoint
Sets up non-specific bits (the integration with OpenStack and its
config, and so on).
"""
# Arguments, config files and options
cfg.CONF(sys.argv[1:])
# General logging
logging.setup(cfg.CONF, process_name)
# Guru meditation support enabled
gmr_opts.set_defaults(cfg.CONF)
gmr.TextGuruMeditation.setup_autorun(
version.version_info,
service_name='vpp-agent')
评论列表
文章目录