OpenSDN source code
KSyncVxlanRouteObject Class Referenceabstract

#include <ksync_vxlan_route.h>

Inheritance diagram for KSyncVxlanRouteObject:
Collaboration diagram for KSyncVxlanRouteObject:

Public Member Functions

 KSyncVxlanRouteObject (KSyncVxlanVrfObject *vrf, AgentRouteTable *rt_table)
 
virtual ~KSyncVxlanRouteObject ()
 
virtual KSyncEntryDBToKSyncEntry (const DBEntry *e)=0
 
virtual KSyncEntryAlloc (const KSyncEntry *key, uint32_t index)=0
 
void ManagedDelete ()
 
void Unregister ()
 
virtual void EmptyTable ()
 
KSyncVxlanksync () const
 
const AgentRouteTableroute_table () const
 
- Public Member Functions inherited from KSyncDBObject
 KSyncDBObject (const std::string &name)
 
 KSyncDBObject (const std::string &name, int max_index)
 
 KSyncDBObject (const std::string &name, DBTableBase *table)
 
 KSyncDBObject (const std::string &name, DBTableBase *table, int max_index)
 
virtual ~KSyncDBObject ()
 
void RegisterDb (DBTableBase *table)
 
void UnregisterDb (DBTableBase *table)
 
void Notify (DBTablePartBase *partition, DBEntryBase *entry)
 
DBTableBaseGetDBTable ()
 
DBTableBase::ListenerId GetListenerId (DBTableBase *table)
 
virtual DBFilterResp DBEntryFilter (const DBEntry *entry, const KSyncDBEntry *ksync)
 
void set_test_id (DBTableBase::ListenerId id)
 
DBTableBase::ListenerId id () const
 
- Public Member Functions inherited from KSyncObject
 KSyncObject (const std::string &name)
 
 KSyncObject (const std::string &name, int max_index)
 
virtual ~KSyncObject ()
 
void InitStaleEntryCleanup (boost::asio::io_context &ios, uint32_t cleanup_time, uint32_t cleanup_intvl, uint16_t entries_per_intvl)
 
void NotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event)
 
void SafeNotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event)
 
virtual void NetlinkAck (KSyncEntry *entry, KSyncEntry::KSyncEvent event)
 
void BackRefAdd (KSyncEntry *key, KSyncEntry *reference)
 
void BackRefDel (KSyncEntry *key)
 
void BackRefReEval (KSyncEntry *key)
 
KSyncEntryCreate (const KSyncEntry *key)
 
KSyncEntryCreate (const KSyncEntry *key, bool skip_lookup)
 
KSyncEntryCreateStale (const KSyncEntry *key)
 
void Change (KSyncEntry *entry)
 
void Delete (KSyncEntry *entry)
 
KSyncEntryFind (const KSyncEntry *key)
 
KSyncEntryNext (const KSyncEntry *entry) const
 
KSyncEntryGetReference (const KSyncEntry *key)
 
virtual void Free (KSyncEntry *entry)
 
bool IsEmpty (void)
 
virtual bool DoEventTrace (void)
 
virtual void PreFree (KSyncEntry *entry)
 
std::size_t Size ()
 
void set_delete_scheduled ()
 
bool delete_scheduled ()
 
virtual SandeshTraceBufferPtr GetKSyncTraceBuf ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (KSyncVxlanRouteObject)
 

Private Attributes

KSyncVxlanksync_
 
bool marked_delete_
 
AgentRouteTablert_table_
 
LifetimeRef< KSyncVxlanRouteObjecttable_delete_ref_
 

Additional Inherited Members

- Public Types inherited from KSyncDBObject
enum  DBFilterResp {
  DBFilterAccept , DBFilterIgnore , DBFilterDelete , DBFilterDelAdd ,
  DBFilterMax
}
 
- Public Types inherited from KSyncObject
typedef boost::intrusive::member_hook< KSyncEntry, boost::intrusive::set_member_hook<>, &KSyncEntry::node_KSyncObjectNode
 
