Sha256: c5f9210397e046f7ef572724e94ee3134d06e7ff4dcfe38cfe52dbd7b1e8b49d

Contents?: true

Size: 353 Bytes

Versions: 13

Compression:

Stored size: 353 Bytes

Contents

require 'fog/core/collection'
require 'fog/libvirt/models/compute/node'

module Fog
  module Libvirt
    class Compute
      class Nodes < Fog::Collection
        model Fog::Libvirt::Compute::Node

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

        def get
          all.first
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
fog-libvirt-0.13.1 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.13.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.12.2 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.12.1 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.12.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.11.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.10.1 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.10.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-csem-0.9.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.9.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.8.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.7.0 lib/fog/libvirt/models/compute/nodes.rb
fog-libvirt-0.6.0 lib/fog/libvirt/models/compute/nodes.rb