DescriptionAdd Instance.Addresses() and use for openstack
Changes the Instance interface to require a new Addresses()
method. This will be used to present cloud-specific address
details in the generic fashion, which a future branch will
record in state.
The code includes the required implementation for Openstack,
maintaining support for the current quirks but shifting some
of the general logic into the shared instance/address.go file.
Currently all calls still go back through the cloud api, but
when the results are recorded in state and can be updated by
the state server, it will be possible make users of DNSName and
WaitDNSName consumers of machineDoc only.
https://code.launchpad.net/~gz/juju-core/openstack_addresses/+merge/175714
Requires: https://code.launchpad.net/~gz/juju-core/instance_address/+merge/175713
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 17
Patch Set 2 : Add Instance.Addresses() and use for openstack #
Total comments: 9
Patch Set 3 : Add Instance.Addresses() and use for openstack #
MessagesTotal messages: 7
|