Class: Libvirt::Collection::NWFilterCollection

Inherits:
AbstractCollection show all
Defined in:
lib/libvirt/collection/nwfilter_collection.rb

Overview

Represents a collection of network filters.

Instance Attribute Summary

Attributes inherited from AbstractCollection

#interface

Instance Method Summary collapse

Methods inherited from AbstractCollection

#initialize

Constructor Details

This class inherits a constructor from Libvirt::Collection::AbstractCollection

Instance Method Details

#allArray<NWFilter>

Returns all network filters.

Returns:

  • (Array<NWFilter>)


8
9
10
11
12
# File 'lib/libvirt/collection/nwfilter_collection.rb', line 8

def all
  read_array(:virConnectListNWFilters, :virConnectNumOfNWFilters, :string).each do |name|
    # TODO
  end
end