From da3995150d6eacf7695c4606e83c24c82a17546d Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Tue, 20 Jan 2015 18:00:41 +0100 Subject: [PATCH] Add a hook for nova.cmd.spicehtml5proxy The cmd/ folders are excluded from the autohelp imports to avoid ending up with a bunch of CLI options. nova/cmd/spicehtml5proxy.py holds real configuration options and needs to be imported. Change-Id: Ic0f8066332a45cae253ad3e03f4717f1887e16ee Partial-Bug: #1394595 --- autogenerate_config_docs/hooks.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/autogenerate_config_docs/hooks.py b/autogenerate_config_docs/hooks.py index dbebbe02..a51cde59 100644 --- a/autogenerate_config_docs/hooks.py +++ b/autogenerate_config_docs/hooks.py @@ -35,5 +35,10 @@ def glance_store_config(): pass +def nova_spice(): + import nova.cmd.spicehtml5proxy # noqa + + HOOKS = {'keystone.common.config': keystone_config, - 'glance.common.config': glance_store_config} + 'glance.common.config': glance_store_config, + 'nova.spice': nova_spice}