Merge lp://qastaging/~ed-leafe/nova/scheduler-multifilter into lp://qastaging/~hudson-openstack/nova/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~ed-leafe/nova/scheduler-multifilter |
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk |
Diff against target: |
584 lines (+133/-118) 11 files modified
nova/scheduler/abstract_scheduler.py (+2/-2) nova/scheduler/base_scheduler.py (+20/-7) nova/scheduler/filters/abstract_filter.py (+1/-6) nova/scheduler/filters/all_hosts_filter.py (+5/-6) nova/scheduler/filters/instance_type_filter.py (+10/-4) nova/scheduler/filters/json_filter.py (+12/-8) nova/scheduler/host_filter.py (+29/-12) nova/scheduler/least_cost.py (+7/-5) nova/tests/scheduler/test_host_filter.py (+41/-33) nova/tests/scheduler/test_least_cost_scheduler.py (+5/-35) plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost (+1/-0) |
To merge this branch: | bzr merge lp://qastaging/~ed-leafe/nova/scheduler-multifilter |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sandy Walsh (community) | Approve | ||
Kevin L. Mitchell (community) | Approve | ||
Chris Behrens (community) | Approve | ||
Thierry Carrez (community) | ffe | Abstain | |
Matt Dietz (community) | Approve | ||
Review via email:
|
Description of the change
The original design for host filtering in the scheduler required the entire filtering process be contained in a single class; contrast this with the design for weighting the hosts, which allowed you to specify a list of functions that would apply various weighting factors to the hosts.
This commit modifies the filtering process to resemble the way that the weighting process is designed. Filters can now be small, focused classes, and you specify which filters to apply by setting the 'FLAGS.
Unmerged revisions
- 1454. By Ed Leafe
-
Modified the code that selects the host filters, since the default of None was causing TypeErrors.
- 1453. By Ed Leafe
-
Merged trunk
- 1452. By Ed Leafe
-
pulled latest from LP
- 1451. By Ed Leafe
-
removed some debugging output
- 1450. By Ed Leafe
-
pep8 cleanup
- 1449. By Ed Leafe
-
Fixed unit tests
- 1448. By Ed Leafe
-
start of day
- 1447. By Ed Leafe
-
merged scheduler-cleanup changes
This should wait for Essex ?