]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
VMware: Registering vmdk opts in global space
authorKartik Bommepally <kbommepally@vmware.com>
Mon, 21 Oct 2013 09:18:22 +0000 (02:18 -0700)
committerKartik Bommepally <kbommepally@vmware.com>
Wed, 23 Oct 2013 05:22:10 +0000 (22:22 -0700)
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

index 1681498c41cdc266b9c8cd559fc5053b814e368f..cc09d2f411eb07bd3fa80ec75e8ecb272bfba16f 100644 (file)
@@ -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):