diff --git a/compute_hyperv/nova/conf.py b/compute_hyperv/nova/conf.py index 8853890e..fe3909e6 100644 --- a/compute_hyperv/nova/conf.py +++ b/compute_hyperv/nova/conf.py @@ -56,3 +56,7 @@ hyperv_opts = [ CONF = nova.conf.CONF CONF.register_opts(hyperv_opts, 'hyperv') + + +def list_opts(): + return [('hyperv', hyperv_opts)] diff --git a/setup.cfg b/setup.cfg index 597b903a..35d01e51 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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