OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OVSDB::MulticastMacLocalEntry Class Reference

#include <multicast_mac_local_ovsdb.h>

Inheritance diagram for OVSDB::MulticastMacLocalEntry:
Collaboration diagram for OVSDB::MulticastMacLocalEntry:

Public Types

typedef std::set< struct
ovsdb_idl_row * > 
OvsdbIdlRowList
 
typedef std::set< Ip4AddressTorIpList
 
- 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
 

Public Member Functions

 MulticastMacLocalEntry (MulticastMacLocalOvsdb *table, const MulticastMacLocalEntry *key)
 
 MulticastMacLocalEntry (MulticastMacLocalOvsdb *table, const std::string &logical_switch_name)
 
 MulticastMacLocalEntry (MulticastMacLocalOvsdb *table, const std::string &logical_switch_name, struct ovsdb_idl_row *row)
 
bool Add ()
 
bool Change ()
 
bool Delete ()
 
bool IsLess (const KSyncEntry &) const
 
KSyncEntryUnresolvedReference ()
 
std::string ToString () const
 
const std::string & mac () const
 
const TorIpListtor_ip_list () const
 
const std::string & logical_switch_name () const
 
const uint32_t vxlan_id () const
 
OVSDB::VnOvsdbEntryGetVnEntry () const
 
- Public Member Functions inherited from OVSDB::OvsdbEntry
 OvsdbEntry (OvsdbObject *table)
 
 OvsdbEntry (OvsdbObject *table, uint32_t index)
 
virtual ~OvsdbEntry ()
 
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 ()
 
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

void OnVrfDelete ()
 
void EvaluateVrfDependency (VrfEntry *vrf)
 
 DISALLOW_COPY_AND_ASSIGN (MulticastMacLocalEntry)
 

Private Attributes

std::string logical_switch_name_
 
VrfEntryRef vrf_
 
uint32_t vxlan_id_
 
OvsdbIdlRowList row_list_
 
TorIpList tor_ip_list_
 

Friends

class MulticastMacLocalOvsdb
 

Additional Inherited Members

- 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 42 of file multicast_mac_local_ovsdb.h.

Member Typedef Documentation

typedef std::set<struct ovsdb_idl_row *> OVSDB::MulticastMacLocalEntry::OvsdbIdlRowList

Definition at line 44 of file multicast_mac_local_ovsdb.h.

Constructor & Destructor Documentation

MulticastMacLocalEntry::MulticastMacLocalEntry ( MulticastMacLocalOvsdb table,
const MulticastMacLocalEntry key 
)

Definition at line 30 of file multicast_mac_local_ovsdb.cc.

MulticastMacLocalEntry::MulticastMacLocalEntry ( MulticastMacLocalOvsdb table,
const std::string &  logical_switch_name 
)

Definition at line 36 of file multicast_mac_local_ovsdb.cc.

MulticastMacLocalEntry::MulticastMacLocalEntry ( MulticastMacLocalOvsdb table,
const std::string &  logical_switch_name,
struct ovsdb_idl_row *  row 
)

Definition at line 42 of file multicast_mac_local_ovsdb.cc.

Member Function Documentation

bool MulticastMacLocalEntry::Add ( )
virtual

Reimplemented from OVSDB::OvsdbEntry.

Definition at line 88 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

bool MulticastMacLocalEntry::Change ( )
virtual

Reimplemented from OVSDB::OvsdbEntry.

Definition at line 156 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

bool MulticastMacLocalEntry::Delete ( )
virtual

Reimplemented from OVSDB::OvsdbEntry.

Definition at line 160 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

OVSDB::MulticastMacLocalEntry::DISALLOW_COPY_AND_ASSIGN ( MulticastMacLocalEntry  )
private
void MulticastMacLocalEntry::EvaluateVrfDependency ( VrfEntry vrf)
private

Definition at line 59 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

OVSDB::VnOvsdbEntry * MulticastMacLocalEntry::GetVnEntry ( ) const

Definition at line 51 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

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

Implements KSyncEntry.

Definition at line 165 of file multicast_mac_local_ovsdb.cc.

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

Definition at line 187 of file multicast_mac_local_ovsdb.cc.

const std::string& OVSDB::MulticastMacLocalEntry::mac ( ) const
void MulticastMacLocalEntry::OnVrfDelete ( )
private

Definition at line 69 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

const MulticastMacLocalEntry::TorIpList & MulticastMacLocalEntry::tor_ip_list ( ) const

Definition at line 183 of file multicast_mac_local_ovsdb.cc.

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

Implements KSyncEntry.

Definition at line 59 of file multicast_mac_local_ovsdb.h.

KSyncEntry * MulticastMacLocalEntry::UnresolvedReference ( )
virtual

Implements KSyncEntry.

Definition at line 171 of file multicast_mac_local_ovsdb.cc.

Here is the call graph for this function:

const uint32_t OVSDB::MulticastMacLocalEntry::vxlan_id ( ) const
inline

Definition at line 64 of file multicast_mac_local_ovsdb.h.

Friends And Related Function Documentation

friend class MulticastMacLocalOvsdb
friend

Definition at line 71 of file multicast_mac_local_ovsdb.h.

Member Data Documentation

std::string OVSDB::MulticastMacLocalEntry::logical_switch_name_
private

Definition at line 72 of file multicast_mac_local_ovsdb.h.

OvsdbIdlRowList OVSDB::MulticastMacLocalEntry::row_list_
private

Definition at line 77 of file multicast_mac_local_ovsdb.h.

TorIpList OVSDB::MulticastMacLocalEntry::tor_ip_list_
private

Definition at line 78 of file multicast_mac_local_ovsdb.h.

VrfEntryRef OVSDB::MulticastMacLocalEntry::vrf_
private

Definition at line 75 of file multicast_mac_local_ovsdb.h.

uint32_t OVSDB::MulticastMacLocalEntry::vxlan_id_
private

Definition at line 76 of file multicast_mac_local_ovsdb.h.


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