OpenSDN source code
MvpnProjectManager Class Reference

#include <bgp_mvpn.h>

Collaboration diagram for MvpnProjectManager:

Classes

class  DeleteActor
 

Public Types

typedef std::vector< MvpnProjectManagerPartition * > PartitionList
 
typedef PartitionList::const_iterator const_iterator
 

Public Member Functions

 MvpnProjectManager (ErmVpnTable *table)
 
virtual ~MvpnProjectManager ()
 
MvpnProjectManagerPartitionGetPartition (int part_id)
 
const MvpnProjectManagerPartitionGetPartition (int part_id) const
 
void ManagedDelete ()
 
virtual void Terminate ()
 
ErmVpnTabletable ()
 
const ErmVpnTabletable () const
 
int listener_id () const
 
const LifetimeActordeleter () const
 
LifetimeActordeleter ()
 
bool deleted () const
 
virtual void Initialize ()
 
MvpnStatePtr GetState (MvpnRoute *route) const
 
MvpnStatePtr GetState (MvpnRoute *route)
 
MvpnStatePtr GetState (ErmVpnRoute *route) const
 
UpdateInfoGetUpdateInfo (MvpnRoute *route)
 
const PartitionListpartitions () 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)
 
UpdateInfoGetType7UpdateInfo (MvpnRoute *route)
 
 DISALLOW_COPY_AND_ASSIGN (MvpnProjectManager)
 

Private Attributes

ErmVpnTabletable_
 
int listener_id_
 
PartitionList partitions_
 
boost::scoped_ptr< DeleteActordeleter_
 
LifetimeRef< MvpnProjectManagertable_delete_ref_
 

Detailed Description

Definition at line 416 of file bgp_mvpn.h.

Member Typedef Documentation

◆ const_iterator

typedef PartitionList::const_iterator MvpnProjectManager::const_iterator

Definition at line 420 of file bgp_mvpn.h.

◆ PartitionList

Definition at line 419 of file bgp_mvpn.h.

Constructor & Destructor Documentation

◆ MvpnProjectManager()

MvpnProjectManager::MvpnProjectManager ( ErmVpnTable table)
explicit

Definition at line 82 of file bgp_mvpn.cc.

◆ ~MvpnProjectManager()

MvpnProjectManager::~MvpnProjectManager ( )
virtual

Definition at line 89 of file bgp_mvpn.cc.

Member Function Documentation

◆ AllocPartitions()

void MvpnProjectManager::AllocPartitions ( )
private

Definition at line 136 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ deleted()

bool MvpnProjectManager::deleted ( ) const

Definition at line 161 of file bgp_mvpn.cc.

◆ deleter() [1/2]

LifetimeActor * MvpnProjectManager::deleter ( )

Definition at line 106 of file bgp_mvpn.cc.

◆ deleter() [2/2]

const LifetimeActor * MvpnProjectManager::deleter ( ) const

Definition at line 110 of file bgp_mvpn.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

MvpnProjectManager::DISALLOW_COPY_AND_ASSIGN ( MvpnProjectManager  )
private

◆ FreePartitions()

void MvpnProjectManager::FreePartitions ( )
private

Definition at line 141 of file bgp_mvpn.cc.

◆ GetMvpnSourceAddress()

void MvpnProjectManager::GetMvpnSourceAddress ( ErmVpnRoute ermvpn_route,
Ip4Address address 
) const

Definition at line 1209 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ GetPartition() [1/2]

MvpnProjectManagerPartition * MvpnProjectManager::GetPartition ( int  part_id)

Definition at line 148 of file bgp_mvpn.cc.

◆ GetPartition() [2/2]

const MvpnProjectManagerPartition * MvpnProjectManager::GetPartition ( int  part_id) const

Definition at line 152 of file bgp_mvpn.cc.

◆ GetState() [1/3]

MvpnStatePtr MvpnProjectManager::GetState ( ErmVpnRoute route) const

Definition at line 174 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ GetState() [2/3]

MvpnStatePtr MvpnProjectManager::GetState ( MvpnRoute route)

Definition at line 170 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ GetState() [3/3]

MvpnStatePtr MvpnProjectManager::GetState ( MvpnRoute route) const

Definition at line 165 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ GetType7UpdateInfo()

UpdateInfo * MvpnProjectManager::GetType7UpdateInfo ( MvpnRoute route)
private

Definition at line 1237 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ GetUpdateInfo()

UpdateInfo * MvpnProjectManager::GetUpdateInfo ( MvpnRoute route)

Definition at line 1244 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ Initialize()

void MvpnProjectManager::Initialize ( )
virtual

Definition at line 116 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ listener_id()

int MvpnProjectManager::listener_id ( ) const

Definition at line 529 of file bgp_mvpn.cc.

◆ ManagedDelete()

void MvpnProjectManager::ManagedDelete ( )

Definition at line 157 of file bgp_mvpn.cc.

◆ MayDelete()

bool MvpnProjectManager::MayDelete ( ) const

Definition at line 94 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ partitions()

const PartitionList& MvpnProjectManager::partitions ( ) const
inline

Definition at line 439 of file bgp_mvpn.h.

◆ RouteListener()

void MvpnProjectManager::RouteListener ( DBTablePartBase tpart,
DBEntryBase db_entry 
)
private

Definition at line 757 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ table() [1/2]

ErmVpnTable * MvpnProjectManager::table ( )

Definition at line 560 of file bgp_mvpn.cc.

◆ table() [2/2]

const ErmVpnTable * MvpnProjectManager::table ( ) const

Definition at line 564 of file bgp_mvpn.cc.

◆ Terminate()

void MvpnProjectManager::Terminate ( )
virtual

Definition at line 128 of file bgp_mvpn.cc.

Here is the call graph for this function:

Member Data Documentation

◆ deleter_

boost::scoped_ptr<DeleteActor> MvpnProjectManager::deleter_
private

Definition at line 455 of file bgp_mvpn.h.

◆ listener_id_

int MvpnProjectManager::listener_id_
private

Definition at line 452 of file bgp_mvpn.h.

◆ partitions_

PartitionList MvpnProjectManager::partitions_
private

Definition at line 453 of file bgp_mvpn.h.

◆ table_

ErmVpnTable* MvpnProjectManager::table_
private

Definition at line 451 of file bgp_mvpn.h.

◆ table_delete_ref_

LifetimeRef<MvpnProjectManager> MvpnProjectManager::table_delete_ref_
private

Definition at line 456 of file bgp_mvpn.h.


The documentation for this class was generated from the following files: