Add ActionComplete and ActionFail to the API
Update the api and cache test.
Careful exposition of the ConnectionEndpoint.
Fix the rest.
Fix imports
Update loggo import. Rename suite, and remove old code.
Update the api and cache test.
Careful exposition of the ConnectionEndpoint.
Fix the rest.
Update loggo import. Rename suite, and remove old code.
Merge pull request #290 from howbazaar/env-cmd-env-name-method

unexport the env command EnvName value

This PR finally manages to hide the EnvName from the environment command.

A ConnectionEndpoint function is moved from the juju package, along with the tests.

A ConnectionName method is added with the caveat that the name may be empty.

The EnvironName method on the wrapper was never called, and was confusing, so I removed it.

The manual provisioning still takes a connection name, but it should be changed to take either the config or api end point. This will be addressed in a follow up branch.

The testing of the api end point caching was in the wrong place. It stays in the juju package, but in a different test suite.
Merge branch 'master' of github.com:juju/juju into env-cmd-manual
Manual provider updates.
clean up the client
Updates following review.
Merge pull request #308 from howbazaar/env-cmd-manual

Env cmd manual

This work removes the dependency that the manual provisioning had on the environment name.

Instead, the provisioning requires something that supports the API it needs to call.  This means that the interface that the add-machine command depends on needs a few more methods.

The AddMachines client method is now used, and the 1.18 fall-back code is removed.
Merge pull request #303 from johnweldon/action-api-complete

Add ActionComplete and ActionFail to the API
prefer-ipv6 passed through to agent config
Merge pull request #307 from dimitern/prefer-ipv6-agent-config

Pass prefer-ipv6 flag through agent config

This builds upon the previous PR adding the prefer-ipv6 environ
config setting. Now, the prefer-ipv6 flag is passed through further
to the agent config, so the agents can initialize the network package
with it even before connecting to the API/state servers (no environ
config yet).