mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
48 lines
1.2 KiB
Ruby
48 lines
1.2 KiB
Ruby
def compute_providers
|
|
{
|
|
:aws => {
|
|
:server_attributes => {},
|
|
:mocked => true
|
|
},
|
|
:bluebox => {
|
|
:server_attributes => {
|
|
:image_id => '03807e08-a13d-44e4-b011-ebec7ef2c928', # Ubuntu 10.04 64bit
|
|
:password => 'chunkybacon'
|
|
},
|
|
:mocked => false
|
|
},
|
|
:brightbox => {
|
|
:server_attributes => {
|
|
:image_id => 'img-2ab98' # Ubuntu Lucid 10.04 server (i686)
|
|
},
|
|
:mocked => false
|
|
},
|
|
:ninefold => {
|
|
: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
|
|
},
|
|
: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
|
|
}
|
|
}
|
|
end
|