typedef boost::intrusive::set< KSyncEntry, KSyncObjectNodeTree
 
typedef boost::intrusive::member_hook< KSyncFwdReference, boost::intrusive::set_member_hook<>, &KSyncFwdReference::node_KSyncFwdRefNode
 
typedef boost::intrusive::set< KSyncFwdReference, KSyncFwdRefNodeFwdRefTree
 
typedef boost::intrusive::member_hook< KSyncBackReference, boost::intrusive::set_member_hook<>, &KSyncBackReference::node_KSyncBackRefNode
 
typedef boost::intrusive::set< KSyncBackReference, KSyncBackRefNodeBackRefTree
 
- Static Public Member Functions inherited from KSyncObject
static void Shutdown ()
 
- Protected Member Functions inherited from KSyncObject
KSyncEntryCreateImpl (const KSyncEntry *key)
 
void ClearStale (KSyncEntry *entry)
 
void ChangeKey (KSyncEntry *entry, uint32_t arg)
 
virtual void UpdateKey (KSyncEntry *entry, uint32_t arg)
 
virtual uint32_t GetKey (KSyncEntry *entry)
 
- Protected Attributes inherited from KSyncObject
tbb::recursive_mutex lock_
 

Detailed Description

Definition at line 62 of file ksync_vxlan_route.h.

Constructor & Destructor Documentation

◆ KSyncVxlanRouteObject()

KSyncVxlanRouteObject::KSyncVxlanRouteObject ( KSyncVxlanVrfObject vrf,
AgentRouteTable rt_table 
)

Definition at line 197 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

◆ ~KSyncVxlanRouteObject()

KSyncVxlanRouteObject::~KSyncVxlanRouteObject ( )
virtual

Definition at line 207 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Alloc()

virtual KSyncEntry* KSyncVxlanRouteObject::Alloc ( const KSyncEntry key,
uint32_t  index 
)
pure virtual

Implements KSyncObject.

Implemented in KSyncLinuxFdbObject.

◆ DBToKSyncEntry()

virtual KSyncEntry* KSyncVxlanRouteObject::DBToKSyncEntry ( const DBEntry e)
pure virtual

Implements KSyncDBObject.

Implemented in KSyncLinuxFdbObject.

◆ DISALLOW_COPY_AND_ASSIGN()

KSyncVxlanRouteObject::DISALLOW_COPY_AND_ASSIGN ( KSyncVxlanRouteObject  )
private

◆ EmptyTable()

void KSyncVxlanRouteObject::EmptyTable ( void  )
virtual

Reimplemented from KSyncObject.

Definition at line 224 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

◆ ksync()

KSyncVxlan* KSyncVxlanRouteObject::ksync ( ) const
inline

Definition at line 80 of file ksync_vxlan_route.h.

◆ ManagedDelete()

void KSyncVxlanRouteObject::ManagedDelete ( )

Definition at line 219 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

◆ route_table()

const AgentRouteTable* KSyncVxlanRouteObject::route_table ( ) const
inline

Definition at line 81 of file ksync_vxlan_route.h.

◆ Unregister()

void KSyncVxlanRouteObject::Unregister ( )

Definition at line 212 of file ksync_vxlan_route.cc.

Here is the call graph for this function:

Member Data Documentation

◆ ksync_

KSyncVxlan* KSyncVxlanRouteObject::ksync_
private

Definition at line 83 of file ksync_vxlan_route.h.

◆ marked_delete_

bool KSyncVxlanRouteObject::marked_delete_
private

Definition at line 84 of file ksync_vxlan_route.h.

◆ rt_table_

AgentRouteTable* KSyncVxlanRouteObject::rt_table_
private

Definition at line 85 of file ksync_vxlan_route.h.

◆ table_delete_ref_

LifetimeRef<KSyncVxlanRouteObject> KSyncVxlanRouteObject::table_delete_ref_
private

Definition at line 86 of file ksync_vxlan_route.h.


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