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

59 commits

Author SHA1 Message Date
Caius Durling
ceb5a6d73e Adding update_firewall_rule request 2011-12-26 12:27:19 +00:00
Paul Thornthwaite
e7af149bb7 [brightbox] ServerGroup association to Servers 2011-11-17 16:41:59 +00:00
Paul Thornthwaite
4577a80010 [brightbox] Correctly get Server's IP addresses as strings 2011-11-17 16:41:31 +00:00
Paul Thornthwaite
bea5bfe80a [brightbox] Make Cloud IP model's map nicer to use
* API accepts a load balancer or interface ID
* Model accepts a Server and figures out a suitable interface
2011-11-17 16:41:31 +00:00
Paul Thornthwaite
6fb4247c07 [brightbox] Updated default Ubuntu image 2011-11-17 16:41:30 +00:00
Paul Thornthwaite
254123791b [brightbox] Test and fix for API client secret reset
* Wasn't loaded although code in place
* Test format and check output isn't nil
2011-11-17 16:41:30 +00:00
Hemant Kumar
f70605cebc [Brightbox]Protocol is no longer required parameter for firewall 2011-10-27 18:58:03 +05:30
Hemant Kumar
c642dd9076 [Brightbox] Add created_at attribute for server_group,policy and firewall rule 2011-10-27 15:27:27 +05:30
Hemant Kumar
5cd31eb9a0 [Brightbox] Remove name as mandatory parameter for creating server group 2011-10-25 16:54:22 +05:30
Hemant Kumar
3f221ba83b [Brightbox] Change logic of fetching zone and flavour_id 2011-10-24 16:12:37 +05:30
Hemant Kumar
78a03d25b0 [Brightbox]Add remove_firewall_policy to computer.rb 2011-10-20 18:21:52 +05:30
Hemant Kumar
b7091ce648 [Brightbox] Add model method for remove 2011-10-20 18:21:47 +05:30
Hemant Kumar
d2cfc2560f [Brightbox] Add request for remove_firewall_policy 2011-10-20 18:21:38 +05:30
Hemant Kumar
cddae88809 [Brightbox] Add username to Image 2011-10-19 19:15:50 +05:30
Hemant Kumar
1af384fb9e [Brightbox] Add zone/server_type attribute for Server 2011-10-14 16:02:01 +05:30
Hemant Kumar
60a3f4585f [Brightbox] Fix zone_id/flavour_id getter/setter for Server 2011-10-14 16:01:23 +05:30
Paul Thornthwaite
63a204cae0 Merge branch 'master' into brightbox 2011-10-13 10:11:43 +01:00
Paul Thornthwaite
709c8b807f [brightbox] Fixed incorrect call to reset_ftp_password 2011-10-13 10:08:06 +01:00
Paul Thornthwaite
d2ba72ab15 [brightbox] Added missing requirement and request arg 2011-10-06 11:33:44 +02:00
Paul Thornthwaite
298d1a9192 [brightbox] Firewall models 2011-10-05 11:57:34 +01:00
Caius Durling
863f456ce6 [brightbox] Make update_cloud_ip request work 2011-09-30 11:08:15 +01:00
Caius Durling
43846aef5f [brightbox] Pass along server_groups when creating a server 2011-09-30 11:08:12 +01:00
Caius Durling
6f32c0a38f [brightbox] Adding *_server actions to ServerGroup model
* ServerGroup#add_servers
* ServerGroup#remove_servers
* ServerGroup#move_servers
2011-09-30 11:08:06 +01:00
Paul Thornthwaite
9596bea466 [compute|brightbox] Fixed server_groups.get
Helps to use the correct request.
2011-09-21 09:45:31 +01:00
Paul Thornthwaite
1099a03b10 [compute|brightbox] Passing options to server group update 2011-09-21 09:45:22 +01:00
Paul Thornthwaite
8bd540938b [compute|brightbox] Added ServerGroup model and collections 2011-09-20 17:15:58 +01:00
Paul Thornthwaite
8bce5d165d [compute|brightbox] Added requests for firewall management 2011-09-20 17:01:14 +01:00
Caius Durling
ae6859ff01 [compute|brightbox] Allow persistent option to be passed to Brightbox::Compute 2011-09-20 17:00:34 +01:00
Paul Thornthwaite
842f1b6e50 [compute|brightbox] Added missing requests
* reset_secret_api_client - hopefully people won't lock themselves out with this
* update_cloud_ip - request added
2011-09-20 17:00:13 +01:00
Paul Thornthwaite
1f5b152839 [compute|brightbox] Fixed typo in connection options 2011-09-19 17:30:07 +01:00
geemus
ffd01e51dd [core] pass connection_options through service init
closes 
2011-09-12 10:01:56 -05:00
Paul Thornthwaite
440bbc30f5 [compute|brightbox] Reset times to the correct type so not string attributes 2011-09-09 17:56:44 +01:00
geemus
b2c8ff0388 [core] work toward separate requires
Should facilitate the following:

    require 'fog/aws'
    require 'fog/compute'
    require 'fog/aws/compute'

I think once you `require 'rubygems'` those should work.

