OpenSDN source code
|
#include <bridge_domain.h>
Public Member Functions | |
BridgeDomainEntry (const BridgeDomainTable *table, const boost::uuids::uuid &id) | |
virtual | ~BridgeDomainEntry () |
virtual bool | IsLess (const DBEntry &rhs) const |
virtual std::string | ToString () const |
virtual KeyPtr | GetDBRequestKey () const |
virtual void | SetKey (const DBRequestKey *key) |
bool | DBEntrySandesh (Sandesh *resp, std::string &name) const |
bool | Change (const BridgeDomainTable *table, const BridgeDomainData *data) |
void | Delete () |
const boost::uuids::uuid & | uuid () const |
const std::string & | name () const |
const VnEntry * | vn () const |
uint32_t | isid () const |
uint32_t | GetRefCount () const |
const VrfEntry * | vrf () const |
bool | learning_enabled () const |
bool | pbb_etree_enabled () const |
bool | mac_aging_time () const |
bool | layer2_control_word () const |
![]() | |
AgentOperDBEntry () | |
virtual | ~AgentOperDBEntry () |
IFMapNode * | ifmap_node () const |
void | SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref) |
![]() | |
AgentDBEntry () | |
virtual | ~AgentDBEntry () |
void | SetRefState () const |
void | ClearRefState () const |
bool | IsActive () const |
DBState * | GetAgentDBEntryState (int listener_id) |
const DBState * | GetAgentDBEntryState (int listener_id) const |
virtual void | AllocateResources (ResourceManager *resource_manager) |
virtual void | FreeResources (ResourceManager *resource_manager) |
virtual void | PostAdd () |
![]() | |
DBEntry () | |
virtual | ~DBEntry () |
bool | operator< (const DBEntry &rhs) const |
![]() | |
DBEntryBase () | |
virtual | ~DBEntryBase () |
virtual bool | IsMoreSpecific (const std::string &match) const |
virtual bool | IsLessSpecific (const std::string &match) const |
void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
bool | is_state_empty (DBTablePartBase *tpart) |
bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
void | Delete () |
void | MarkDelete () |
void | ClearDelete () |
bool | IsDeleted () const |
void | set_onlist () |
void | clear_onlist () |
bool | is_onlist () |
void | SetOnRemoveQ () |
bool | IsOnRemoveQ () |
void | ClearOnRemoveQ () |
void | set_last_change_at (uint64_t time) |
void | set_last_change_at_to_now () |
const uint64_t | last_change_at () const |
const std::string | last_change_at_str () const |
void | set_last_update_at (uint64_t time) |
void | set_last_update_at_to_now () |
const uint64_t | last_update_at () const |
DBTablePartBase * | get_table_partition () const |
void | set_table_partition (DBTablePartBase *tpart) |
DBTableBase * | get_table () const |
void | Notify () |
Private Member Functions | |
void | UpdateVrf (const BridgeDomainData *data) |
DISALLOW_COPY_AND_ASSIGN (BridgeDomainEntry) | |
![]() | |
uint32_t | GetRefCount () const |
AgentRefCount () | |
AgentRefCount (const AgentRefCount &) | |
AgentRefCount & | operator= (const AgentRefCount &) |
virtual | ~AgentRefCount () |
void | swap (AgentRefCount &) |
Private Attributes | |
const BridgeDomainTable * | table_ |
boost::uuids::uuid | uuid_ |
std::string | name_ |
VnEntryRef | vn_ |
uint32_t | isid_ |
VrfEntryRef | vrf_ |
std::string | bmac_vrf_name_ |
bool | learning_enabled_ |
bool | pbb_etree_enabled_ |
uint32_t | mac_aging_time_ |
bool | layer2_control_word_ |
![]() | |
tbb::mutex | back_ref_mutex_ |
std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
class | BridgeDomainTable |
Additional Inherited Members | |
![]() | |
typedef boost::intrusive_ptr < AgentDBEntry > | AgentDBEntyRef |
![]() | |
typedef DBTableBase::ListenerId | ListenerId |
typedef std::unique_ptr < DBRequestKey > | KeyPtr |
![]() | |
boost::intrusive::list_member_hook | chg_list_ |
Definition at line 40 of file bridge_domain.h.
BridgeDomainEntry::BridgeDomainEntry | ( | const BridgeDomainTable * | table, |
const boost::uuids::uuid & | id | ||
) |
Definition at line 20 of file bridge_domain.cc.
|
inlinevirtual |
Definition at line 45 of file bridge_domain.h.
bool BridgeDomainEntry::Change | ( | const BridgeDomainTable * | table, |
const BridgeDomainData * | data | ||
) |
|
virtual |
Implements AgentDBEntry.
Definition at line 47 of file bridge_domain.cc.
void BridgeDomainEntry::Delete | ( | ) |
|
private |
|
virtual |
Implements DBEntryBase.
Definition at line 36 of file bridge_domain.cc.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 65 of file bridge_domain.h.
|
inline |
Definition at line 61 of file bridge_domain.h.
|
virtual |
Implements DBEntry.
Definition at line 26 of file bridge_domain.cc.
|
inline |
Definition at line 85 of file bridge_domain.h.
|
inline |
Definition at line 73 of file bridge_domain.h.
|
inline |
Definition at line 81 of file bridge_domain.h.
|
inline |
Definition at line 56 of file bridge_domain.h.
|
inline |
Definition at line 77 of file bridge_domain.h.
|
virtual |
Implements DBEntry.
Definition at line 41 of file bridge_domain.cc.
|
virtual |
Implements DBEntryBase.
Definition at line 32 of file bridge_domain.cc.
|
private |
|
inline |
Definition at line 55 of file bridge_domain.h.
|
inline |
Definition at line 57 of file bridge_domain.h.
|
inline |
Definition at line 69 of file bridge_domain.h.
|
friend |
Definition at line 90 of file bridge_domain.h.
|
private |
Definition at line 99 of file bridge_domain.h.
|
private |
Definition at line 97 of file bridge_domain.h.
|
private |
Definition at line 103 of file bridge_domain.h.
|
private |
Definition at line 100 of file bridge_domain.h.
|
private |
Definition at line 102 of file bridge_domain.h.
|
private |
Definition at line 95 of file bridge_domain.h.
|
private |
Definition at line 101 of file bridge_domain.h.
|
private |
Definition at line 93 of file bridge_domain.h.
|
private |
Definition at line 94 of file bridge_domain.h.
|
private |
Definition at line 96 of file bridge_domain.h.
|
private |
Definition at line 98 of file bridge_domain.h.