class ESX::GuestInfo

Attributes

_wrapped_object[RW]

Public Class Methods

wrap(obj) click to toggle source
# File lib/esx.rb, line 592
def self.wrap(obj)
  gi = GuestInfo.new
  gi._wrapped_object = obj
  gi
end

Public Instance Methods

ip_address() click to toggle source
# File lib/esx.rb, line 598
def ip_address
  _wrapped_object.ipAddress
end
nics() click to toggle source
# File lib/esx.rb, line 602
def nics
  n = []
  _wrapped_object.net.each do |nic|
    n << NetworkInterface.wrap(nic)
  end
  n
end
tools_running_status() click to toggle source
# File lib/esx.rb, line 610
def tools_running_status
  _wrapped_object.toolsRunningStatus
end
vmware_tools_installed?() click to toggle source
# File lib/esx.rb, line 614
def vmware_tools_installed?
  _wrapped_object.toolsRunningStatus != 'guestToolsNotRunning'
end