Code Review
/
openstack-build
/
cinder-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
05a3022
)
Fix for infinity capacity reporting in EQL driver
author
ArkadyKanevsky
<arkady_kanevsky@dell.com>
Fri, 13 Feb 2015 16:22:38 +0000
(10:22 -0600)
committer
ArkadyKanevsky
<arkady_kanevsky@dell.com>
Wed, 25 Feb 2015 14:42:44 +0000
(08:42 -0600)
Updated default values for total and free capacity from infinity to 0.
No more usage of unknown or infinity.
Closes bug: #
1421843
Change-Id: I8bebdb9f54642ffb6ab77e81f759549db3ab838a
cinder/volume/drivers/eqlx.py
patch
|
blob
|
history
diff --git
a/cinder/volume/drivers/eqlx.py
b/cinder/volume/drivers/eqlx.py
index 6e4704173ab88c1b8b1f6d7948f8c71760ba7162..63c9bfbca02cedd06059f62f7242e56cc316cac6 100644
(file)
--- a/
cinder/volume/drivers/eqlx.py
+++ b/
cinder/volume/drivers/eqlx.py
@@
-289,8
+289,8
@@
class DellEQLSanISCSIDriver(SanISCSIDriver):
data['reserved_percentage'] = 0
data['QoS_support'] = False
- data['total_capacity_gb'] =
'infinite'
- data['free_capacity_gb'] =
'infinite'
+ data['total_capacity_gb'] =
0
+ data['free_capacity_gb'] =
0
for line in self._eql_execute('pool', 'select',
self.configuration.eqlx_pool, 'show'):