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



10
11
12
# File 'lib/fog/libvirt/models/compute/nodes.rb', line 10

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

#getObject



14
15
16
# File 'lib/fog/libvirt/models/compute/nodes.rb', line 14

def get
  all.first
end