|
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_ |
| std::atomic< int > | db_states_count_ |
| PartitionList | partitions_ |
| NeighborMap | neighbors_ |
| std::shared_mutex | neighbors_mutex_ |
| boost::scoped_ptr< DeleteActor > | deleter_ |
| LifetimeRef< MvpnManager > | table_delete_ref_ |
| LifetimeRef< MvpnManager > | ermvpn_table_delete_ref_ |
Friends | |
| class | MvpnManagerPartition |
Definition at line 159 of file bgp_mvpn.h.
| typedef PartitionList::const_iterator MvpnManager::const_iterator |
Definition at line 162 of file bgp_mvpn.h.
| typedef std::map<RouteDistinguisher, MvpnNeighbor> MvpnManager::NeighborMap |
Definition at line 163 of file bgp_mvpn.h.
| typedef std::vector<MvpnManagerPartition *> MvpnManager::PartitionList |
Definition at line 161 of file bgp_mvpn.h.
| MvpnManager::MvpnManager | ( | MvpnTable * | table, |
| ErmVpnTable * | ermvpn_table | ||
| ) |
Definition at line 398 of file bgp_mvpn.cc.
|
virtual |
Definition at line 409 of file bgp_mvpn.cc.
|
private |
|
private |
| bool MvpnManager::deleted | ( | ) | const |
Definition at line 424 of file bgp_mvpn.cc.
| LifetimeActor* MvpnManager::deleter | ( | ) |
| const LifetimeActor * MvpnManager::deleter | ( | ) | const |
Definition at line 428 of file bgp_mvpn.cc.
|
private |
| bool MvpnManager::FindNeighbor | ( | const RouteDistinguisher & | rd, |
| MvpnNeighbor * | nbr | ||
| ) | const |
Definition at line 240 of file bgp_mvpn.cc.
|
private |
|
private |
Definition at line 464 of file bgp_mvpn.cc.
| MvpnProjectManager * MvpnManager::GetProjectManager | ( | ) |
|
virtual |
| int MvpnManager::listener_id | ( | ) | const |
Definition at line 420 of file bgp_mvpn.cc.
| void MvpnManager::ManagedDelete | ( | ) |
Definition at line 455 of file bgp_mvpn.cc.
| bool MvpnManager::MayDelete | ( | ) | const |
| const MvpnManager::NeighborMap & MvpnManager::neighbors | ( | ) | const |
Definition at line 251 of file bgp_mvpn.cc.
| size_t MvpnManager::neighbors_count | ( | ) | const |
Definition at line 257 of file bgp_mvpn.cc.
|
inline |
Definition at line 188 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 412 of file bgp_mvpn.cc.
| const MvpnTable * MvpnManager::table | ( | ) | const |
Definition at line 416 of file bgp_mvpn.cc.
|
virtual |
|
virtual |
|
friend |
Definition at line 191 of file bgp_mvpn.h.
|
private |
Definition at line 207 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 215 of file bgp_mvpn.h.
|
private |
Definition at line 206 of file bgp_mvpn.h.
|
private |
Definition at line 205 of file bgp_mvpn.h.
|
private |
Definition at line 210 of file bgp_mvpn.h.
|
mutableprivate |
Definition at line 211 of file bgp_mvpn.h.
|
private |
Definition at line 208 of file bgp_mvpn.h.
|
private |
Definition at line 203 of file bgp_mvpn.h.
|
private |
Definition at line 214 of file bgp_mvpn.h.