]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
refactor/unify driver version strings
authorWalter A. Boring IV <walter.boring@hp.com>
Thu, 15 Aug 2013 22:54:30 +0000 (15:54 -0700)
committerWalter A. Boring IV <walter.boring@hp.com>
Thu, 15 Aug 2013 23:19:00 +0000 (16:19 -0700)
commitabac1a6c1c55c673603d4943711c02a09ed4c34d
treeabf693f7d73111d15fd4364487f84d267e9f7fda
parentb0018248b07a6d72b985fb480b5304e7761e977f
refactor/unify driver version strings

This patch updates each driver to provide
the same mechanism for reporting the version
of the driver.  It also includes fixing the
reported driver version at get_volume_stats()
time to be the version set in the driver.

When the manager starts the driver it now
logs the driver's name and version in the log file.

fixes Bug #1212878

Change-Id: Icefd065f885ad417735490e6ac90e2b21557d2dc
26 files changed:
cinder/tests/test_block_device.py
cinder/tests/test_rbd.py
cinder/tests/test_sheepdog.py
cinder/volume/driver.py
cinder/volume/drivers/block_device.py
cinder/volume/drivers/coraid.py
cinder/volume/drivers/emc/emc_smis_iscsi.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/gpfs.py
cinder/volume/drivers/hds/hds.py
cinder/volume/drivers/huawei/huawei_iscsi.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/netapp/iscsi.py
cinder/volume/drivers/netapp/nfs.py
cinder/volume/drivers/nexenta/volume.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py
cinder/volume/drivers/san/hp_lefthand.py
cinder/volume/drivers/scality.py
cinder/volume/drivers/sheepdog.py
cinder/volume/drivers/solidfire.py
cinder/volume/drivers/storwize_svc.py
cinder/volume/drivers/xenapi/sm.py
cinder/volume/manager.py