Merge lp://staging/~wallyworld/juju-core/move-assignment-policy into lp://staging/~juju/juju-core/trunk
Proposed by
Ian Booth
Status: | Merged |
---|---|
Approved by: | William Reade |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1262 |
Proposed branch: | lp://staging/~wallyworld/juju-core/move-assignment-policy |
Merge into: | lp://staging/~juju/juju-core/trunk |
Prerequisite: | lp://staging/~wallyworld/juju-core/add-machine-dirty-flag |
Diff against target: |
148 lines (+3/-50) 9 files modified
environs/dummy/environs.go (+0/-7) environs/ec2/ec2.go (+0/-11) environs/ec2/local_test.go (+0/-3) environs/interface.go (+0/-3) environs/maas/environ.go (+0/-4) environs/maas/environ_test.go (+0/-6) environs/openstack/local_test.go (+0/-3) environs/openstack/provider.go (+0/-9) juju/conn.go (+3/-4) |
To merge this branch: | bzr merge lp://staging/~wallyworld/juju-core/move-assignment-policy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+165983@code.staging.launchpad.net |
Description of the change
Move assignment policy to global env config
Previoysly, each provider defined it's own AssignmentPolicy,
which was hard coded to AssignNew. Now, it's been made an
env setting with default AssignNew. With containers, it will be
possible to add a unit to an existing machine (if not dirty) so
this work is a step in that direction.
To post a comment you must log in.
Reviewers: mp+165983_ code.launchpad. net,
Message:
Please take a look.
Description:
Move assignment policy to global env config
Previoysly, each provider defined it's own AssignmentPolicy,
which was hard coded to AssignNew. Now, it's been made an
env setting with default AssignNew. With containers, it will be
possible to add a unit to an existing machine (if not dirty) so
this work is a step in that direction.
https:/ /code.launchpad .net/~wallyworl d/juju- core/move- assignment- policy/ +merge/ 165983
Requires: /code.launchpad .net/~wallyworl d/juju- core/add- machine- dirty-flag/ +merge/ 165954
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/9824043/
Affected files: config/ config. go config/ config_ test.go dummy/environs. go ec2/local_ test.go interface. go maas/environ. go maas/environ_ test.go openstack/ local_test. go openstack/ provider. go test.go
A [revision details]
M environs/
M environs/
M environs/
M environs/ec2/ec2.go
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M juju/conn.go
M state/assign_
M state/bench_test.go
M state/state.go
M state/unit.go