OpenSDN source code
|
#include <unicast_mac_remote_ovsdb.h>
Public Member Functions | |
UnicastMacRemoteTable (OvsdbClientIdl *idl, const std::string &logical_switch_name, VrfOvsdbEntry *vrf) | |
virtual | ~UnicastMacRemoteTable () |
virtual void | OvsdbRegisterDBTable (DBTable *tbl) |
KSyncEntry * | Alloc (const KSyncEntry *key, uint32_t index) |
KSyncEntry * | DBToKSyncEntry (const DBEntry *) |
OvsdbDBEntry * | AllocOvsEntry (struct ovsdb_idl_row *row) |
DBFilterResp | OvsdbDBEntryFilter (const DBEntry *entry, const OvsdbDBEntry *ovsdb_entry) |
void | ManagedDelete () |
virtual void | EmptyTable () |
const std::string & | logical_switch_name () const |
![]() | |
OvsdbDBObject (OvsdbClientIdl *idl, bool init_stale_entry_cleanup) | |
OvsdbDBObject (OvsdbClientIdl *idl, DBTable *tbl, bool init_stale_entry_cleanup) | |
virtual | ~OvsdbDBObject () |
void | OvsdbStartResyncWalk () |
void | NotifyAddOvsdb (OvsdbDBEntry *key, struct ovsdb_idl_row *row) |
void | NotifyDeleteOvsdb (OvsdbDBEntry *key, struct ovsdb_idl_row *row) |
bool | DBWalkNotify (DBTablePartBase *partition, DBEntryBase *entry) |
void | DBWalkDone (DBTableBase *partition) |
virtual Agent * | agent () const |
void | DeleteTable (void) |
OvsdbClientIdl * | client_idl () |
![]() | |
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) |
DBTableBase * | GetDBTable () |
DBTableBase::ListenerId | GetListenerId (DBTableBase *table) |
void | set_test_id (DBTableBase::ListenerId id) |
DBTableBase::ListenerId | id () const |
![]() | |
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) |
KSyncEntry * | Create (const KSyncEntry *key) |
KSyncEntry * | Create (const KSyncEntry *key, bool skip_lookup) |
KSyncEntry * | CreateStale (const KSyncEntry *key) |
void | Change (KSyncEntry *entry) |
void | Delete (KSyncEntry *entry) |
KSyncEntry * | Find (const KSyncEntry *key) |
KSyncEntry * | Next (const KSyncEntry *entry) const |
KSyncEntry * | GetReference (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 (UnicastMacRemoteTable) | |
Private Attributes | |
std::string | logical_switch_name_ |
LifetimeRef < UnicastMacRemoteTable > | table_delete_ref_ |
VrfOvsdbEntry * | vrf_ |
Additional Inherited Members | |
![]() | |
enum | DBFilterResp { DBFilterAccept, DBFilterIgnore, DBFilterDelete, DBFilterDelAdd, DBFilterMax } |
![]() | |
typedef boost::intrusive::member_hook < KSyncEntry, boost::intrusive::set_member_hook <>,&KSyncEntry::node_ > | KSyncObjectNode |
typedef boost::intrusive::set < KSyncEntry, KSyncObjectNode > | Tree |
typedef boost::intrusive::member_hook < KSyncFwdReference, boost::intrusive::set_member_hook <>,&KSyncFwdReference::node_ > | KSyncFwdRefNode |
typedef boost::intrusive::set < KSyncFwdReference, KSyncFwdRefNode > | FwdRefTree |
typedef boost::intrusive::member_hook < KSyncBackReference, boost::intrusive::set_member_hook <>,&KSyncBackReference::node_ > | KSyncBackRefNode |
typedef boost::intrusive::set < KSyncBackReference, KSyncBackRefNode > | BackRefTree |
![]() | |
static void | Shutdown () |
![]() | |
static const uint32_t | StaleEntryCleanupTimer = 300000 |
static const uint32_t | StaleEntryYeildTimer = 100 |
static const uint16_t | StaleEntryDeletePerIteration = 32 |
![]() | |
DBFilterResp | DBEntryFilter (const DBEntry *entry, const KSyncDBEntry *ksync) |
virtual void | DeleteTableDone (void) |
![]() | |
KSyncEntry * | CreateImpl (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) |
![]() | |
OvsdbClientIdlPtr | client_idl_ |
![]() | |
tbb::recursive_mutex | lock_ |
Definition at line 19 of file unicast_mac_remote_ovsdb.h.
UnicastMacRemoteTable::UnicastMacRemoteTable | ( | OvsdbClientIdl * | idl, |
const std::string & | logical_switch_name, | ||
VrfOvsdbEntry * | vrf | ||
) |
Definition at line 369 of file unicast_mac_remote_ovsdb.cc.
|
virtual |
Definition at line 375 of file unicast_mac_remote_ovsdb.cc.
|
virtual |
Implements KSyncObject.
Definition at line 386 of file unicast_mac_remote_ovsdb.cc.
|
virtual |
Reimplemented from OVSDB::OvsdbDBObject.
Definition at line 400 of file unicast_mac_remote_ovsdb.cc.
|
virtual |
Implements KSyncDBObject.
Definition at line 393 of file unicast_mac_remote_ovsdb.cc.
|
private |
|
virtual |
Reimplemented from OVSDB::OvsdbDBObject.
Definition at line 430 of file unicast_mac_remote_ovsdb.cc.
const std::string & UnicastMacRemoteTable::logical_switch_name | ( | ) | const |
Definition at line 442 of file unicast_mac_remote_ovsdb.cc.
void UnicastMacRemoteTable::ManagedDelete | ( | ) |
Definition at line 425 of file unicast_mac_remote_ovsdb.cc.
|
virtual |
Reimplemented from OVSDB::OvsdbDBObject.
Definition at line 405 of file unicast_mac_remote_ovsdb.cc.
|
virtual |
Reimplemented from OVSDB::OvsdbDBObject.
Definition at line 380 of file unicast_mac_remote_ovsdb.cc.
|
private |
Definition at line 41 of file unicast_mac_remote_ovsdb.h.
|
private |
Definition at line 42 of file unicast_mac_remote_ovsdb.h.
|
private |
Definition at line 43 of file unicast_mac_remote_ovsdb.h.