OpenSDN source code
|
#include <ha_stale_l2_route.h>
Public Member Functions | |
HaStaleL2RouteEntry (HaStaleL2RouteTable *table, const std::string &mac) | |
~HaStaleL2RouteEntry () | |
bool | Add () |
bool | Change () |
bool | Delete () |
bool | Sync (DBEntry *) |
bool | IsLess (const KSyncEntry &) const |
std::string | ToString () const |
KSyncEntry * | UnresolvedReference () |
const std::string & | mac () const |
uint32_t | vxlan_id () const |
bool | IsStale () const |
![]() | |
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 | IsDataResolved () |
bool | IsDelAckWaiting () |
bool | IsAddChangeAckWaiting () |
struct ovsdb_idl_row * | ovs_entry () |
OvsdbDBObject * | table () |
KSyncObject * | GetObject () const |
virtual void | Ack (bool success) |
void | TriggerDeleteAdd () |
![]() | |
KSyncDBEntry () | |
KSyncDBEntry (uint32_t index) | |
virtual | ~KSyncDBEntry () |
void | SetDBEntry (DBEntry *db_entry) |
DBEntry * | GetDBEntry () |
![]() | |
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 | 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) |
![]() | |
virtual | ~DBState () |
![]() | |
virtual void | TxnDoneNoMessage () |
KSyncEntry::KSyncEvent | ack_event () |
Private Member Functions | |
void | StaleClearCb () |
void | StopStaleClearTimer () |
void | AddEvent () |
void | ChangeEvent () |
void | DeleteEvent () |
DISALLOW_COPY_AND_ASSIGN (HaStaleL2RouteEntry) | |
Private Attributes | |
std::string | mac_ |
uint32_t | path_preference_ |
uint32_t | vxlan_id_ |
uint64_t | time_stamp_ |
Ip4Address | sip_ |
Ip4Address | dip_ |
bool | is_multicast_ |
Friends | |
class | HaStaleL2RouteTable |
class | VrfRouteReflectorTable |
Additional Inherited Members | |
![]() | |
typedef std::list< DBEntry * > | DupEntryList |
![]() | |
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 std::string | VrouterErrorToString (uint32_t error) |
![]() | |
static const size_t | kInvalidIndex = 0xFFFFFFFF |
static const int | kDefaultMsgSize = 512 |
![]() | |
virtual bool | IsNoTxnEntry () |
virtual bool | UseBulkTxn () |
![]() | |
void | SetIndex (size_t index) |
void | SetState (KSyncState state) |
![]() | |
OvsdbDBObject * | table_ |
struct ovsdb_idl_row * | ovs_entry_ |
![]() | |
KSyncEntry::KSyncEvent | ack_event_ |
Definition at line 58 of file ha_stale_l2_route.h.
HaStaleL2RouteEntry::HaStaleL2RouteEntry | ( | HaStaleL2RouteTable * | table, |
const std::string & | mac | ||
) |
Definition at line 28 of file ha_stale_l2_route.cc.
HaStaleL2RouteEntry::~HaStaleL2RouteEntry | ( | ) |
Definition at line 34 of file ha_stale_l2_route.cc.
|
virtual |
Reimplemented from OVSDB::OvsdbDBEntry.
Definition at line 37 of file ha_stale_l2_route.cc.
|
private |
|
virtual |
Reimplemented from OVSDB::OvsdbDBEntry.
Definition at line 75 of file ha_stale_l2_route.cc.
|
private |
|
virtual |
Reimplemented from OVSDB::OvsdbDBEntry.
Definition at line 87 of file ha_stale_l2_route.cc.
|
private |
|
private |
|
virtual |
Implements KSyncEntry.
Definition at line 164 of file ha_stale_l2_route.cc.
bool HaStaleL2RouteEntry::IsStale | ( | ) | const |
Definition at line 182 of file ha_stale_l2_route.cc.
const std::string & HaStaleL2RouteEntry::mac | ( | ) | const |
Definition at line 174 of file ha_stale_l2_route.cc.
|
private |
|
private |
|
virtual |
Implements KSyncDBEntry.
Definition at line 120 of file ha_stale_l2_route.cc.
|
inlinevirtual |
Implements KSyncEntry.
Definition at line 70 of file ha_stale_l2_route.h.
|
virtual |
Implements KSyncEntry.
Definition at line 170 of file ha_stale_l2_route.cc.
uint32_t HaStaleL2RouteEntry::vxlan_id | ( | ) | const |
Definition at line 178 of file ha_stale_l2_route.cc.
|
friend |
Definition at line 78 of file ha_stale_l2_route.h.
|
friend |
Definition at line 79 of file ha_stale_l2_route.h.
|
private |
Definition at line 94 of file ha_stale_l2_route.h.
|
private |
Definition at line 95 of file ha_stale_l2_route.h.
|
private |
Definition at line 89 of file ha_stale_l2_route.h.
|
private |
Definition at line 90 of file ha_stale_l2_route.h.
|
private |
Definition at line 93 of file ha_stale_l2_route.h.
|
private |
Definition at line 92 of file ha_stale_l2_route.h.
|
private |
Definition at line 91 of file ha_stale_l2_route.h.