~ttx/nova/privsep2

Viewing all changes in revision 1442.

  • Committer: Tarmac
  • Author(s): Ed Leafe
  • Date: 2011-08-16 13:01:41 UTC
  • mfrom: (1416.7.1 scheduler-refactor)
  • Revision ID: tarmac-20110816130141-3phlovtmtr2td4d5
Refactored the HostFilterScheduler and LeastCostScheduler classes so that they can be combined into a single class that can do both host filtering and host weighting, allowing subclasses to override those processes as needed. Also renamed the ZoneAwareScheduler to AbstractScheduler, for two reasons: one, the 'zone-aware' designation was necessary when the zone code was being developed; now that it is part of nova, it is not an important distinction. Second, the 'Abstract' part clearly indicates that this is a class that is not designed to be used directly, but rather as the basis for specific scheduler subclasses.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: