|
OpenSDN source code
|
#include <ovsdb_entry.h>


Public Member Functions | |
| OvsdbDBEntry (OvsdbDBObject *table) | |
| OvsdbDBEntry (OvsdbDBObject *table, struct ovsdb_idl_row *ovs_entry) | |
| virtual | ~OvsdbDBEntry () |
| virtual void | PreAddChange () |
| virtual void | PostDelete () |
| virtual void | AddMsg (struct ovsdb_idl_txn *) |
| virtual void | ChangeMsg (struct ovsdb_idl_txn *) |
| virtual void | DeleteMsg (struct ovsdb_idl_txn *) |
| virtual void | OvsdbChange () |
| virtual void | StaleTimerExpired () |
| bool | AllowDeleteStateComp () |
| virtual void | NotifyAdd (struct ovsdb_idl_row *) |
| virtual void | NotifyDelete (struct ovsdb_idl_row *) |
| virtual bool | Add () |
| virtual bool | Change () |
| virtual bool | Delete () |
| virtual bool | IsDataResolved () |
| bool | IsDelAckWaiting () |
| bool | IsAddChangeAckWaiting () |
| struct ovsdb_idl_row * | ovs_entry () |
| OvsdbDBObject * | table () |
| KSyncObject * | GetObject () const |
| virtual void | Ack (bool success) |
| void | TriggerDeleteAdd () |
Public Member Functions inherited from KSyncDBEntry | |
| KSyncDBEntry () | |
| KSyncDBEntry (uint32_t index) | |
| virtual | ~KSyncDBEntry () |
| virtual bool | Sync (DBEntry *entry)=0 |
| void | SetDBEntry (DBEntry *db_entry) |
| DBEntry * | GetDBEntry () |
Public Member Functions inherited from KSyncEntry | |
| std::string | StateString () const |
| std::string | AckOperationString (KSyncEvent ack_event) const |
| std::string | EventString (KSyncEvent event) const |
| KSyncEntry () | |
| KSyncEntry (uint32_t index) | |
| virtual | ~KSyncEntry () |
| void | Reset () |
| void | Reset (uint32_t index) |
| bool | operator< (const KSyncEntry &rhs) const |
| virtual bool | IsLess (const KSyncEntry &rhs) const =0 |
| virtual std::string | ToString () const =0 |
| virtual KSyncEntry * | UnresolvedReference ()=0 |
| virtual bool | ShouldReEvalBackReference () const |
| bool | IsResolved () |
| virtual void | Response () |
| virtual void | ErrorHandler (int err, uint32_t seqno, KSyncEvent event) const |
| virtual std::string | VrouterError (uint32_t error) const |
| virtual bool | pre_alloc_rx_buffer () const |
| virtual uint32_t | GetTableIndex () const |
| size_t | GetIndex () const |
| KSyncState | GetState () const |
| bool | del_add_pending () const |
| uint32_t | GetRefCount () const |
| bool | Seen () const |
| bool | stale () const |
| void | SetSeen () |
| bool | IsDeleted () |
| bool | IsActive () |
| void | set_del_add_pending (bool pending) |
| void | RecordTransition (KSyncState from, KSyncState to, KSyncEvent event) |
Public Member Functions inherited from DBState | |
| virtual | ~DBState () |
Public Member Functions inherited from OVSDB::OvsdbEntryBase | |
| virtual void | TxnDoneNoMessage () |
| KSyncEntry::KSyncEvent | ack_event () |
Protected Member Functions | |
| virtual bool | IsNoTxnEntry () |
| virtual bool | UseBulkTxn () |
Protected Member Functions inherited from KSyncEntry | |
| void | SetIndex (size_t index) |
| void | SetState (KSyncState state) |
Protected Attributes | |
| OvsdbDBObject * | table_ |
| struct ovsdb_idl_row * | ovs_entry_ |
Protected Attributes inherited from OVSDB::OvsdbEntryBase | |
| KSyncEntry::KSyncEvent | ack_event_ |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (OvsdbDBEntry) | |
Friends | |
| class | OvsdbDBObject |
Additional Inherited Members | |
Public Types inherited from KSyncDBEntry | |
| typedef std::list< DBEntry * > | DupEntryList |
Public Types inherited from KSyncEntry | |
| enum | KSyncState { INIT , TEMP , ADD_DEFER , CHANGE_DEFER , IN_SYNC , SYNC_WAIT , NEED_SYNC , DEL_DEFER_SYNC , DEL_DEFER_REF , DEL_DEFER_DEL_ACK , DEL_ACK_WAIT , RENEW_WAIT , FREE_WAIT } |
| enum | KSyncEvent { ADD_CHANGE_REQ , ADD_ACK , CHANGE_ACK , DEL_REQ , DEL_ADD_REQ , DEL_ACK , RE_EVAL , INT_PTR_REL , INVALID } |
| typedef boost::intrusive_ptr< KSyncEntry > | KSyncEntryPtr |
Static Public Member Functions inherited from KSyncEntry | |
| static std::string | VrouterErrorToString (uint32_t error) |
Static Public Attributes inherited from KSyncEntry | |
| static const size_t | kInvalidIndex = 0xFFFFFFFF |
| static const int | kDefaultMsgSize = 512 |
Definition at line 59 of file ovsdb_entry.h.
| OvsdbDBEntry::OvsdbDBEntry | ( | OvsdbDBObject * | table | ) |
Definition at line 53 of file ovsdb_entry.cc.
| OvsdbDBEntry::OvsdbDBEntry | ( | OvsdbDBObject * | table, |
| struct ovsdb_idl_row * | ovs_entry | ||
| ) |
Definition at line 57 of file ovsdb_entry.cc.
|
virtual |
Definition at line 61 of file ovsdb_entry.cc.
|
virtual |
Implements OVSDB::OvsdbEntryBase.
Reimplemented in OVSDB::UnicastMacRemoteEntry, and OVSDB::LogicalSwitchEntry.
Definition at line 198 of file ovsdb_entry.cc.

