Sha256: ad30b2ffd34e46b96c5fceae1fefc7e62b164ae2a21e6af16e18a5d21439e7db
Contents?: true
Size: 446 Bytes
Versions: 14
Compression:
Stored size: 446 Bytes
Contents
require 'fog/core/collection' require 'fog/libvirt/models/compute/server' module Fog module Compute class Libvirt class Servers < Fog::Collection model Fog::Compute::Libvirt::Server def all(filter={}) load(connection.list_domains(filter)) end def get(uuid) data = connection.list_domains(:uuid => uuid) new data.first if data end end end end end
Version data entries
14 entries across 14 versions & 8 rubygems