Package onep :: Package interfaces :: Module InterfaceCreateDeleteFilter :: Class InterfaceCreateDeleteFilter
[frames] | no frames]

Class InterfaceCreateDeleteFilter


This class implements the EventFilter abstract class for filtering an interface create/delete event according to the specified criteria.

A filter can be used to provide fine-tuned control over which events to listen to.

If a specific interface is set in the filter, the rest of the criteria are ignored.

If a specific interface is not set, the 'include_subinterfaces' property will be ignored.

Instance Methods
 
__init__(self)
The default constructor does not set any filter on the interface address change notifications.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  interface = property(_get_interface, _set_interface, None, _doc)
  include_subinterfaces = property(_get_include_subinterfaces, _...
  interface_type = property(_get_interface_type, _set_interface_...
  encap = property(_get_encap, _set_encap, None, _doc)
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

The default constructor does not set any filter on the interface address
change notifications. The application will receive notifications for all
interface create delete events. 

The application can add filters using the interface, encap, interface_type and
 include_subinterfaces properties.

Overrides: object.__init__

Class Variable Details

include_subinterfaces

Value:
property(_get_include_subinterfaces, _set_include_subinterfaces, None,\
 _doc)

interface_type

Value:
property(_get_interface_type, _set_interface_type, None, _doc)