1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/xenserver/models/compute
Sergio Rubio 2990a6eba0 Added missing HostMetrics model
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
  #  >
2012-12-06 23:44:58 +01:00
..
guest_metrics.rb
host.rb Added missing HostMetrics model 2012-12-06 23:44:58 +01:00
host_metrics.rb Added missing HostMetrics model 2012-12-06 23:44:58 +01:00
hosts.rb
network.rb
networks.rb
pbd.rb
pbds.rb
pif.rb
pifs.rb
pool.rb
pools.rb
server.rb [xenserver] Added missing Server.tags attribute 2012-06-07 19:26:47 +02:00
servers.rb * Fix Servers.templates method 2012-04-04 20:20:07 +02:00
storage_repositories.rb
storage_repository.rb * Added new scan_sr request 2012-04-16 21:09:52 +02:00
vbd.rb * [xenserver|compute] set_attribute request now accepts var args 2012-04-19 10:53:56 +02:00
vbd_metrics.rb * Added missing VBD operations 2012-04-10 08:01:17 +02:00
vbds.rb * Added some more tests 2012-04-04 19:48:21 +02:00
vdi.rb * [xenserver|compute] set_attribute request now accepts var args 2012-04-19 10:53:56 +02:00
vdis.rb * Added create_vdi request 2012-04-09 21:33:47 +02:00
vif.rb * Added missing attributes to Server model 2012-04-13 12:44:49 +02:00
vifs.rb