OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MvpnProjectManagerPartition Class Reference

#include <bgp_mvpn.h>

Collaboration diagram for MvpnProjectManagerPartition:

Public Types

typedef MvpnState::SG SG
 

Public Member Functions

 MvpnProjectManagerPartition (MvpnProjectManager *manager, int part_id)
 
virtual ~MvpnProjectManagerPartition ()
 
MvpnStatePtr GetState (const SG &sg)
 
MvpnStatePtr GetState (const SG &sg) const
 
MvpnStatePtr LocateState (const SG &sg)
 
MvpnStatePtr CreateState (const SG &sg)
 
const MvpnState::StatesMapstates () const
 
MvpnState::StatesMapstates ()
 

Private Member Functions

ErmVpnRouteGetGlobalTreeRootRoute (ErmVpnRoute *rt) const
 
ErmVpnTabletable ()
 
const ErmVpnTabletable () const
 
void RouteListener (DBEntryBase *db_entry)
 
int listener_id () const
 
void NotifyForestNode (const Ip4Address &source, const Ip4Address &group)
 
bool GetForestNodePMSI (ErmVpnRoute *rt, uint32_t *label, Ip4Address *address, std::vector< std::string > *encap) const
 
bool IsUsableGlobalTreeRootRoute (ErmVpnRoute *ermvpn_route) const
 
 DISALLOW_COPY_AND_ASSIGN (MvpnProjectManagerPartition)
 

Private Attributes

MvpnProjectManagermanager_
 
int part_id_
 
MvpnState::StatesMap states_
 

Friends

class MvpnProjectManager
 
class MvpnManagerPartition
 

Detailed Description

Definition at line 367 of file bgp_mvpn.h.

Member Typedef Documentation

Definition at line 369 of file bgp_mvpn.h.

Constructor & Destructor Documentation

MvpnProjectManagerPartition::MvpnProjectManagerPartition ( MvpnProjectManager manager,
int  part_id 
)

Definition at line 179 of file bgp_mvpn.cc.

MvpnProjectManagerPartition::~MvpnProjectManagerPartition ( )
virtual

Definition at line 184 of file bgp_mvpn.cc.

Member Function Documentation

MvpnStatePtr MvpnProjectManagerPartition::CreateState ( const SG sg)

Definition at line 188 of file bgp_mvpn.cc.

MvpnProjectManagerPartition::DISALLOW_COPY_AND_ASSIGN ( MvpnProjectManagerPartition  )
private
bool MvpnProjectManagerPartition::GetForestNodePMSI ( ErmVpnRoute rt,
uint32_t *  label,
Ip4Address address,
std::vector< std::string > *  encap 
) const
private

Definition at line 589 of file bgp_mvpn.cc.

Here is the call graph for this function:

ErmVpnRoute* MvpnProjectManagerPartition::GetGlobalTreeRootRoute ( ErmVpnRoute rt) const
private
MvpnStatePtr MvpnProjectManagerPartition::GetState ( const SG sg)

Definition at line 209 of file bgp_mvpn.cc.

MvpnStatePtr MvpnProjectManagerPartition::GetState ( const SG sg) const

Definition at line 204 of file bgp_mvpn.cc.

bool MvpnProjectManagerPartition::IsUsableGlobalTreeRootRoute ( ErmVpnRoute ermvpn_route) const
private

Definition at line 743 of file bgp_mvpn.cc.

Here is the call graph for this function:

int MvpnProjectManagerPartition::listener_id ( ) const
private

Definition at line 533 of file bgp_mvpn.cc.

Here is the call graph for this function:

MvpnStatePtr MvpnProjectManagerPartition::LocateState ( const SG sg)

Definition at line 195 of file bgp_mvpn.cc.

Here is the call graph for this function:

void MvpnProjectManagerPartition::NotifyForestNode ( const Ip4Address source,
const Ip4Address group 
)
private

Definition at line 576 of file bgp_mvpn.cc.

Here is the call graph for this function:

void MvpnProjectManagerPartition::RouteListener ( DBEntryBase db_entry)
private

Definition at line 766 of file bgp_mvpn.cc.

Here is the call graph for this function:

const MvpnState::StatesMap& MvpnProjectManagerPartition::states ( ) const
inline

Definition at line 377 of file bgp_mvpn.h.

MvpnState::StatesMap& MvpnProjectManagerPartition::states ( )
inline

Definition at line 378 of file bgp_mvpn.h.

ErmVpnTable * MvpnProjectManagerPartition::table ( )
private

Definition at line 568 of file bgp_mvpn.cc.

Here is the call graph for this function:

const ErmVpnTable * MvpnProjectManagerPartition::table ( ) const
private

Definition at line 572 of file bgp_mvpn.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class MvpnManagerPartition
friend

Definition at line 382 of file bgp_mvpn.h.

friend class MvpnProjectManager
friend

Definition at line 381 of file bgp_mvpn.h.

Member Data Documentation

MvpnProjectManager* MvpnProjectManagerPartition::manager_
private

Definition at line 395 of file bgp_mvpn.h.

int MvpnProjectManagerPartition::part_id_
private

Definition at line 398 of file bgp_mvpn.h.

MvpnState::StatesMap MvpnProjectManagerPartition::states_
private

Definition at line 399 of file bgp_mvpn.h.


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