s/service/server/ in Volume#save. Fixes attaching after initialization.
Require users to call #attach(server, device) to attach a volume after
it's created. Volume#server=(new_server) having a side-effect of
attaching a volume is confusing.
Volume#device set on #initialize will be lost when calling
Volume#wait_for in fog-core ~> 2.0.
BREAKING CHANGE
Volume#server= is removed.
new fog-core model#reload resets the model the current remote state.
The previous implementation of volume relied upon initializing with a
device, reloading the model several times, and then attaching with a
server instance is set. IMO, the new fog-core is doing the correct
thing.
To support this behavior, make #attach and #detach public methods and
require a device argument in #attach. #server= does exist but only as
an attr_writer. This may cause some confusion in the future release
and must be included in the CHANGELOG.
* need to return subnet id in instance mocks
* subnet -> network interfaces relationship
* move addresses to and from vpcs
* bump compute api version to 2016-11-15
* [mock] set dnsname for instance if the vpc is setup for it