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

21 commits

Author SHA1 Message Date
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