OpenSDN source code
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

◆ SG

Definition at line 369 of file bgp_mvpn.h.

Constructor & Destructor Documentation

◆ MvpnProjectManagerPartition()

MvpnProjectManagerPartition::MvpnProjectManagerPartition ( MvpnProjectManager manager,
int  part_id 
)

Definition at line 179 of file bgp_mvpn.cc.

◆ ~MvpnProjectManagerPartition()

MvpnProjectManagerPartition::~MvpnProjectManagerPartition ( )
virtual

Definition at line 184 of file bgp_mvpn.cc.

Member Function Documentation

◆ CreateState()

MvpnStatePtr MvpnProjectManagerPartition::CreateState ( const SG sg)

Definition at line 188 of file bgp_mvpn.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

MvpnProjectManagerPartition::DISALLOW_COPY_AND_ASSIGN ( MvpnProjectManagerPartition  )
private

◆ GetForestNodePMSI()

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:

◆ GetGlobalTreeRootRoute()

ErmVpnRoute* MvpnProjectManagerPartition::GetGlobalTreeRootRoute ( ErmVpnRoute rt) const
private

◆ GetState() [1/2]

MvpnStatePtr MvpnProjectManagerPartition::GetState ( const SG sg)

Definition at line 209 of file bgp_mvpn.cc.

◆ GetState() [2/2]

MvpnStatePtr MvpnProjectManagerPartition::GetState ( const SG sg) const

Definition at line 204 of file bgp_mvpn.cc.

◆ IsUsableGlobalTreeRootRoute()

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:

◆ listener_id()

int MvpnProjectManagerPartition::listener_id ( ) const
private

Definition at line 533 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ LocateState()

MvpnStatePtr MvpnProjectManagerPartition::LocateState ( const SG sg)

Definition at line 195 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ NotifyForestNode()

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:

◆ RouteListener()

void MvpnProjectManagerPartition::RouteListener ( DBEntryBase db_entry)
private

Definition at line 766 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ states() [1/2]

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

Definition at line 378 of file bgp_mvpn.h.

◆ states() [2/2]

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

Definition at line 377 of file bgp_mvpn.h.

◆ table() [1/2]

ErmVpnTable * MvpnProjectManagerPartition::table ( )
private

Definition at line 568 of file bgp_mvpn.cc.

Here is the call graph for this function:

◆ table() [2/2]

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

◆ MvpnManagerPartition

friend class MvpnManagerPartition
friend

Definition at line 382 of file bgp_mvpn.h.

◆ MvpnProjectManager

friend class MvpnProjectManager
friend

Definition at line 381 of file bgp_mvpn.h.

Member Data Documentation

◆ manager_

MvpnProjectManager* MvpnProjectManagerPartition::manager_
private

Definition at line 395 of file bgp_mvpn.h.

◆ part_id_

int MvpnProjectManagerPartition::part_id_
private

Definition at line 398 of file bgp_mvpn.h.

◆ states_

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: