OpenSDN source code
|
#include <vrouter.h>
Public Types | |
typedef std::set < VRouterSubnet, VRouterSubnet > | VRouterSubnetSet |
![]() | |
typedef std::map< IFMapNode *, IFMapDependencyManager::IFMapNodePtr > | Tree |
Public Member Functions | |
VRouter (Agent *agent) | |
virtual | ~VRouter () |
void | ConfigDelete (IFMapNode *node) |
void | ConfigAddChange (IFMapNode *node) |
void | ConfigManagerEnqueue (IFMapNode *node) |
void | FillSandeshInfo (VrouterInfoResp *resp) |
uint32_t | SubnetCount () const |
bool | IsSubnetMember (const IpAddress &addr) const |
void | Shutdown () |
void | Insert (const VRouterSubnet *rhs) |
void | Update (const VRouterSubnet *lhs, const VRouterSubnet *rhs) |
void | Remove (VRouterSubnetSet::iterator &it) |
![]() | |
OperIFMapTable (Agent *agent) | |
virtual | ~OperIFMapTable () |
Agent * | agent () const |
OperDB * | oper () const |
uint32_t | Size () const |
void | ConfigEventHandler (IFMapNode *node, DBEntry *entry) |
void | ProcessConfig (IFMapNode *node) |
Private Member Functions | |
void | DeleteSubnetRoutes () |
void | ClearSubnets () |
void | DeleteRoute (const VRouterSubnet &subnet) |
void | AddRoute (const VRouterSubnet &subnet) |
IFMapNode * | FindTarget (IFMapNode *node, std::string node_type) const |
DISALLOW_COPY_AND_ASSIGN (VRouter) | |
Private Attributes | |
std::string | name_ |
VRouterSubnetSet | subnet_list_ |
std::string | display_name_ |
typedef std::set<VRouterSubnet, VRouterSubnet> VRouter::VRouterSubnetSet |
VRouter::VRouter | ( | Agent * | agent | ) |
Definition at line 43 of file vrouter.cc.
|
virtual |
Definition at line 46 of file vrouter.cc.
|
private |
|
private |
|
virtual |
Implements OperIFMapTable.
Definition at line 83 of file vrouter.cc.
|
virtual |
Implements OperIFMapTable.
Definition at line 59 of file vrouter.cc.
|
virtual |
Implements OperIFMapTable.
Definition at line 154 of file vrouter.cc.
|
private |
|
private |
|
private |
void VRouter::FillSandeshInfo | ( | VrouterInfoResp * | resp | ) |
Definition at line 189 of file vrouter.cc.
void VRouter::Insert | ( | const VRouterSubnet * | rhs | ) |
bool VRouter::IsSubnetMember | ( | const IpAddress & | addr | ) | const |
void VRouter::Remove | ( | VRouterSubnetSet::iterator & | it | ) |
void VRouter::Shutdown | ( | ) |
|
inline |
|
private |