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

#include <controller_export.h>

Collaboration diagram for RouteExport:

Classes

struct  State
 

Public Member Functions

 RouteExport (AgentRouteTable *rt)
 
 ~RouteExport ()
 
void Notify (const Agent *agent, AgentXmppChannel *bgp_xmpp_peer, bool associate, Agent::RouteTableType type, DBTablePartBase *partition, DBEntryBase *e)
 
void ManagedDelete ()
 
DBTableBase::ListenerId GetListenerId () const
 
void Unregister ()
 
bool DeleteState (DBTablePartBase *partition, DBEntryBase *entry)
 
bool MulticastRouteCanDissociate (const AgentRoute *route)
 

Static Public Member Functions

static void Walkdone (DBTable::DBTableWalkRef walk_ref, DBTableBase *table, RouteExport *rt)
 
static RouteExportInit (AgentRouteTable *table, AgentXmppChannel *bgp_xmpp_peer)
 

Private Member Functions

void MulticastNotify (AgentXmppChannel *bgp_xmpp_peer, bool associate, DBTablePartBase *partition, DBEntryBase *e)
 
void UnicastNotify (AgentXmppChannel *bgp_xmpp_peer, DBTablePartBase *partition, DBEntryBase *e, Agent::RouteTableType type)
 
void SubscribeMulticastRouting (const Agent *agent, AgentXmppChannel *bgp_xmpp_peer, AgentRoute *route, RouteExport::State *state)
 
void SubscribeIngressReplication (Agent *agent, AgentXmppChannel *bgp_xmpp_peer, AgentRoute *route, RouteExport::State *state)
 

Private Attributes

DBTableBase::ListenerId id_
 
AgentRouteTablert_table_
 
bool marked_delete_
 
uint32_t state_added_
 
LifetimeRef< RouteExporttable_delete_ref_
 
DBTable::DBTableWalkRef walk_ref_
 

Detailed Description

Definition at line 17 of file controller_export.h.

Constructor & Destructor Documentation

RouteExport::RouteExport ( AgentRouteTable rt)

Definition at line 86 of file controller_export.cc.

Here is the call graph for this function:

RouteExport::~RouteExport ( )

Definition at line 94 of file controller_export.cc.

Here is the call graph for this function:

Member Function Documentation

bool RouteExport::DeleteState ( DBTablePartBase partition,
DBEntryBase entry 
)

Definition at line 555 of file controller_export.cc.

Here is the call graph for this function:

DBTableBase::ListenerId RouteExport::GetListenerId ( ) const
inline

Definition at line 55 of file controller_export.h.

RouteExport * RouteExport::Init ( AgentRouteTable table,
AgentXmppChannel bgp_xmpp_peer 
)
static

Definition at line 577 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::ManagedDelete ( )

Definition at line 102 of file controller_export.cc.

void RouteExport::MulticastNotify ( AgentXmppChannel bgp_xmpp_peer,
bool  associate,
DBTablePartBase partition,
DBEntryBase e 
)
private

Definition at line 356 of file controller_export.cc.

Here is the call graph for this function:

bool RouteExport::MulticastRouteCanDissociate ( const AgentRoute route)

Definition at line 290 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::Notify ( const Agent agent,
AgentXmppChannel bgp_xmpp_peer,
bool  associate,
Agent::RouteTableType  type,
DBTablePartBase partition,
DBEntryBase e 
)

Definition at line 107 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::SubscribeIngressReplication ( Agent agent,
AgentXmppChannel bgp_xmpp_peer,
AgentRoute route,
RouteExport::State state 
)
private

Definition at line 450 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::SubscribeMulticastRouting ( const Agent agent,
AgentXmppChannel bgp_xmpp_peer,
AgentRoute route,
RouteExport::State state 
)
private

Definition at line 319 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::UnicastNotify ( AgentXmppChannel bgp_xmpp_peer,
DBTablePartBase partition,
DBEntryBase e,
Agent::RouteTableType  type 
)
private

Definition at line 171 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::Unregister ( )

Definition at line 572 of file controller_export.cc.

Here is the call graph for this function:

void RouteExport::Walkdone ( DBTable::DBTableWalkRef  walk_ref,
DBTableBase table,
RouteExport rt 
)
static

Definition at line 566 of file controller_export.cc.

Member Data Documentation

DBTableBase::ListenerId RouteExport::id_
private

Definition at line 65 of file controller_export.h.

bool RouteExport::marked_delete_
private

Definition at line 67 of file controller_export.h.

AgentRouteTable* RouteExport::rt_table_
private

Definition at line 66 of file controller_export.h.

uint32_t RouteExport::state_added_
private

Definition at line 68 of file controller_export.h.

LifetimeRef<RouteExport> RouteExport::table_delete_ref_
private

Definition at line 82 of file controller_export.h.

DBTable::DBTableWalkRef RouteExport::walk_ref_
private

Definition at line 83 of file controller_export.h.


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