~jameinel/juju-core/failing-test

Viewing all changes in revision 2515.

[r=wallyworld],[bug=1221798] Remove obsolete Public/PrivateAddress methods

The PublicAddress() and PrivateAddress() methods
on environs.EnvironProvider are no longer needed
since units now get their addresses from their
assigned machine, and these addresses are
updated by the instance poller.

Extra logic was required to allow the existing
machineAddresses method to be able to handle
subordinate units.

This work allows the Joyent provider to be
enabled. Smoke tested by hand on Joyent, local,
EC2, HP CLoud and Azure: bootstrap environment,
deploy a unit or two and check status. For
Joyent, do a little more testing and ensure
wordpress works.

https://codereview.appspot.com/82470043/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: