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
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 = {}
'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)