2011-04-27 21:49:56 -04:00
|
|
|
require 'fog/core/model'
|
|
|
|
|
|
|
|
module Fog
|
2011-06-16 16:28:54 -07:00
|
|
|
module Compute
|
|
|
|
class StormOnDemand
|
2011-04-27 21:49:56 -04:00
|
|
|
|
|
|
|
class Config < Fog::Model
|
|
|
|
identity :id
|
|
|
|
|
2013-05-21 15:10:45 +08:00
|
|
|
attribute :active
|
2011-04-27 21:49:56 -04:00
|
|
|
attribute :available
|
2013-05-21 15:10:45 +08:00
|
|
|
attribute :category
|
2013-05-21 17:35:57 +08:00
|
|
|
attribute :cpu_cores
|
|
|
|
attribute :cpu_count
|
|
|
|
attribute :cpu_hyperthreading
|
|
|
|
attribute :cpu_model
|
|
|
|
attribute :cpu_speed
|
2011-04-27 21:49:56 -04:00
|
|
|
attribute :description
|
|
|
|
attribute :disk
|
2013-05-21 17:35:57 +08:00
|
|
|
attribute :disk_count
|
|
|
|
attribute :disk_total
|
|
|
|
attribute :disk_type
|
2011-04-27 21:49:56 -04:00
|
|
|
attribute :featured
|
|
|
|
attribute :memory
|
2013-05-21 17:35:57 +08:00
|
|
|
attribute :raid_level
|
|
|
|
attribute :ram_available
|
|
|
|
attribute :ram_total
|
2011-04-27 21:49:56 -04:00
|
|
|
attribute :price
|
|
|
|
attribute :vcpu
|
2013-05-21 17:35:57 +08:00
|
|
|
attribute :zone_availability
|
|
|
|
|
|
|
|
def initialize(attributes={})
|
|
|
|
super
|
|
|
|
end
|
2011-04-27 21:49:56 -04:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|