class Fog::Compute::Ovirt::Servers

Public Instance Methods

all(filters = {}) click to toggle source
# File lib/fog/ovirt/models/compute/servers.rb, line 12
def all(filters = {})
  load connection.list_virtual_machines(filters)
end
bootstrap(new_attributes = {}) click to toggle source
# File lib/fog/ovirt/models/compute/servers.rb, line 20
def bootstrap(new_attributes = {})
  server = create(new_attributes)
  server.wait_for { stopped? }
  server.start
  server
end
get(id) click to toggle source
# File lib/fog/ovirt/models/compute/servers.rb, line 16
def get(id)
  new connection.get_virtual_machine(id)
end