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
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
..
atmos
aws Merge pull request #1343 from musicglue/s3-cors 2012-12-05 17:21:40 -08:00
bare_metal_cloud
bin
bluebox
brightbox [Brightbox] Add ServerGroup attribute in CloudIP model 2012-12-06 11:28:40 +00:00
clodo
cloudstack
compute/models
core
dnsimple
dnsmadeeasy
dynect
ecloud
glesys
go_grid
google
hp
ibm
joyent
libvirt
linode
local
ninefold
openstack [openstack|identity] Update User Role Membership Mocks 2012-12-06 14:42:25 +08:00
ovirt
rackspace
serverlove
storm_on_demand
terremark
vcloud
virtual_box
vmfusion
voxel
vsphere
xenserver Added missing HostMetrics model 2012-12-06 23:44:58 +01:00
zerigo
atmos.rb
aws.rb Introduce AWS::COMPLIANT_BUCKET_NAMES constant 2012-12-05 21:12:25 +01:00
bare_metal_cloud.rb
bin.rb
bluebox.rb
brightbox.rb
cdn.rb
clodo.rb
cloudstack.rb
compute.rb
core.rb
dns.rb
dnsimple.rb
dnsmadeeasy.rb
dynect.rb
ecloud.rb
glesys.rb
go_grid.rb
google.rb
hp.rb Rackspace, openstack, hp API error messages are not set correctly in exceptions 2012-12-05 20:30:11 +01:00
ibm.rb
identity.rb
image.rb
joyent.rb
libvirt.rb
linode.rb
local.rb
network.rb
ninefold.rb
openstack.rb Merge pull request #1344 from maestrodev/rackspace_error_message 2012-12-05 17:08:59 -08:00
ovirt.rb
providers.rb
rackspace.rb Rackspace, openstack, hp API error messages are not set correctly in exceptions 2012-12-05 20:30:11 +01:00
serverlove.rb
storage.rb
storm_on_demand.rb
terremark.rb
vcloud.rb
version.rb remove const_defined? guard 2012-12-06 11:34:28 +00:00
virtual_box.rb
vmfusion.rb
volume.rb
voxel.rb
vsphere.rb
xenserver.rb [xenserver] Fix Fog::XenServer::Connection.authenticate 2012-12-05 15:45:39 -08:00
zerigo.rb