Merge lp:~gz/pyjuju/os_scheduler_hints_1049858 into lp:pyjuju
Proposed by
Martin Packman
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jim Baker | ||||
Approved revision: | 599 | ||||
Merged at revision: | 601 | ||||
Proposed branch: | lp:~gz/pyjuju/os_scheduler_hints_1049858 | ||||
Merge into: | lp:pyjuju | ||||
Diff against target: |
221 lines (+105/-3) 7 files modified
juju/providers/openstack/client.py (+3/-1) juju/providers/openstack/launch.py (+5/-1) juju/providers/openstack/provider.py (+17/-0) juju/providers/openstack/tests/__init__.py (+2/-0) juju/providers/openstack/tests/test_client.py (+30/-0) juju/providers/openstack/tests/test_launch.py (+19/-1) juju/providers/openstack/tests/test_provider.py (+29/-0) |
||||
To merge this branch: | bzr merge lp:~gz/pyjuju/os_scheduler_hints_1049858 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+131642@code.launchpad.net |
Description of the change
Support Openstack scheduler hints as a constraint
Adds Openstack provider specific 'os-scheduler-
that instead of helping determine the flavor to use, is simply passed
through when creating the server. This depends on the SchedulerHints
extension that can then influence where to spin up the underlying vm.
As the api expects a json object of string to object pairs, the format
of the constraint is simply json too, with basic validation.
To post a comment you must log in.
Reviewers: mp+131642_ code.launchpad. net,
Message:
Please take a look.
Description:
Support Openstack scheduler hints as a constraint
Adds Openstack provider specific 'os-scheduler- hints' pseudo-constraint
that instead of helping determine the flavor to use, is simply passed
through when creating the server. This depends on the SchedulerHints
extension that can then influence where to spin up the underlying vm.
As the api expects a json object of string to object pairs, the format
of the constraint is simply json too, with basic validation.
https:/ /code.launchpad .net/~gz/ juju/os_ scheduler_ hints_1049858/ +merge/ 131642
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6783059/
Affected files: openstack/ client. py openstack/ launch. py openstack/ provider. py openstack/ tests/_ _init__ .py openstack/ tests/test_ client. py openstack/ tests/test_ launch. py openstack/ tests/test_ provider. py
A [revision details]
M juju/providers/
M juju/providers/
M juju/providers/
M juju/providers/
M juju/providers/
M juju/providers/
M juju/providers/