diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-01 15:04:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-01 15:04:01 +0100 |
| commit | 89bb83a4beb058d1459a6dcb2b2469c5313f8cbb (patch) | |
| tree | 334773e534a9cc613e43dfa48291f51170b7a030 /api/opendc | |
| parent | 948451af545b089d0f85b2a7ba2ad57f963cf18d (diff) | |
| parent | 7725a580c0c3938b826c77d39da0b6a0ced119ab (diff) | |
Merge pull request #59 from atlarge-research/feat/schedulers
Make all implemented schedulers available through API
Diffstat (limited to 'api/opendc')
| -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(_): |
