~rogpeppe/juju-core/438-local-instance-Addresses

[r=fwereade],[bug=1234035] Fix upgrade 1.14 -> 1.15

This adds a Tools() API call to provisioner API,
similarly to the upgrader API. Common code factored
out into apiserver/common/tools.go.

SetAgentTools() renamed to SetAgentVersion() in
machine and unit state types. Also renamed a few
types in params to be shorter or better reflect
what are they about. Added DEPRECATE(v1.18) tags
to bits of the API that need cleanup.

Live tested on EC2 - after copying the tools from
/tools/releases/ to /tools/ the upgrade proceeds
and finishes successfully.

https://codereview.appspot.com/14231044/

R=fwereade, jameinel
Filename Latest Rev Last Changed Committer Comment Size
..
jsoncodec 1214.1.1 11 years ago Roger Peppe rpc: refactor to be symmetrical Diff
rpcreflect 1863.2.3 11 years ago Roger Peppe rpc/rpcreflect: new package Diff
client.go 1894.3.2 11 years ago Tim Penhey Remove log import. 4.2 KB Diff Download File
reflect_test.go 1863.4.14 11 years ago Roger Peppe rpc: more rpcreflect tests 4.1 KB Diff Download File
rpc_test.go 1863.4.11 11 years ago Roger Peppe rpc: remove unused import 20.3 KB Diff Download File
server.go 1894.3.1 11 years ago Tim Penhey Use correct loggers. 11.8 KB Diff Download File