Previous topic

The cinder.scheduler.simple Module

Next topic

The cinder.service Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.scheduler.weights.capacity Module

Capacity Weigher. Weigh hosts by their available capacity.

The default is to spread volumes across all hosts evenly. If you prefer stacking, you can set the ‘capacity_weight_multiplier’ option to a negative number and the weighing has the opposite effect of the default.

class CapacityWeigher

Bases: cinder.openstack.common.scheduler.weights.BaseHostWeigher