Merge lp:~axwalk/juju-core/instances-arch-preference into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2741 |
Proposed branch: | lp:~axwalk/juju-core/instances-arch-preference |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
349 lines (+160/-66) 4 files modified
environs/instances/image.go (+44/-19) environs/instances/image_test.go (+94/-47) juju/arch/arch.go (+15/-0) juju/arch/arch_test.go (+7/-0) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/instances-arch-preference |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+219839@code.launchpad.net |
Commit message
Fix arch preference algorithm
Change the instance architecture preference
selection to widest word-size, then first
arch name by alphabetical order. For tie-
breakers, choose the instance type based on
provider-specific ordering.
In the future we may want to extend the
ordering to include cost. For now, we rely
on the providers ordering instance types by
their own preference (no change here).
Description of the change
Fix arch preference algorithm
Change the instance architecture preference
selection to widest word-size, then first
arch name by alphabetical order. For tie-
breakers, choose the instance type based on
provider-specific ordering.
In the future we may want to extend the
ordering to include cost. For now, we rely
on the providers ordering instance types by
their own preference (no change here).
Reviewers: mp+219839_ code.launchpad. net,
Message:
Please take a look.
Description:
Fix arch preference algorithm
Change the instance architecture preference
selection to widest word-size, then first
arch name by alphabetical order. For tie-
breakers, choose the instance type based on
provider-specific ordering.
In the future we may want to extend the
ordering to include cost. For now, we rely
on the providers ordering instance types by
their own preference (no change here).
https:/ /code.launchpad .net/~axwalk/ juju-core/ instances- arch-preference /+merge/ 219839
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/94530045/
Affected files (+76, -58 lines): instances/ image.go instances/ image_test. go arch_test. go
A [revision details]
M environs/
M environs/
M juju/arch/arch.go
M juju/arch/