3PAR enable multiattach capability reporting
This patch enables the reporting of the multiattach capability in get_volume_stats. The scheduler currently filters on the capability for drivers that support/don't support that ability to do more than one attachment for a volume. By reporting multiattach = True, it lets the scheduler know this driver allows attaching a volume more than once. Change-Id: Ia18414bbadff14777c2266b681c03c76a2aa6889
This commit is contained in:
committed by
Walter A. Boring IV (hemna)
parent
7499db89d3
commit
5f0bd84fc0
@@ -175,10 +175,11 @@ class HP3PARCommon(object):
|
||||
2.0.40 - Make the 3PAR drivers honor the pool in create bug #1432876
|
||||
2.0.41 - Only log versions at startup. bug #1447697
|
||||
2.0.42 - Fix type for snapshot config settings. bug #1461640
|
||||
2.0.43 - Report the capability of supporting multiattach
|
||||
|
||||
"""
|
||||
|
||||
VERSION = "2.0.42"
|
||||
VERSION = "2.0.43"
|
||||
|
||||
stats = {}
|
||||
|
||||
@@ -743,7 +744,8 @@ class HP3PARCommon(object):
|
||||
'total_volumes': total_volumes,
|
||||
'capacity_utilization': capacity_utilization,
|
||||
'filter_function': filter_function,
|
||||
'goodness_function': goodness_function
|
||||
'goodness_function': goodness_function,
|
||||
'multiattach': True,
|
||||
}
|
||||
|
||||
pools.append(pool)
|
||||
|
||||
Reference in New Issue
Block a user