Merge "Add oslo.config entry point"

This commit is contained in:
Zuul 2017-11-13 14:07:51 +00:00 committed by Gerrit Code Review
commit 66d8448938
2 changed files with 8 additions and 0 deletions

View File

@ -56,3 +56,7 @@ hyperv_opts = [
CONF = nova.conf.CONF
CONF.register_opts(hyperv_opts, 'hyperv')
def list_opts():
return [('hyperv', hyperv_opts)]

View File

@ -27,6 +27,10 @@ packages =
nova
nova.virt.compute_hyperv
[entry_points]
oslo.config.opts =
compute_hyperv = compute_hyperv.nova.conf:list_opts
[build_sphinx]
source-dir = doc/source
build-dir = doc/build