fog/fog — pull request #1352 by rubiojr (2012-12-06 22:55:29+00:00)
Title: [xenserver] Added missing HostMetrics model, tests

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

#