OpenSDN source code
|
Listens to Inet routes in a bridge VRF instance. Started when l3vrf is added/deleted or when a bridge VRF is attached / detached to/from the LR. More...
#include <vxlan_routing_manager.h>
Public Member Functions | |
VxlanRoutingRouteWalker (const std::string &name, VxlanRoutingManager *mgr, Agent *agent) | |
Constructs a new instance using the given name, pointer to the VxlanRoutingManager and pointer to the Agent. More... | |
virtual | ~VxlanRoutingRouteWalker () |
Destructs an instance of VxlanRoutingRouteWalker. More... | |
virtual bool | RouteWalkNotify (DBTablePartBase *partition, DBEntryBase *e) |
Runs route leaking process when L3 VRF instance is added/deleted or when a bridge VRF is attached / detached to/from the LR. More... | |
![]() | |
virtual | ~AgentRouteWalker () |
void | StartVrfWalk () |
void | StartRouteWalk (VrfEntry *vrf) |
virtual bool | VrfWalkNotify (DBTablePartBase *partition, DBEntryBase *e) |
virtual void | VrfWalkDone (DBTableBase *part) |
virtual void | RouteWalkDone (DBTableBase *part) |
void | WalkDoneCallback (WalkDone cb) |
void | RouteWalkDoneForVrfCallback (RouteWalkDoneCb cb) |
int | walk_count () const |
bool | IsWalkCompleted () const |
bool | IsValidDeleteWalkRef () const |
bool | IsValidVrfWalkRef () const |
bool | IsDeregisterDone () const |
bool | AreAllWalksDone () const |
bool | AreAllRouteWalksDone (const VrfEntry *vrf) const |
bool | IsRouteTableWalkCompleted (RouteWalkerDBState *state) |
AgentRouteWalkerManager * | mgr () |
Agent * | agent () const |
uint32_t | refcount () const |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (VxlanRoutingRouteWalker) | |
Private Attributes | |
VxlanRoutingManager * | mgr_ |
A pointer to the VxlanRoutingManager instance. More... | |
Additional Inherited Members | |
![]() | |
typedef boost::function< void()> | WalkDone |
typedef boost::function< void(VrfEntry *)> | RouteWalkDoneCb |
typedef std::map< const VrfEntry *, tbb::atomic< int > > | VrfRouteWalkCountMap |
![]() | |
static const int | kInvalidWalkCount = 0 |
![]() | |
AgentRouteWalker (const std::string &name, Agent *agent) | |
void | set_mgr (AgentRouteWalkerManager *mgr) |
Listens to Inet routes in a bridge VRF instance. Started when l3vrf is added/deleted or when a bridge VRF is attached / detached to/from the LR.
VxlanRoutingRouteWalker Incarnation of AgentRouteWalker.
Definition at line 226 of file vxlan_routing_manager.h.
VxlanRoutingRouteWalker::VxlanRoutingRouteWalker | ( | const std::string & | name, |
VxlanRoutingManager * | mgr, | ||
Agent * | agent | ||
) |
Constructs a new instance using the given name, pointer to the VxlanRoutingManager and pointer to the Agent.
Definition at line 99 of file vxlan_routing_manager.cc.
|
virtual |
Destructs an instance of VxlanRoutingRouteWalker.
Definition at line 104 of file vxlan_routing_manager.cc.
|
private |
|
virtual |
Runs route leaking process when L3 VRF instance is added/deleted or when a bridge VRF is attached / detached to/from the LR.
Reimplemented from AgentRouteWalker.
Definition at line 109 of file vxlan_routing_manager.cc.
|
private |
A pointer to the VxlanRoutingManager instance.
Definition at line 244 of file vxlan_routing_manager.h.