class Fog::XenServer::Compute::Models::Host

Public Instance Methods

reboot(auto_disable = true) click to toggle source
# File lib/fog/xenserver/compute/models/host.rb, line 84
def reboot(auto_disable = true)
  service.disable_host(reference) if auto_disable
  service.reboot_host(reference)
end
shutdown(auto_disable = true) click to toggle source
# File lib/fog/xenserver/compute/models/host.rb, line 79
def shutdown(auto_disable = true)
  service.disable_host(reference) if auto_disable
  service.shutdown_host(reference)
end