/[Apache-SVN]
ViewVC logotype

Revision 1044351


Jump to revision: Previous Next
Author: mfojtik
Date: Fri Dec 10 13:26:46 2010 UTC (13 years, 5 months ago)
Changed paths: 3
Log Message:
Allow setting the provider on the server side, and implement region overriding in the ec2 driver based off of the provider (rev 2).

The provider can now be set on the commandline to deltacloudd via -P/--provider
(putting it in ENV['API_PROVIDER']), and also from the client via a header
(putting it in Thread.current[:provider]).

The ec2 driver is currently the only driver that understands providers, and
looks in Thread.current[:provider], then ENV['API_PROVIDER'], then falls back
to a default (currently 'us-east-1', the AWS default).

Changed paths

Path Details
Directoryincubator/deltacloud/trunk/server/bin/deltacloudd modified , text changed
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb modified , text changed
Directoryincubator/deltacloud/trunk/server/lib/sinatra/rack_driver_select.rb modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26