OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agent_route_resync.cc
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  */
4 #include <cmn/agent_cmn.h>
5 #include <route/route.h>
6 
7 #include <vnc_cfg_types.h>
8 #include <agent_types.h>
9 
10 #include <cmn/agent_db.h>
11 
14 #include <oper/vrf.h>
15 #include <oper/agent_route.h>
16 #include <oper/agent_path.h>
17 
18 AgentRouteResync::AgentRouteResync(const std::string &name, Agent *agent) :
19  AgentRouteWalker(name, agent) {
20 }
21 
23 }
24 
26  DBEntryBase *e) {
27  AgentRoute *route = static_cast<AgentRoute *>(e);
28  route->EnqueueRouteResync();
29  return true;
30 }
31 
33  StartVrfWalk();
34 }
35 
37  StartRouteWalk(vrf);
38 }
void EnqueueRouteResync() const
Definition: agent_route.cc:913
Definition: vrf.h:86
void UpdateRoutesInVrf(VrfEntry *vrf)
Base class for all Route entries in agent.
Definition: agent_route.h:224
Definition: agent.h:358
void StartRouteWalk(VrfEntry *vrf)
virtual bool RouteWalkNotify(DBTablePartBase *partition, DBEntryBase *e)
AgentRouteResync(const std::string &name, Agent *agent)