~themue/juju-core/024-cleanup-watcher

Viewing all changes in revision 1238.

state/api: Rest of provisioner API calls

New calls added to the API needed by the provisioner:
* Machine.Remove
* Machine.Series
* Machine.Constraints
* Machine.SetProvisioned
* Machine.Status
* State.AllMachines

All of the above are agent-only APIs, and except for
Series, currently can be called only by the environment
manager.

SetMongoPassword is not needed anymore for the agents,
because it's handled by the API server when calling
SetPassword (see https://codereview.appspot.com/9723043).

Some cleanup was performed driving by the code,
like improved comments and removed redundant ones.

R=mue, rog
CC=
https://codereview.appspot.com/9708044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: