namespace filter

A class which registers defined callbacks upon creation. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods


Detailed Description

A class which registers defined callbacks upon creation.

Callbacks are thus registered once [static] and before the factory is actually used.

enum Filter { IMPORT = 1, EXPORT_SOURCEMATCH = 2, EXPORT = 4 }

Filter

There are three type of filters:

IMPORT: deals with import filtering. Incoming routes from other routers and possibly the rib.

EXPORT_SOURCE_MATCH: a filter which tags routes that need to be redistributed. This filter only modifies policytags.

EXPORT: Filters outgoing routes from the routing protocols to other routers and possibly the rib itself.

std::string  filter2str (const Filter& f)

filter2str

Parameters:

ffilter type to convert to human readable string.

Returns: string representation of filter name.


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:23 2006, using kdoc $.