2011-08-22 02:51:47 -04:00
|
|
|
require 'fog/core/model'
|
|
|
|
|
|
|
|
module Fog
|
|
|
|
module Compute
|
|
|
|
class Libvirt
|
|
|
|
|
|
|
|
class Node < Fog::Model
|
|
|
|
|
2012-04-04 08:03:17 -04:00
|
|
|
identity :uuid
|
2011-08-22 02:51:47 -04:00
|
|
|
|
|
|
|
attribute :model
|
|
|
|
attribute :memory
|
|
|
|
attribute :cpus
|
|
|
|
attribute :mhz
|
|
|
|
attribute :nodes
|
|
|
|
attribute :sockets
|
|
|
|
attribute :cores
|
|
|
|
attribute :threads
|
|
|
|
attribute :type
|
|
|
|
attribute :version
|
|
|
|
attribute :uri
|
|
|
|
attribute :node_free_memory
|
|
|
|
attribute :max_vcpus
|
2012-04-04 08:03:17 -04:00
|
|
|
attribute :manufacturer
|
|
|
|
attribute :product
|
|
|
|
attribute :serial
|
2012-04-08 09:16:28 -04:00
|
|
|
attribute :hostname
|
2011-08-22 02:51:47 -04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|