Class: Virt::VMWare::Guest

Inherits:
Guest
  • Object
show all
Defined in:
lib/virt/vmware/guest.rb

Instance Attribute Summary

Attributes inherited from Guest

#arch, #boot_device, #current_memory, #interface, #machine, #memory, #name, #template_path, #type, #vcpu, #volume, #xml_desc

Instance Method Summary collapse

Methods inherited from Guest

#<=>, #destroy, #new?, #poweroff, #reboot, #running?, #save, #shutdown, #start, #stop, #to_s, #uuid

Methods included from Util

#to_gb, #xml

Constructor Details

#initialize(options = {}) ⇒ Guest



4
5
6
7
8
# File 'lib/virt/vmware/guest.rb', line 4

def initialize options = {}
  super(options)
  @volume        = Volume.new options
  @interface   ||= Interface.new options
end