Class: Fog::Compute::Libvirt::Nodes

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/libvirt/models/compute/nodes.rb

Instance Method Summary collapse

Instance Method Details

#all(filter = { }) ⇒ Object



12
13
14
# File 'lib/fog/libvirt/models/compute/nodes.rb', line 12

def all(filter={ })
  load(service.get_node_info)
end

#getObject



16
17
18
# File 'lib/fog/libvirt/models/compute/nodes.rb', line 16

def get
  all.first
end