OpenSDN source code
KSyncVxlanVrfObject Class Referenceabstract

#include <ksync_vxlan_route.h>

Inheritance diagram for KSyncVxlanVrfObject:
Collaboration diagram for KSyncVxlanVrfObject:

Classes

struct  VrfState
 

Public Types

typedef std::map< uint32_t, KSyncVxlanRouteObject * > VrfRouteObjectMap
 

Public Member Functions

 KSyncVxlanVrfObject (KSyncVxlan *ksync)
 
virtual ~KSyncVxlanVrfObject ()
 
void Init ()
 
void Shutdown ()
 
void RegisterDBClients ()
 
virtual KSyncVxlanRouteObjectAllocBridgeRouteTable (const VrfEntry *entry)=0
 
KSyncVxlanksync () const
 
void VrfNotify (DBTablePartBase *partition, DBEntryBase *e)
 
void AddToVrfMap (uint32_t vrf_id, KSyncVxlanRouteObject *)
 
void DelFromVrfMap (KSyncVxlanRouteObject *)
 
KSyncVxlanRouteObjectGetRouteKSyncObject (uint32_t vrf_id) const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (KSyncVxlanVrfObject)
 

Private Attributes

KSyncVxlanksync_
 
DBTableBase::ListenerId vrf_listener_id_
 
VrfRouteObjectMap vrf_fdb_object_map_
 

Detailed Description

Definition at line 23 of file ksync_vxlan_route.h.

Member Typedef Documentation

◆ VrfRouteObjectMap

Definition at line 25 of file ksync_vxlan_route.h.

Constructor & Destructor Documentation

◆ KSyncVxlanVrfObject()

KSyncVxlanVrfObject::KSyncVxlanVrfObject ( KSyncVxlan ksync)

Definition at line 235 of file ksync_vxlan_route.cc.

◆ ~KSyncVxlanVrfObject()

KSyncVxlanVrfObject::~KSyncVxlanVrfObject ( )
virtual

Definition at line 238 of file ksync_vxlan_route.cc.

Member Function Documentation

◆ AddToVrfMap()

void KSyncVxlanVrfObject::AddToVrfMap ( uint32_t  vrf_id,
KSyncVxlanRouteObject rt 
)

Definition at line 256 of file ksync_vxlan_route.cc.

◆ AllocBridgeRouteTable()

virtual KSyncVxlanRouteObject* KSyncVxlanVrfObject::AllocBridgeRouteTable ( const VrfEntry entry)
pure virtual

Implemented in KSyncLinuxVrfObject.

◆ DelFromVrfMap()

void KSyncVxlanVrfObject::DelFromVrfMap ( KSyncVxlanRouteObject rt)

Definition at line 261 of file ksync_vxlan_route.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

KSyncVxlanVrfObject::DISALLOW_COPY_AND_ASSIGN ( KSyncVxlanVrfObject  )
private

◆ GetRouteKSyncObject()

KSyncVxlanRouteObject * KSyncVxlanVrfObject::GetRouteKSyncObject ( uint32_t  vrf_id) const

Definition at line 247 of file ksync_vxlan_route.cc.

◆ Init()

void KSyncVxlanVrfObject::Init ( )

Definition at line 294 of file ksync_vxlan_route.cc.

◆ ksync()

KSyncVxlan* KSyncVxlanVrfObject::ksync ( ) const
inline

Definition at line 43 of file ksync_vxlan_route.h.

◆ RegisterDBClients()

void KSyncVxlanVrfObject::RegisterDBClients ( )

Definition at line 242 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

◆ Shutdown()

void KSyncVxlanVrfObject::Shutdown ( void  )

Definition at line 297 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

◆ VrfNotify()

void KSyncVxlanVrfObject::VrfNotify ( DBTablePartBase partition,
DBEntryBase e 
)

Definition at line 272 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

Member Data Documentation

◆ ksync_

KSyncVxlan* KSyncVxlanVrfObject::ksync_
private

Definition at line 50 of file ksync_vxlan_route.h.

◆ vrf_fdb_object_map_

VrfRouteObjectMap KSyncVxlanVrfObject::vrf_fdb_object_map_
private

Definition at line 52 of file ksync_vxlan_route.h.

◆ vrf_listener_id_

DBTableBase::ListenerId KSyncVxlanVrfObject::vrf_listener_id_
private

Definition at line 51 of file ksync_vxlan_route.h.


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