OpenSDN source code
|
#include <path_resolver.h>
Public Member Functions | |
PathResolverPartition (int part_id, PathResolver *resolver) | |
~PathResolverPartition () | |
void | StartPathResolution (BgpRoute *route, const BgpPath *path, BgpTable *nh_table) |
void | StopPathResolution (const BgpPath *path) |
void | TriggerPathResolution (ResolverPath *rpath) |
void | DeferPathResolution (ResolverPath *rpath) |
int | part_id () const |
DBTableBase::ListenerId | listener_id () const |
PathResolver * | resolver () const |
BgpTable * | table () const |
DBTablePartBase * | table_partition () |
Private Types | |
typedef std::map< const BgpPath *, ResolverPath * > | PathToResolverPathMap |
typedef std::set< ResolverPath * > | ResolverPathList |
Private Member Functions | |
ResolverPath * | CreateResolverPath (const BgpPath *path, BgpRoute *route, ResolverNexthop *rnexthop) |
ResolverPath * | FindResolverPath (const BgpPath *path) |
ResolverPath * | RemoveResolverPath (const BgpPath *path) |
bool | ProcessResolverPathUpdateList () |
void | DisableResolverPathUpdateProcessing () |
void | EnableResolverPathUpdateProcessing () |
void | PauseResolverPathUpdateProcessing () |
void | ResumeResolverPathUpdateProcessing () |
size_t | GetResolverPathUpdateListSize () const |
DISALLOW_COPY_AND_ASSIGN (PathResolverPartition) | |
Private Attributes | |
int | part_id_ |
PathResolver * | resolver_ |
PathToResolverPathMap | rpath_map_ |
ResolverPathList | rpath_update_list_ |
boost::scoped_ptr< TaskTrigger > | rpath_update_trigger_ |
Friends | |
class | PathResolver |
Definition at line 198 of file path_resolver.h.
|
private |
Definition at line 221 of file path_resolver.h.
|
private |
Definition at line 222 of file path_resolver.h.
PathResolverPartition::PathResolverPartition | ( | int | part_id, |
PathResolver * | resolver | ||
) |
Definition at line 628 of file path_resolver.cc.
PathResolverPartition::~PathResolverPartition | ( | ) |
Definition at line 644 of file path_resolver.cc.
|
private |
Definition at line 722 of file path_resolver.cc.
void PathResolverPartition::DeferPathResolution | ( | ResolverPath * | rpath | ) |
Definition at line 704 of file path_resolver.cc.
|
private |
Definition at line 777 of file path_resolver.cc.
|
private |
|
private |
Definition at line 785 of file path_resolver.cc.
|
private |
Definition at line 732 of file path_resolver.cc.
|
private |
Definition at line 809 of file path_resolver.cc.
|
inline |
|
inline |
Definition at line 210 of file path_resolver.h.
|
private |
Definition at line 793 of file path_resolver.cc.
|
private |
|
private |
|
inline |
Definition at line 214 of file path_resolver.h.
|
private |
Definition at line 801 of file path_resolver.cc.
void PathResolverPartition::StopPathResolution | ( | const BgpPath * | path | ) |
|
inline |
DBTablePartBase * PathResolverPartition::table_partition | ( | ) |
void PathResolverPartition::TriggerPathResolution | ( | ResolverPath * | rpath | ) |
Definition at line 691 of file path_resolver.cc.
|
friend |
Definition at line 219 of file path_resolver.h.
|
private |
Definition at line 236 of file path_resolver.h.
|
private |
Definition at line 237 of file path_resolver.h.
|
private |
Definition at line 238 of file path_resolver.h.
|
private |
Definition at line 239 of file path_resolver.h.
|
private |
Definition at line 240 of file path_resolver.h.