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

Class InterfaceAddressChangeFilter


This class implements the EventFilter abstract class for filtering an interface address change event according to the specified criteria.

Changing interface address involves two operations, first where the existing ip address is released and second when new address is applied to interface. These two events will happen in quick succession if the user changed the primary address, otherwise, individual events may occur well apart from each other as and when the user removes the address and assigns new address respectively.

A Filter can be used to provide fine grain control over what events to listen to Address Change events.

Instance Methods
 
__init__(self)
The default InterfaceAddressChangeFilter constructor without specifying any filter criteria.

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

Class Variables
  address_family = property(_get_address_family, _set_address_fa...
  interface = property(_get_interface, _set_interface, None, _doc)
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

The default InterfaceAddressChangeFilter constructor without specifying any filter criteria.

The default constructor does not set any filter on the interface address change notifications. The application will receive notifications for all address changes on all network interfaces. The application can add additional filters using the interface and address_family properties.

Overrides: object.__init__

Class Variable Details

address_family

Value:
property(_get_address_family, _set_address_family, None, _doc)