From: Kartik Bommepally Date: Mon, 21 Oct 2013 09:18:22 +0000 (-0700) Subject: VMware: Registering vmdk opts in global space X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4dd390987419950149e7073b35e43668e661501a;p=openstack-build%2Fcinder-build.git 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 --- 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):