Module: FogExtensions::Ovirt::Server

Defined in:
lib/fog_extensions/ovirt/server.rb

Instance Method Summary collapse

Instance Method Details

#interfaces_attributes=(attrs) ⇒ Object


9
# File 'lib/fog_extensions/ovirt/server.rb', line 9

def interfaces_attributes=(attrs); end

#poweroffObject


13
14
15
# File 'lib/fog_extensions/ovirt/server.rb', line 13

def poweroff
  service.vm_action(:id =>id, :action => :shutdown)
end

#resetObject


17
18
19
20
# File 'lib/fog_extensions/ovirt/server.rb', line 17

def reset
  poweroff
  start
end

#stateObject


5
6
7
# File 'lib/fog_extensions/ovirt/server.rb', line 5

def state
  status
end

#volumes_attributes=(attrs) ⇒ Object


11
# File 'lib/fog_extensions/ovirt/server.rb', line 11

def volumes_attributes=(attrs);  end