Package onep :: Package routing :: Module L3UnicastRIBFilter :: Class L3UnicastRIBFilter
[frames] | no frames]

Class L3UnicastRIBFilter


This class implements the RibFilter abstract class for filtering route state events according to the specified criteria.

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

Instance Methods
 
__init__(self, owner_type=None, owner_tag=None, subnet=None)
Constructor for L3UnicastRIBFilter

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

Class Variables
  owner_type = property(_get_owner_type, _set_owner_type, None, ...
  owner_tag = property(_get_owner_tag, _set_owner_tag, None, _doc)
  subnet = property(_get_subnet, _set_subnet, None, _doc)
Properties

Inherited from object: __class__

Method Details

__init__(self, owner_type=None, owner_tag=None, subnet=None)
(Constructor)

 

Constructor for L3UnicastRIBFilter

Parameters:
  • owner_type - The protocol type of the route ownerType. (default L3UnicastRoute.OwnerType.NONE) @type : int refer ownerType in L3UnicastRoute
  • owner_tag (str) - The owner tag associated with the route (default '')
  • subnet (NetworkPrefix) - The subnet the route should match. default 0.0.0.0/0 if IPv4 scope and 0::0/0 if IPv6 scope.
Overrides: object.__init__

Class Variable Details

owner_type

Value:
property(_get_owner_type, _set_owner_type, None, _doc)