|
virtual |
Implements KSyncEntry.
Reimplemented in OVSDB::VrfOvsdbEntry, OVSDB::HaStaleL2RouteEntry, and OVSDB::HaStaleDevVnEntry.
Definition at line 64 of file ovsdb_entry.cc.

|
inlinevirtual |
Reimplemented in OVSDB::VnOvsdbEntry, OVSDB::VMInterfaceKSyncEntry, OVSDB::VlanPortBindingEntry, OVSDB::UnicastMacRemoteEntry, OVSDB::LogicalSwitchEntry, and OVSDB::HaStaleVnEntry.
Definition at line 72 of file ovsdb_entry.h.
|
inlinevirtual |
Reimplemented from KSyncEntry.
Definition at line 82 of file ovsdb_entry.h.
|
virtual |
Implements KSyncEntry.
Reimplemented in OVSDB::VrfOvsdbEntry, OVSDB::HaStaleL2RouteEntry, and OVSDB::HaStaleDevVnEntry.
Definition at line 97 of file ovsdb_entry.cc.

|
inlinevirtual |
Reimplemented in OVSDB::VnOvsdbEntry, OVSDB::VMInterfaceKSyncEntry, OVSDB::VlanPortBindingEntry, OVSDB::UnicastMacRemoteEntry, OVSDB::LogicalSwitchEntry, and OVSDB::HaStaleVnEntry.
Definition at line 74 of file ovsdb_entry.h.
|
virtual |
Implements KSyncEntry.
Reimplemented in OVSDB::VrfOvsdbEntry, OVSDB::HaStaleL2RouteEntry, and OVSDB::HaStaleDevVnEntry.
Definition at line 130 of file ovsdb_entry.cc.

|
inlinevirtual |
Reimplemented in OVSDB::VnOvsdbEntry, OVSDB::VMInterfaceKSyncEntry, OVSDB::VlanPortBindingEntry, OVSDB::UnicastMacRemoteEntry, OVSDB::LogicalSwitchEntry, and OVSDB::HaStaleVnEntry.
Definition at line 76 of file ovsdb_entry.h.
|
private |
|
virtual |
Implements OVSDB::OvsdbEntryBase.
Definition at line 194 of file ovsdb_entry.cc.
| bool OvsdbDBEntry::IsAddChangeAckWaiting | ( | ) |
|
virtual |
Reimplemented from KSyncEntry.
Reimplemented in OVSDB::VnOvsdbEntry, OVSDB::VMInterfaceKSyncEntry, and OVSDB::HaStaleVnEntry.
Definition at line 164 of file ovsdb_entry.cc.
| bool OvsdbDBEntry::IsDelAckWaiting | ( | ) |
|
inlineprotectedvirtual |
Reimplemented in OVSDB::VrfOvsdbEntry, OVSDB::VlanPortBindingEntry, and OVSDB::HaStaleVnEntry.
Definition at line 105 of file ovsdb_entry.h.
|
virtual |
Reimplemented in OVSDB::UnicastMacRemoteEntry.
Definition at line 179 of file ovsdb_entry.cc.

|
virtual |
Reimplemented in OVSDB::UnicastMacRemoteEntry, and OVSDB::LogicalSwitchEntry.
Definition at line 190 of file ovsdb_entry.cc.
|
inline |
Definition at line 94 of file ovsdb_entry.h.
|
inlinevirtual |
Reimplemented in OVSDB::UnicastMacRemoteEntry, and OVSDB::LogicalSwitchEntry.
Definition at line 78 of file ovsdb_entry.h.
|
inlinevirtual |
Reimplemented in OVSDB::VlanPortBindingEntry, and OVSDB::UnicastMacRemoteEntry.
Definition at line 70 of file ovsdb_entry.h.
|
inlinevirtual |
Reimplemented in OVSDB::VlanPortBindingEntry, and OVSDB::UnicastMacRemoteEntry.
Definition at line 66 of file ovsdb_entry.h.
|
inlinevirtual |
Reimplemented from KSyncEntry.
Reimplemented in OVSDB::LogicalSwitchEntry.
Definition at line 80 of file ovsdb_entry.h.
|
inline |
Definition at line 96 of file ovsdb_entry.h.
| void OvsdbDBEntry::TriggerDeleteAdd | ( | ) |
|
inlineprotectedvirtual |
Reimplemented in OVSDB::UnicastMacRemoteEntry.
Definition at line 108 of file ovsdb_entry.h.
|
friend |
Definition at line 114 of file ovsdb_entry.h.
|
protected |
Definition at line 111 of file ovsdb_entry.h.
|
protected |
Definition at line 110 of file ovsdb_entry.h.