diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-01 15:02:13 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-01 15:02:13 +0100 |
| commit | 7725a580c0c3938b826c77d39da0b6a0ced119ab (patch) | |
| tree | b06a0c641e97ec77ed041d95cf51fa74047ced67 | |
| parent | 7493be615fd1ef0a629b32318416d3f0d2b868fb (diff) | |
Make all implemented schedulers available through API
| -rw-r--r-- | api/opendc/api/v2/schedulers/endpoint.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/api/opendc/api/v2/schedulers/endpoint.py b/api/opendc/api/v2/schedulers/endpoint.py index 127b5f1a..9c19f631 100644 --- a/api/opendc/api/v2/schedulers/endpoint.py +++ b/api/opendc/api/v2/schedulers/endpoint.py @@ -1,6 +1,16 @@ from opendc.util.rest import Response -SCHEDULERS = ['core-mem'] +SCHEDULERS = [ + 'mem', + 'mem-inv', + 'core-mem', + 'core-mem-inv', + 'active-servers', + 'active-server-inv', + 'provisioned-cores', + 'provisioned-cores-inv', + 'random' +] def GET(_): |
