OpenSDN source code
OVSDB::UnicastMacLocalEntry Class Reference

#include <unicast_mac_local_ovsdb.h>

Inheritance diagram for OVSDB::UnicastMacLocalEntry:
Collaboration diagram for OVSDB::UnicastMacLocalEntry:

Public Member Functions

 UnicastMacLocalEntry (UnicastMacLocalOvsdb *table, const std::string &logical_switch, const std::string &mac)
 
 UnicastMacLocalEntry (UnicastMacLocalOvsdb *table, const UnicastMacLocalEntry *key)
 
 UnicastMacLocalEntry (UnicastMacLocalOvsdb *table, struct ovsdb_idl_row *row)
 
 ~UnicastMacLocalEntry ()
 
bool Add ()
 
bool Delete ()
 
bool IsLess (const KSyncEntry &) const
 
KSyncEntryUnresolvedReference ()
 
std::string ToString () const
 
const std::string & mac () const
 
const std::string & logical_switch_name () const
 
const std::string & dest_ip () const
 
- Public Member Functions inherited from OVSDB::OvsdbEntry
 OvsdbEntry (OvsdbObject *table)
 
 OvsdbEntry (OvsdbObject *table, uint32_t index)
 
virtual ~OvsdbEntry ()
 
virtual bool Change ()
 
struct ovsdb_idl_row * ovs_entry ()
 
KSyncObjectGetObject () const
 
void Ack (bool success)
 
- 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 ShouldReEvalBackReference () const
 
bool IsResolved ()
 
bool IsInSync () const
 
virtual bool IsDataResolved ()
 
virtual void Response ()
 
virtual bool AllowDeleteStateComp ()
 
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
 
virtual void StaleTimerExpired ()
 
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 OVSDB::OvsdbEntryBase
virtual void TxnDoneNoMessage ()
 
KSyncEntry::KSyncEvent ack_event ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (UnicastMacLocalEntry)
 

Private Attributes

std::string mac_
 
std::string logical_switch_name_
 
std::string dest_ip_
 
VrfEntryRef vrf_
 
uint32_t vxlan_id_
 

Friends

class UnicastMacLocalOvsdb
 

Additional Inherited Members

- 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< KSyncEntryKSyncEntryPtr
 
- 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
 
- Protected Member Functions inherited from KSyncEntry
void SetIndex (size_t index)
 
void SetState (KSyncState state)
 
- Protected Attributes inherited from OVSDB::OvsdbEntry
OvsdbObjecttable_
 
struct ovsdb_idl_row * ovs_entry_
 
- Protected Attributes inherited from OVSDB::OvsdbEntryBase
KSyncEntry::KSyncEvent ack_event_
 

Detailed Description

Definition at line 43 of file unicast_mac_local_ovsdb.h.

Constructor & Destructor Documentation

◆ UnicastMacLocalEntry() [1/3]

UnicastMacLocalEntry::UnicastMacLocalEntry ( UnicastMacLocalOvsdb table,
const std::string &  logical_switch,
const std::string &  mac 
)

Definition at line 31 of file unicast_mac_local_ovsdb.cc.

◆ UnicastMacLocalEntry() [2/3]

UnicastMacLocalEntry::UnicastMacLocalEntry ( UnicastMacLocalOvsdb table,
const UnicastMacLocalEntry key 
)

Definition at line 37 of file unicast_mac_local_ovsdb.cc.

◆ UnicastMacLocalEntry() [3/3]

UnicastMacLocalEntry::UnicastMacLocalEntry ( UnicastMacLocalOvsdb table,
struct ovsdb_idl_row *  row 
)

Definition at line 43 of file unicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

◆ ~UnicastMacLocalEntry()

UnicastMacLocalEntry::~UnicastMacLocalEntry ( )

Definition at line 52 of file unicast_mac_local_ovsdb.cc.

Member Function Documentation

◆ Add()

bool UnicastMacLocalEntry::Add ( )
virtual

Reimplemented from OVSDB::OvsdbEntry.

Definition at line 55 of file unicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

◆ Delete()

bool UnicastMacLocalEntry::Delete ( )
virtual

Reimplemented from OVSDB::OvsdbEntry.

Definition at line 77 of file unicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

◆ dest_ip()

const std::string & UnicastMacLocalEntry::dest_ip ( ) const

Definition at line 118 of file unicast_mac_local_ovsdb.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

OVSDB::UnicastMacLocalEntry::DISALLOW_COPY_AND_ASSIGN ( UnicastMacLocalEntry  )
private

◆ IsLess()

bool UnicastMacLocalEntry::IsLess ( const KSyncEntry entry) const
virtual

Implements KSyncEntry.

Definition at line 88 of file unicast_mac_local_ovsdb.cc.

◆ logical_switch_name()

const std::string & UnicastMacLocalEntry::logical_switch_name ( ) const

Definition at line 114 of file unicast_mac_local_ovsdb.cc.

◆ mac()

const std::string & UnicastMacLocalEntry::mac ( ) const

Definition at line 110 of file unicast_mac_local_ovsdb.cc.

◆ ToString()

std::string OVSDB::UnicastMacLocalEntry::ToString ( ) const
inlinevirtual

Implements KSyncEntry.

Definition at line 57 of file unicast_mac_local_ovsdb.h.

◆ UnresolvedReference()

KSyncEntry * UnicastMacLocalEntry::UnresolvedReference ( )
virtual

Implements KSyncEntry.

Definition at line 96 of file unicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ UnicastMacLocalOvsdb

friend class UnicastMacLocalOvsdb
friend

Definition at line 64 of file unicast_mac_local_ovsdb.h.

Member Data Documentation

◆ dest_ip_

std::string OVSDB::UnicastMacLocalEntry::dest_ip_
private

Definition at line 67 of file unicast_mac_local_ovsdb.h.

◆ logical_switch_name_

std::string OVSDB::UnicastMacLocalEntry::logical_switch_name_
private

Definition at line 66 of file unicast_mac_local_ovsdb.h.

◆ mac_

std::string OVSDB::UnicastMacLocalEntry::mac_
private

Definition at line 65 of file unicast_mac_local_ovsdb.h.

◆ vrf_

VrfEntryRef OVSDB::UnicastMacLocalEntry::vrf_
private

Definition at line 70 of file unicast_mac_local_ovsdb.h.

◆ vxlan_id_

uint32_t OVSDB::UnicastMacLocalEntry::vxlan_id_
private

Definition at line 71 of file unicast_mac_local_ovsdb.h.


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