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

#include <bgp_multicast.h>

Collaboration diagram for McastManagerPartition:

Public Member Functions

 McastManagerPartition (McastTreeManager *tree_manager, size_t part_id)
 
 ~McastManagerPartition ()
 
McastSGEntryFindSGEntry (const Ip4Address &group, const Ip4Address &source)
 
const McastSGEntryFindSGEntry (const Ip4Address &group, const Ip4Address &source) const
 
McastSGEntryLocateSGEntry (Ip4Address group, Ip4Address source)
 
void EnqueueSGEntry (McastSGEntry *sg_entry)
 
DBTablePartBaseGetTablePartition ()
 
const RoutingInstancerouting_instance () const
 
BgpServerserver ()
 
const BgpServerserver () const
 
McastTreeManagertree_manager () const
 
bool empty () const
 
size_t size () const
 
ErmVpnRouteGetGlobalTreeRootRoute (const Ip4Address &source, const Ip4Address &group) const
 
void NotifyForestNode (const Ip4Address &source, const Ip4Address &group)
 
bool GetForestNodePMSI (ErmVpnRoute *rt, uint32_t *label, Ip4Address *address, std::vector< std::string > *encap) const
 

Private Types

typedef std::set< McastSGEntry
*, McastSGEntryCompare
SGList
 

Private Member Functions

bool ProcessSGEntry (McastSGEntry *sg_entry)
 
 DISALLOW_COPY_AND_ASSIGN (McastManagerPartition)
 

Private Attributes

McastTreeManagertree_manager_
 
size_t part_id_
 
SGList sg_list_
 
int update_count_
 
WorkQueue< McastSGEntry * > work_queue_
 

Friends

class BgpMulticastTest
 
class ShowMulticastManagerDetailHandler
 

Detailed Description

Definition at line 307 of file bgp_multicast.h.

Member Typedef Documentation

Definition at line 337 of file bgp_multicast.h.

Constructor & Destructor Documentation

McastManagerPartition::McastManagerPartition ( McastTreeManager tree_manager,
size_t  part_id 
)

Definition at line 748 of file bgp_multicast.cc.

McastManagerPartition::~McastManagerPartition ( )

Definition at line 761 of file bgp_multicast.cc.

Here is the call graph for this function:

Member Function Documentation

McastManagerPartition::DISALLOW_COPY_AND_ASSIGN ( McastManagerPartition  )
private
bool McastManagerPartition::empty ( ) const
inline

Definition at line 324 of file bgp_multicast.h.

void McastManagerPartition::EnqueueSGEntry ( McastSGEntry sg_entry)

Definition at line 820 of file bgp_multicast.cc.

Here is the call graph for this function:

McastSGEntry * McastManagerPartition::FindSGEntry ( const Ip4Address group,
const Ip4Address source 
)

Definition at line 766 of file bgp_multicast.cc.

const McastSGEntry * McastManagerPartition::FindSGEntry ( const Ip4Address group,
const Ip4Address source 
) const

Definition at line 776 of file bgp_multicast.cc.

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

Definition at line 810 of file bgp_multicast.cc.

Here is the call graph for this function:

ErmVpnRoute * McastManagerPartition::GetGlobalTreeRootRoute ( const Ip4Address source,
const Ip4Address group 
) const

Definition at line 797 of file bgp_multicast.cc.

Here is the call graph for this function:

DBTablePartBase * McastManagerPartition::GetTablePartition ( )

Definition at line 852 of file bgp_multicast.cc.

Here is the call graph for this function:

McastSGEntry * McastManagerPartition::LocateSGEntry ( Ip4Address  group,
Ip4Address  source 
)

Definition at line 787 of file bgp_multicast.cc.

Here is the call graph for this function:

void McastManagerPartition::NotifyForestNode ( const Ip4Address source,
const Ip4Address group 
)

Definition at line 803 of file bgp_multicast.cc.

Here is the call graph for this function:

bool McastManagerPartition::ProcessSGEntry ( McastSGEntry sg_entry)
private

Definition at line 831 of file bgp_multicast.cc.

Here is the call graph for this function:

const RoutingInstance * McastManagerPartition::routing_instance ( ) const

Definition at line 856 of file bgp_multicast.cc.

Here is the call graph for this function:

BgpServer * McastManagerPartition::server ( )

Definition at line 860 of file bgp_multicast.cc.

Here is the call graph for this function:

const BgpServer * McastManagerPartition::server ( ) const

Definition at line 864 of file bgp_multicast.cc.

Here is the call graph for this function:

size_t McastManagerPartition::size ( ) const
inline

Definition at line 325 of file bgp_multicast.h.

McastTreeManager* McastManagerPartition::tree_manager ( ) const
inline

Definition at line 323 of file bgp_multicast.h.

Friends And Related Function Documentation

friend class BgpMulticastTest
friend

Definition at line 334 of file bgp_multicast.h.

friend class ShowMulticastManagerDetailHandler
friend

Definition at line 335 of file bgp_multicast.h.

Member Data Documentation

size_t McastManagerPartition::part_id_
private

Definition at line 342 of file bgp_multicast.h.

SGList McastManagerPartition::sg_list_
private

Definition at line 343 of file bgp_multicast.h.

McastTreeManager* McastManagerPartition::tree_manager_
private

Definition at line 341 of file bgp_multicast.h.

int McastManagerPartition::update_count_
private

Definition at line 344 of file bgp_multicast.h.

WorkQueue<McastSGEntry *> McastManagerPartition::work_queue_
private

Definition at line 345 of file bgp_multicast.h.


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