further cleanup should reduce common requires (ie nokogiri)
2011-08-31 15:52:53 -05:00
geemus
4002c9ff89 [compute|brightbox] move brightbox compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:31:12 -05:00
geemus
0e5fe57e3d [core] move providers to lib/fog/. 2011-08-24 14:17:46 -05:00
geemus
65c1bfffe2 [core] first steps toward seperately requirable bits 2011-08-24 13:35:08 -05:00
geemus
3be53104be [compute] consolidate 2011-01-07 16:52:09 -08:00
geemus
a5b70181d9 [bin] consolidate 2011-01-07 15:51:16 -08:00
geemus
2c3e22f4b6 Merge branch 'brightbox'
Conflicts:
	tests/brightbox/helper.rb
	tests/brightbox/requests/compute/account_tests.rb
	tests/brightbox/requests/compute/api_client_tests.rb
	tests/brightbox/requests/compute/cloud_ip_tests.rb
	tests/brightbox/requests/compute/image_tests.rb
	tests/brightbox/requests/compute/interface_tests.rb
	tests/brightbox/requests/compute/server_tests.rb
	tests/brightbox/requests/compute/server_type_tests.rb
	tests/brightbox/requests/compute/user_tests.rb
	tests/brightbox/requests/compute/zone_tests.rb
2010-12-30 13:04:19 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes 
2010-12-16 15:31:24 -08:00
Paul Thornthwaite
f2f5b68645 [brightbox] Extended LoadBalancer requests 2010-12-15 18:58:31 +00:00
Paul Thornthwaite
c63fc6cb4e [brightbox] Tests for remaining API requests
* Request tests for accounts, api_clients, cloud_ips, images, interfaces, server types, user and zones
* Added 'ready?' methods to CloudIp and Image models
* Reworked brightbox helper to include Format patterns for all of the
* Added "hack" to allow select objects to be one class OR NilClass for fields that may be a JSON string or null if unset
* Some tests are not enabled (commented out) because they need manual steps (such as uploading Image to your account before registration)
2010-12-09 10:45:24 -08:00
Paul Thornthwaite
734fbfaf43 Updated to match other tests
Conflicts:
	tests/brightbox/helper.rb
2010-12-09 16:01:38 +00:00
Paul Thornthwaite
6500fa46bf [brightbox] Tests for remaining API requests
* Request tests for accounts, api_clients, cloud_ips, images, interfaces, server types, user and zones
* Added 'ready?' methods to CloudIp and Image models
* Reworked brightbox helper to include Format patterns for all of the
* Added "hack" to allow select objects to be one class OR NilClass for fields that may be a JSON string or null if unset
* Some tests are not enabled (commented out) because they need manual steps (such as uploading Image to your account before registration)
2010-12-09 13:28:51 +00:00
Juris Galang
c37629e742 requires and recognizes clauses for services now receives a block so that the declared parameters are applied to their Real implementation. 2010-12-08 11:09:13 -08:00
Juris Galang
b9315bf7fe Added self.class_for(key) method. This allows us to inspect the requirements without having to create an instance of the service. 2010-12-08 11:08:16 -08:00
Paul Thornthwaite
e355a5ccb4 [brightbox] Rough LoadBalancer model in place 2010-12-03 16:07:52 +00:00
Paul Thornthwaite
26358ecb98 [brightbox] Load Balancer requests added with tests 2010-12-03 14:39:24 +00:00
Juris Galang
827c029a99 This is a combination of 23 commits (included merges from upstream); this commit(s) include changes to enforces recognizes/requires parameters for all supported services. Comments from the included commits follow:
- Added google_storage_* keys
- Fixed indentations.
- Factored out requires and recognizes method implementation (now relies on the requires and recognizes clause from the NamedParameters module)
- Added dependency to named-parameters gem.
- Added recognizes declaration to classes for all supported services to enforce parameter name checks -
- passing an unrecognized key when instantiating a service object will now cause an ArgumentError to be raised.
- Added NOTE
- comment added
- check/filter-out keys from credentials that are not required by the class being instantiated
- [local|storage] properly write out file contents
- Added google_storage_* keys
- Fixed indentations.
- added put_object_acl request (ref: https://github.com/geemus/fog/issues#issue/74)
- Release 0.3.24
- remove tracker reference from README
- issues is now the goto for bugs/todo
- notify and gracefully skip credential-less testsa
- [rackspace|storage] fixes for directory/files
- [local|storage] CGI.escape file names
- Release 0.3.25
- updated deps; recognized_parameters -> declared_parameters; restored options filtering if Fog.bin
- Added requires/recognizes to Fog::Terremark::Ecloud
- Updted to use latest named-parameters gem.
- Filter out unwanted parameters when Fog.bin
- Updated to latest named-parameters gem
- commented out unnecessary code
- fix missing "volume" parameter error when setting Fog::AWS::Volume#server to nil (in order to detach it)
- documentation update for key_pairs and helper
- [aws|compute] commented/documented flavors/volumes
- Fixes for issue 38 and 39
Closes 
2010-12-01 14:34:42 -08:00
geemus
5854e249aa more consistent attribute storage/usage 2010-11-19 13:45:45 -08:00