Search
  • Software
    • Overview
    • OpenStack Components
    • SDKs
    • Deployment Tools
    • OpenStack Map
    • Sample Configs
  • Use Cases
    • Users in Production

    • Ironic Bare Metal
    • Edge Computing
    • Telecom & NFV
    • Science and HPC
    • Containers
    • Enterprise
    • User Survey
  • Events
    • OpenInfra Summit
    • Project Teams Gathering
    • OpenDev
    • Community Events
    • OpenStack & OpenInfra Days
    • Summit Videos
  • Community
    • Welcome! Start Here
    • OpenStack Technical Committee
    • Speakers Bureau
    • OpenStack Wiki
    • Get Certified (COA)
    • Jobs
    • Marketing Resources
    • Community News
    • Superuser Magazine

    • OpenInfra Foundation Supporting Organizations
    • OpenInfra Foundation
  • Marketplace
    • Training
    • Distros & Appliances
    • Public Clouds
    • Hosted Private Clouds
    • Remotely Managed Private Clouds
    • Consulting & Integrators
    • Drivers
  • Blog
  • Docs
  • Join
    • Sign up for Foundation Membership
    • Sponsor the Foundation
    • More about the Foundation
  • Log In

cinder.scheduler.weights package

cinder.scheduler.weights package¶

Submodules¶

  • cinder.scheduler.weights.capacity module
    • AllocatedCapacityWeigher
      • AllocatedCapacityWeigher.weight_multiplier()
    • CapacityWeigher
      • CapacityWeigher.weigh_objects()
      • CapacityWeigher.weight_multiplier()
  • cinder.scheduler.weights.chance module
    • ChanceWeigher
  • cinder.scheduler.weights.goodness module
    • GoodnessWeigher
  • cinder.scheduler.weights.stochastic module
    • StochasticHostWeightHandler
      • StochasticHostWeightHandler.get_weighed_objects()
  • cinder.scheduler.weights.volume_number module
    • VolumeNumberWeigher
      • VolumeNumberWeigher.weight_multiplier()

Module contents¶

Scheduler host weights

class BaseHostWeigher¶

Bases: BaseWeigher

Base class for host weights.

class OrderedHostWeightHandler(namespace)¶

Bases: BaseWeightHandler

object_class¶

alias of WeighedHost

class WeighedHost(obj, weight: float)¶

Bases: WeighedObject

to_dict()¶
this page last updated: 2025-04-29 17:54:53
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug
  • Guides
  • Install Guides
  • User Guides
  • Configuration Guides
  • Operations and Administration Guides
  • API Guides
  • Contributor Guides
  • Languages
  • Deutsch (German)
  • Français (French)
  • Bahasa Indonesia (Indonesian)
  • Italiano (Italian)
  • 日本語 (Japanese)
  • 한국어 (Korean)
  • Português (Portuguese)
  • Türkçe (Türkiye)
  • 简体中文 (Simplified Chinese)

cinder 26.1.0.dev26

  • Installation Guide
  • Cinder Administration
  • Cinder Service Configuration
  • All About Cinder Drivers
  • Command-Line Interface Reference
  • Contributor Guide
    • Getting Started
    • Writing Release Notes
    • Programming HowTos and Tutorials
    • Managing the Development Cycle
    • Documentation Contribution
    • Background Concepts for Cinder
    • Other Resources
    • Indices and tables
  • API Microversions
  • Glossary

Page Contents

  • cinder.scheduler.weights package
    • Submodules
    • Module contents
      • BaseHostWeigher
      • OrderedHostWeightHandler
        • OrderedHostWeightHandler.object_class
      • WeighedHost
        • WeighedHost.to_dict()

OpenStack

  • Projects
  • OpenStack Security
  • Blog
  • News

Community

  • User Groups
  • Events
  • Jobs
  • Companies
  • Contribute

Documentation

  • OpenStack Manuals
  • Getting Started
  • API Documentation
  • Wiki

Branding & Legal

  • Legal Docs
  • Logos & Guidelines
  • Trademark Policy
  • Privacy Policy
  • OpenInfra CLA

Stay In Touch

The OpenStack project is provided under the Apache 2.0 license. Docs.openstack.org is powered by Rackspace Cloud Computing.