cinder.scheduler.filters.capacity_filter module

class CapacityFilter

Bases: cinder.scheduler.filters.BaseBackendFilter

Capacity filters based on volume backend’s capacity utilization.

backend_passes(backend_state, filter_properties)

Return True if host has sufficient capacity.