]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add multiattach capabilities injection
authorWalter A. Boring IV <walter.boring@hp.com>
Thu, 26 Feb 2015 22:59:13 +0000 (22:59 +0000)
committerWalter A. Boring IV (hemna) <walter.boring@hp.com>
Wed, 11 Mar 2015 16:01:18 +0000 (16:01 +0000)
commit4667a3b9de44ed682310b74272db4921259e8b8b
tree4ea9d620fa73b0d548a9032d9d83052cfdeb67e9
parent10d54216871fde27172fbcb1a3c9bfec59b824c2
Add multiattach capabilities injection

This patch is a follow up to the multiattach patch that adds
the ability to the scheduler to be able to filter capabilities
on the volume multiattach flag.   When a volume creation request
comes in with the multiattach flag set on a volume, there was no
way to filter out backends that don't support attaching a volume
to more than one host.   By defaut, no host supports it.  When
The Nova side lands, we can adjust drivers to add the new
multiattach:True capability reporting.

Change-Id: Ia426a2bf2ab8214f52fb6e70a3a1deff68d13d98
cinder/scheduler/filter_scheduler.py
cinder/scheduler/host_manager.py