2011-01-03 16:34:08 -05:00
|
|
|
def compute_providers
|
|
|
|
{
|
|
|
|
AWS => {
|
|
|
|
:server_attributes => {
|
|
|
|
:image_id => 'ami-1a837773' # image ami-1a837773 = Ubuntu
|
|
|
|
},
|
|
|
|
:mocked => true
|
|
|
|
},
|
2011-02-23 18:00:56 -05:00
|
|
|
Bluebox => {
|
|
|
|
:server_attributes => {
|
|
|
|
:image_id => 'a00baa8f-b5d0-4815-8238-b471c4c4bf72', # Ubuntu 9.10 64bit
|
2011-04-07 16:18:35 -04:00
|
|
|
:password => 'chunkybacon',
|
|
|
|
:lb_applications => '0ea478ca-d528-4764-9828-fc5f222c8c8c'
|
2011-02-23 18:00:56 -05:00
|
|
|
},
|
|
|
|
:mocked => false
|
|
|
|
},
|
2011-01-03 16:34:08 -05:00
|
|
|
Brightbox => {
|
|
|
|
:server_attributes => {
|
2011-04-27 06:02:58 -04:00
|
|
|
:image_id => 'img-2ab98' # Ubuntu Lucid 10.04 server (i686)
|
2011-01-03 16:34:08 -05:00
|
|
|
},
|
|
|
|
:mocked => false
|
|
|
|
},
|
|
|
|
Rackspace => {
|
|
|
|
:server_attributes => {
|
|
|
|
:image_id => 49, # image 49 = Ubuntu 10.04 LTS (lucid)
|
|
|
|
:name => "fog_#{Time.now.to_i}"
|
|
|
|
},
|
|
|
|
:mocked => true
|
|
|
|
},
|
|
|
|
Slicehost => {
|
|
|
|
:server_attributes => {
|
|
|
|
:image_id => 49, # image 49 = Ubuntu 10.04 LTS (lucid)
|
|
|
|
:name => "fog_#{Time.now.to_i}"
|
|
|
|
},
|
|
|
|
:mocked => false
|
2011-02-23 18:00:56 -05:00
|
|
|
},
|
|
|
|
Voxel => {
|
|
|
|
:server_attributes => {
|
|
|
|
:name => "fog.#{Time.now.to_i}",
|
|
|
|
:disk_size => 10,
|
|
|
|
:processing_cores => 1,
|
|
|
|
:image_id => 55, # image 55 = Ubuntu 10.04 (Lucid), 64-bit, base install
|
|
|
|
:facility => "LDJ1"
|
|
|
|
},
|
|
|
|
:mocked => false
|
2011-01-03 16:34:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|