Class Libvirt::NWFilter
In: ext/libvirt/_libvirt.c
Parent: Object

Methods

free   name   undefine   uuid   xml_desc  

Attributes

connection  [R] 

Public Instance methods

Call virNWFilterFree to free this network filter. After this call the network filter object is no longer valid.

[Source]

/*
 * call-seq:
 *   nwfilter.free -> nil
 *
 * Call +virNWFilterFree+[http://www.libvirt.org/html/libvirt-libvirt.html#virNWFilterFree]
 * to free this network filter.  After this call the network filter object is
 * no longer valid.
 */
static VALUE libvirt_nwfilter_free(VALUE s) {

Call virNWFilterGetName to retrieve the network filter name.

[Source]

/*
 * call-seq:
 *   nwfilter.name -> string
 *
 * Call +virNWFilterGetName+[http://www.libvirt.org/html/libvirt-libvirt.html#virNWFilterGetName]
 * to retrieve the network filter name.
 */
static VALUE libvirt_nwfilter_name(VALUE s) {

Call virNWFilterUndefine to undefine the network filter.

[Source]

/*
 * call-seq:
 *   nwfilter.undefine -> nil
 *
 * Call +virNWFilterUndefine+[http://www.libvirt.org/html/libvirt-libvirt.html#virNWFilterUndefine]
 * to undefine the network filter.
 */
static VALUE libvirt_nwfilter_undefine(VALUE s) {

Call virNWFilterGetUUIDString to retrieve the network filter UUID.

[Source]

/*
 * call-seq:
 *   nwfilter.uuid -> string
 *
 * Call +virNWFilterGetUUIDString+[http://www.libvirt.org/html/libvirt-libvirt.html#virNWFilterGetUUIDString]
 * to retrieve the network filter UUID.
 */
static VALUE libvirt_nwfilter_uuid(VALUE s) {

Call virNWFilterGetXMLDesc to retrieve the XML for this network filter.

[Source]

/*
 * call-seq:
 *   nwfilter.xml_desc(flags=0) -> string
 *
 * Call +virNWFilterGetXMLDesc+[http://www.libvirt.org/html/libvirt-libvirt.html#virNWFilterGetXMLDesc]
 * to retrieve the XML for this network filter.
 */
static VALUE libvirt_nwfilter_xml_desc(int argc, VALUE *argv, VALUE s) {

[Validate]