1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
Commit graph

14 commits

Author SHA1 Message Date
sue445
d9d9d2f97f git grep -l "Compute::AWS" -- tests/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g" 2018-09-17 23:02:03 +09:00
Joshua Lane
1c938fb023 doc: provide useful error message when using Volume#server=
Direct users to use #attach
2018-04-23 08:41:45 -07:00
Joshua Lane
82e36a29f0 fix: attach volume on #save, remove #server=
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.
2018-04-19 10:04:30 -07:00
Joshua Lane
24ea4675bf fix: remove Volume#server= to attach volumes
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.
2018-04-09 11:13:14 -07:00
Eugene Howe
aecd8fe2bd classic link enhancements 2017-03-14 09:20:17 -04:00
Eugene Howe
7bb82852f6 model tests as well 2017-03-03 08:16:40 -05:00
Eugene Howe
041d15fff3 subnet fixes
* 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
2017-02-21 13:36:35 -05:00
Kevin Loiseau
adb32276e8
Feedback : enhance test 2016-08-18 18:18:22 +02:00
Kevin Loiseau
88f8fad0ec
Ensure compatibility with all CI test cases 2016-08-17 12:45:52 +02:00
Kevin Loiseau
6639463158
Tests revoke egress rule 2016-08-17 12:32:55 +02:00
Kevin Loiseau
e58280cb59
Tests authorize egress rule 2016-08-17 11:59:03 +02:00
Eugene Howe
eef87291d5 mock instance stop and start properly 2015-09-22 14:28:41 -04:00
Josh Lane & Michelle Noorali
4960acd91b don't allow sg authorization is unknown sgs
* and refactor the authorize_security_group_ingress method a bit
2015-02-06 09:54:49 -08:00
Josh Lane
d48d376e9c initial import
* take the liberty of correcting Aws naming
2014-12-31 09:17:51 -08:00