Merge "Add oslo.config entry point"
This commit is contained in:
commit
66d8448938
@ -56,3 +56,7 @@ hyperv_opts = [
|
|||||||
|
|
||||||
CONF = nova.conf.CONF
|
CONF = nova.conf.CONF
|
||||||
CONF.register_opts(hyperv_opts, 'hyperv')
|
CONF.register_opts(hyperv_opts, 'hyperv')
|
||||||
|
|
||||||
|
|
||||||
|
def list_opts():
|
||||||
|
return [('hyperv', hyperv_opts)]
|
||||||
|
@ -27,6 +27,10 @@ packages =
|
|||||||
nova
|
nova
|
||||||
nova.virt.compute_hyperv
|
nova.virt.compute_hyperv
|
||||||
|
|
||||||
|
[entry_points]
|
||||||
|
oslo.config.opts =
|
||||||
|
compute_hyperv = compute_hyperv.nova.conf:list_opts
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
|
Loading…
Reference in New Issue
Block a user