From 4dd390987419950149e7073b35e43668e661501a Mon Sep 17 00:00:00 2001 From: Kartik Bommepally Date: Mon, 21 Oct 2013 02:18:22 -0700 Subject: [PATCH] VMware: Registering vmdk opts in global space Registering vmdk_opts in the patch. This will make sure the documentation tool will auto generates a table for the driver config params. Closes-Bug: #1242547 Change-Id: Ic12126ad5283e37113e9f75e190fa92a9277ca7f --- cinder/volume/drivers/vmware/vmdk.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cinder/volume/drivers/vmware/vmdk.py b/cinder/volume/drivers/vmware/vmdk.py index 1681498c4..cc09d2f41 100644 --- a/cinder/volume/drivers/vmware/vmdk.py +++ b/cinder/volume/drivers/vmware/vmdk.py @@ -77,6 +77,9 @@ vmdk_opts = [ 'count to something less than the configured value.'), ] +CONF = cfg.CONF +CONF.register_opts(vmdk_opts) + def _get_volume_type_extra_spec(type_id, spec_key, possible_values, default_value): -- 2.45.2