The cinder.scheduler.weights.goodness Module

class GoodnessWeigher

Bases: cinder.scheduler.weights.BaseHostWeigher

Goodness Weigher. Assign weights based on a host’s goodness function.

Goodness rating is the following:

  0 -- host is a poor choice
  .
  .
 50 -- host is a good choice
  .
  .
100 -- host is a perfect choice

Previous topic

The cinder.scheduler.weights.chance Module

Next topic

The cinder.scheduler.weights.stochastic Module

Project Source

This Page