mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
2990a6eba0
Added missing HostMetrics model that wraps Host.metrics OpaqueRef. conn = Fog::Compute.new({ :provider => 'XenServer', :xenserver_url => 'xenserver-test', :xenserver_username => 'root', :xenserver_password => 'secret', }) pp conn.hosts.first.metrics # => yields # <Fog::Compute::XenServer::HostMetrics # reference="OpaqueRef:161923b3-47e4-7f8c-8995-3030be9d58f8", # uuid="00d47697-3682-1e91-154b-00116a5b7878", # live=true, # memory_free="3311230976", # memory_total="4217688064", # other_config={}, # last_updated=2012-12-06 21:19:59 UTC # > |
||
---|---|---|
.. | ||
guest_metrics.rb | ||
host.rb | ||
host_metrics.rb | ||
hosts.rb | ||
network.rb | ||
networks.rb | ||
pbd.rb | ||
pbds.rb | ||
pif.rb | ||
pifs.rb | ||
pool.rb | ||
pools.rb | ||
server.rb | ||
servers.rb | ||
storage_repositories.rb | ||
storage_repository.rb | ||
vbd.rb | ||
vbd_metrics.rb | ||
vbds.rb | ||
vdi.rb | ||
vdis.rb | ||
vif.rb | ||
vifs.rb |