OpenSDN source code
|
#include <bgp_mvpn.h>
Classes | |
class | DeleteActor |
Public Types | |
typedef std::vector < MvpnManagerPartition * > | PartitionList |
typedef PartitionList::const_iterator | const_iterator |
typedef std::map < RouteDistinguisher, MvpnNeighbor > | NeighborMap |
Private Member Functions | |
void | AllocPartitions () |
void | FreePartitions () |
void | ProcessType1ADRoute (MvpnRoute *route) |
void | RouteListener (DBTablePartBase *tpart, DBEntryBase *db_entry) |
bool | FindResolvedNeighbor (const BgpPath *path, MvpnNeighbor *neighbor) const |
void | SetDBState (MvpnRoute *route, MvpnDBState *mvpn_dbstate) |
void | ClearDBState (MvpnRoute *route) |
DISALLOW_COPY_AND_ASSIGN (MvpnManager) | |
Private Attributes | |
MvpnTable * | table_ |
ErmVpnTable * | ermvpn_table_ |
int | listener_id_ |
int | identifier_listener_id_ |
tbb::atomic< int > | db_states_count_ |
PartitionList | partitions_ |
NeighborMap | neighbors_ |
tbb::reader_writer_lock | neighbors_mutex_ |
boost::scoped_ptr< DeleteActor > | deleter_ |
LifetimeRef< MvpnManager > | table_delete_ref_ |
LifetimeRef< MvpnManager > | ermvpn_table_delete_ref_ |
Friends | |
class | MvpnManagerPartition |
Definition at line 157 of file bgp_mvpn.h.
typedef PartitionList::const_iterator MvpnManager::const_iterator |
Definition at line 160 of file bgp_mvpn.h.
typedef std::map<RouteDistinguisher, MvpnNeighbor> MvpnManager::NeighborMap |
Definition at line 161 of file bgp_mvpn.h.
typedef std::vector<MvpnManagerPartition *> MvpnManager::PartitionList |
Definition at line 159 of file bgp_mvpn.h.
MvpnManager::MvpnManager | ( | MvpnTable * | table, |
ErmVpnTable * | ermvpn_table | ||
) |
Definition at line 397 of file bgp_mvpn.cc.
|
virtual |
Definition at line 408 of file bgp_mvpn.cc.
|
private |
|
private |
bool MvpnManager::deleted | ( | ) | const |
Definition at line 423 of file bgp_mvpn.cc.
const LifetimeActor * MvpnManager::deleter | ( | ) | const |
Definition at line 427 of file bgp_mvpn.cc.
LifetimeActor* MvpnManager::deleter | ( | ) |
|
private |
bool MvpnManager::FindNeighbor | ( | const RouteDistinguisher & | rd, |
MvpnNeighbor * | nbr | ||
) | const |
Definition at line 239 of file bgp_mvpn.cc.
|
private |
|
private |
Definition at line 463 of file bgp_mvpn.cc.
MvpnProjectManager * MvpnManager::GetProjectManager | ( | ) |
|
virtual |
int MvpnManager::listener_id | ( | ) | const |
Definition at line 419 of file bgp_mvpn.cc.
void MvpnManager::ManagedDelete | ( | ) |
Definition at line 454 of file bgp_mvpn.cc.
bool MvpnManager::MayDelete | ( | ) | const |
const MvpnManager::NeighborMap & MvpnManager::neighbors | ( | ) | const |
Definition at line 250 of file bgp_mvpn.cc.
size_t MvpnManager::neighbors_count | ( | ) | const |
Definition at line 256 of file bgp_mvpn.cc.
|
inline |
Definition at line 186 of file bgp_mvpn.h.
void MvpnManager::OriginateType1Route | ( | ) |
|
private |
void MvpnManager::ReOriginateType1Route | ( | const Ip4Address & | old_identifier | ) |
void MvpnManager::ResolvePath | ( | RoutingInstance * | rtinstance, |
BgpRoute * | rt, | ||
BgpPath * | path | ||
) |
|
private |
BgpRoute* MvpnManager::RouteReplicate | ( | BgpServer * | server, |
BgpTable * | src_table, | ||
BgpRoute * | source_rt, | ||
const BgpPath * | src_path, | ||
ExtCommunityPtr | comm | ||
) |
|
private |
MvpnTable * MvpnManager::table | ( | ) |
Definition at line 411 of file bgp_mvpn.cc.
const MvpnTable * MvpnManager::table | ( | ) | const |
Definition at line 415 of file bgp_mvpn.cc.
|
virtual |
|
virtual |
|
friend |
Definition at line 189 of file bgp_mvpn.h.
|
private |
Definition at line 205 of file bgp_mvpn.h.
|
private |
Definition at line 211 of file bgp_mvpn.h.
|
private |
Definition at line 202 of file bgp_mvpn.h.
|
private |
Definition at line 213 of file bgp_mvpn.h.
|
private |
Definition at line 204 of file bgp_mvpn.h.
|
private |
Definition at line 203 of file bgp_mvpn.h.
|
private |
Definition at line 208 of file bgp_mvpn.h.
|
mutableprivate |
Definition at line 209 of file bgp_mvpn.h.
|
private |
Definition at line 206 of file bgp_mvpn.h.
|
private |
Definition at line 201 of file bgp_mvpn.h.
|
private |
Definition at line 212 of file bgp_mvpn.h.