OpenSDN source code
|
#include <bgp_mvpn.h>
Classes | |
class | DeleteActor |
Public Types | |
typedef std::vector < MvpnProjectManagerPartition * > | PartitionList |
typedef PartitionList::const_iterator | const_iterator |
Public Member Functions | |
MvpnProjectManager (ErmVpnTable *table) | |
virtual | ~MvpnProjectManager () |
MvpnProjectManagerPartition * | GetPartition (int part_id) |
const MvpnProjectManagerPartition * | GetPartition (int part_id) const |
void | ManagedDelete () |
virtual void | Terminate () |
ErmVpnTable * | table () |
const ErmVpnTable * | table () const |
int | listener_id () const |
const LifetimeActor * | deleter () const |
LifetimeActor * | deleter () |
bool | deleted () const |
virtual void | Initialize () |
MvpnStatePtr | GetState (MvpnRoute *route) const |
MvpnStatePtr | GetState (MvpnRoute *route) |
MvpnStatePtr | GetState (ErmVpnRoute *route) const |
UpdateInfo * | GetUpdateInfo (MvpnRoute *route) |
const PartitionList & | partitions () const |
bool | MayDelete () const |
void | GetMvpnSourceAddress (ErmVpnRoute *ermvpn_route, Ip4Address *address) const |
Private Member Functions | |
void | AllocPartitions () |
void | FreePartitions () |
void | RouteListener (DBTablePartBase *tpart, DBEntryBase *db_entry) |
UpdateInfo * | GetType7UpdateInfo (MvpnRoute *route) |
DISALLOW_COPY_AND_ASSIGN (MvpnProjectManager) | |
Private Attributes | |
ErmVpnTable * | table_ |
int | listener_id_ |
PartitionList | partitions_ |
boost::scoped_ptr< DeleteActor > | deleter_ |
LifetimeRef< MvpnProjectManager > | table_delete_ref_ |
Definition at line 416 of file bgp_mvpn.h.
typedef PartitionList::const_iterator MvpnProjectManager::const_iterator |
Definition at line 420 of file bgp_mvpn.h.
typedef std::vector<MvpnProjectManagerPartition *> MvpnProjectManager::PartitionList |
Definition at line 418 of file bgp_mvpn.h.
|
explicit |
Definition at line 82 of file bgp_mvpn.cc.
|
virtual |
Definition at line 89 of file bgp_mvpn.cc.
|
private |
bool MvpnProjectManager::deleted | ( | ) | const |
Definition at line 161 of file bgp_mvpn.cc.
const LifetimeActor * MvpnProjectManager::deleter | ( | ) | const |
Definition at line 110 of file bgp_mvpn.cc.
LifetimeActor * MvpnProjectManager::deleter | ( | ) |
Definition at line 106 of file bgp_mvpn.cc.
|
private |
|
private |
Definition at line 141 of file bgp_mvpn.cc.
void MvpnProjectManager::GetMvpnSourceAddress | ( | ErmVpnRoute * | ermvpn_route, |
Ip4Address * | address | ||
) | const |
MvpnProjectManagerPartition * MvpnProjectManager::GetPartition | ( | int | part_id | ) |
Definition at line 148 of file bgp_mvpn.cc.
const MvpnProjectManagerPartition * MvpnProjectManager::GetPartition | ( | int | part_id | ) | const |
Definition at line 152 of file bgp_mvpn.cc.
MvpnStatePtr MvpnProjectManager::GetState | ( | MvpnRoute * | route | ) | const |
MvpnStatePtr MvpnProjectManager::GetState | ( | MvpnRoute * | route | ) |
MvpnStatePtr MvpnProjectManager::GetState | ( | ErmVpnRoute * | route | ) | const |
|
private |
UpdateInfo * MvpnProjectManager::GetUpdateInfo | ( | MvpnRoute * | route | ) |
|
virtual |
int MvpnProjectManager::listener_id | ( | ) | const |
Definition at line 529 of file bgp_mvpn.cc.
void MvpnProjectManager::ManagedDelete | ( | ) |
Definition at line 157 of file bgp_mvpn.cc.
bool MvpnProjectManager::MayDelete | ( | ) | const |
|
inline |
Definition at line 439 of file bgp_mvpn.h.
|
private |
ErmVpnTable * MvpnProjectManager::table | ( | ) |
Definition at line 560 of file bgp_mvpn.cc.
const ErmVpnTable * MvpnProjectManager::table | ( | ) | const |
Definition at line 564 of file bgp_mvpn.cc.
|
virtual |
|
private |
Definition at line 455 of file bgp_mvpn.h.
|
private |
Definition at line 452 of file bgp_mvpn.h.
|
private |
Definition at line 453 of file bgp_mvpn.h.
|
private |
Definition at line 451 of file bgp_mvpn.h.
|
private |
Definition at line 456 of file bgp_mvpn.h.