The nova.cells.weights.weight_offset Module

Weigh cells by their weight_offset in the DB. Cells with higher weight_offsets in the DB will be preferred.

class WeightOffsetWeigher

Bases: nova.cells.weights.BaseCellWeigher

Weight cell by weight_offset db field. Originally designed so you can set a default cell by putting its weight_offset to 999999999999999 (highest weight wins)


Previous topic

The nova.cells.weights.ram_by_instance_type Module

Next topic

The nova.cert.manager Module

Project Source

This Page