diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-04-08 20:46:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-08 20:46:39 +0200 |
| commit | 3820ac4d31d6eb04034b85a1b53667d64ce6ba89 (patch) | |
| tree | a7506b631770d6032eddc5a8252931b03c6e1796 /simulator/buildSrc/src | |
| parent | 5fdbfbe7d340bc10f8b9eebd5aa23bdfd7dc4e18 (diff) | |
| parent | 4f80e79b567b7d91b1086dcd74ef35616d7177f2 (diff) | |
compute: Implement filter scheduler
This pull request implements the filter scheduler modeled after the scheduler
from [OpenStack](https://docs.openstack.org/nova/latest/user/filter-scheduler.html).
The scheduler is functionally equivalent to the old allocation policies, but is more
flexible and allows policies to be combined.
* A new interface, `ComputeScheduler` is introduced, which is used by the
`ComputeServiceImpl` to pick hosts to schedule on.
* `FilterScheduler` is implemented, which works by filtering and weighing the available hosts.
**Breaking API Changes**
* Removal of the `AllocationPolicy` interface and its implementations.
Users should migrate to the filter scheduler which offers the same functionality and more.
Diffstat (limited to 'simulator/buildSrc/src')
0 files changed, 0 insertions, 0 deletions
