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

29 commits

Author SHA1 Message Date
Paul Thornthwaite
6716f37c5f Replace deprecated Hash methods
Done with `rubocop --auto-correct --only DeprecatedHashMethods`
2014-05-26 16:22:08 +01:00
Paul Thornthwaite
ec8b940b2c Standardise on collection methods
Done with `rubocop --auto-correct --only CollectionMethods`
2014-05-26 16:22:07 +01:00
Paul Thornthwaite
814cb82f22 Replace alias with alias_method
Done with `rubocop --auto-correct --only Alias`
2014-05-26 16:22:07 +01:00
Paul Thornthwaite
0b529294f0 Standardise indentation of access modifiers
Done with `rubocop --auto-correct --only AccessModifierIndentation`
2014-05-26 14:31:17 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Kyle Rames
0199ee073e Revert "[hp|compute_v2] added security group support"
This reverts commit 05e10e5784.
2014-02-04 14:37:29 -06:00
Kyle Rames
05e10e5784 [hp|compute_v2] added security group support 2014-01-28 16:01:51 -06:00
Kyle Rames
01518d380c [core] updating Server models to use ssh_ip_address rather than public_ip_address 2014-01-22 14:18:35 -06:00
Rupak Ganguly
41b52ba6aa [hp|compute_v2] Fix a minor bug. 2013-10-30 19:02:52 -04:00
Terry Howe
2b4dcf0d86 make HP a bit more like openstack generic 2013-10-30 19:02:50 -04:00
Rupak Ganguly
386682e0b6 [hp|compute_v2] Add request and server model methods to add security groups to server after creation, along with tests. 2013-10-30 19:02:47 -04:00
Terry Howe
99f41d9f8c Update lib/fog/hp/models/compute_v2/server.rb 2013-10-30 19:02:46 -04:00
Rupak Ganguly
9c635a1fdc [hp|compute_v2] Fix network_name for 1.8.7 compatibility. 2013-10-30 19:02:45 -04:00
Terry Howe
bfef53cb6b Update lib/fog/hp/models/compute_v2/server.rb 2013-10-30 19:02:42 -04:00
Rupak Ganguly
3bbc799748 Add a helper method for network_names. Also, update network_name methdo to set itself to the first network with a public ip address by default. 2013-10-30 19:02:42 -04:00
Rupak Ganguly
14b5ef24b9 Remove the metadata attribute, and let it be lazy loaded as needed per server object. 2013-10-30 19:02:41 -04:00
Rupak Ganguly
2cd14ecfff Add a capability to filter collections based on aliased or original attributes. Also, add capability to specify :details => true to fetch details, non-details call being the default. 2013-10-30 19:02:41 -04:00
Rupak Ganguly
f43d7fea09 Remove the metadata attribute, and let it be lazy loaded as needed per image object. 2013-10-30 19:02:40 -04:00
Rupak Ganguly
a0d6b018a5 [hp|compute_v2] Refactor server model to add volume attachments. 2013-10-30 19:02:36 -04:00
Rupak Ganguly
6a97d92cc1 [hp|compute_v2] Update rebuild method of the server model. 2013-10-30 19:02:36 -04:00
Rupak Ganguly
4aac8c6f5b [hp|compute_v2] Update server model with flavor and image methods. Also, update the create_image method to return image model. Update tests as well. 2013-10-30 19:02:36 -04:00
Rupak Ganguly
5b0575272f [hp|compute_v2] Add update_name for server model. 2013-10-30 19:02:34 -04:00
Rupak Ganguly
d85db3126b [hp|compute_v2] Add volume attachment methods to the server model. 2013-10-30 19:02:34 -04:00
Rupak Ganguly
f7fa6ddd3a [hp|compute_v2] Add request methods and models for availability zones, along with tests. 2013-10-30 19:02:33 -04:00
Rupak Ganguly
36ec19f035 [hp|compute_v2] Fix mocks for server addresses. Fix create_server and server model to accept networks and availability zones params. 2013-10-30 19:02:33 -04:00
Rupak Ganguly
05ccc41ef6 [hp|compute_v2] Add address model along with tests. 2013-10-30 19:02:33 -04:00
Rupak Ganguly
d7a52c3aec [hp|compute_v2] Add models for flavors and key pairs, along with tests. 2013-10-30 19:02:32 -04:00
Rupak Ganguly
cb0412f8a8 [hp|compute_v2] Add tests for servers, images and metadata. 2013-10-30 19:02:32 -04:00
Rupak Ganguly
47399924c9 [hp|compute_v2] Add models for servers, images and metadata. 2013-10-30 19:02:32 -04:00