diff options
author | Sandy Walsh <sandy@sandywalsh.com> | 2011-10-28 08:48:10 -0700 |
---|---|---|
committer | Sandy Walsh <sandy@sandywalsh.com> | 2011-11-01 04:28:34 -0700 |
commit | d8e1b8f21043f435c7c4d6f5de5119c424956b06 (patch) | |
tree | 5fd0436544f8e2825b3b6f03ff5bceaaf0ab585a /.mailmap | |
parent | 44d9647e7ff59c907bfe7e3eb3873159556809db (diff) | |
download | nova-d8e1b8f21043f435c7c4d6f5de5119c424956b06.tar.gz |
flatten distributed scheduler
This branch removes AbstractScheduler, BaseScheduler and LeastCostScheduler
and replaces it with DistributedScheduler. Now the points of extension are
handled via the --default_host_filters and --least_cost_functions only.
Also, greatly simplified the zone handling logic in DistibutedScheduler, mostly
by removing the cryptic dicts with helper classes.
Fixed up the Least Cost functions to better deal with multiple functions.
(In a followup patch I will removed the normalization that occurs as this will
be a problem).
Tests were mostly rewritten to support this new world order.
Debated removing JSONFilter since it's not accessible from the outside world,
but decided to keep it as there are discussions afoot on making scheduler
changes without having to redeploy code or restart services.
HostFilters once again get the all the host service capabilities, but now
via a HostInfo class that mostly contains read-only dicts of capabilities.
Virtual resource consumption is done in the DistributedScheduler class now.
The filters/weighing functions don't need to worry about this. Also, weighing
functions only have to return a single host and not worry about the number of
instances requested.
Change-Id: I92600a4a9c58b1add775c328a18d8f48c305861e
Diffstat (limited to '.mailmap')
-rw-r--r-- | .mailmap | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ <paul@openstack.org> <pvoccio@castor.local> <rconradharris@gmail.com> <rick.harris@rackspace.com> <rlane@wikimedia.org> <laner@controller> +<sandy.walsh@rackspace.com> <sandy@sandywalsh.com> <sleepsonthefloor@gmail.com> <root@tonbuntu> <soren.hansen@rackspace.com> <soren@linux2go.dk> <throughnothing@gmail.com> <will.wolf@rackspace.com> |