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

#include <bridge_domain.h>

Inheritance diagram for BridgeDomainEntry:
Collaboration diagram for BridgeDomainEntry:

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 VnEntryvn () const
 
uint32_t isid () const
 
uint32_t GetRefCount () const
 
const VrfEntryvrf () const
 
bool learning_enabled () const
 
bool pbb_etree_enabled () const
 
bool mac_aging_time () const
 
bool layer2_control_word () const
 
- Public Member Functions inherited from AgentOperDBEntry
 AgentOperDBEntry ()
 
virtual ~AgentOperDBEntry ()
 
IFMapNodeifmap_node () const
 
void SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref)
 
- Public Member Functions inherited from AgentDBEntry
 AgentDBEntry ()
 
virtual ~AgentDBEntry ()
 
void SetRefState () const
 
void ClearRefState () const
 
bool IsActive () const
 
DBStateGetAgentDBEntryState (int listener_id)
 
const DBStateGetAgentDBEntryState (int listener_id) const
 
virtual void AllocateResources (ResourceManager *resource_manager)
 
virtual void FreeResources (ResourceManager *resource_manager)
 
virtual void PostAdd ()
 
- Public Member Functions inherited from DBEntry
 DBEntry ()
 
virtual ~DBEntry ()
 
bool operator< (const DBEntry &rhs) const
 
- Public Member Functions inherited from DBEntryBase
 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)
 
DBStateGetState (DBTableBase *tbl_base, ListenerId listener) const
 
const DBStateGetState (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
 
DBTablePartBaseget_table_partition () const
 
void set_table_partition (DBTablePartBase *tpart)
 
DBTableBaseget_table () const
 
void Notify ()
 

Private Member Functions

void UpdateVrf (const BridgeDomainData *data)
 
 DISALLOW_COPY_AND_ASSIGN (BridgeDomainEntry)
 
- Private Member Functions inherited from AgentRefCount< BridgeDomainEntry >
uint32_t GetRefCount () const
 
 AgentRefCount ()
 
 AgentRefCount (const AgentRefCount &)
 
AgentRefCountoperator= (const AgentRefCount &)
 
virtual ~AgentRefCount ()
 
void swap (AgentRefCount &)
 

Private Attributes

const BridgeDomainTabletable_
 
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_
 
- Private Attributes inherited from AgentRefCount< BridgeDomainEntry >
tbb::mutex back_ref_mutex_
 
std::set< IntrusiveReferrerback_ref_set_
 

Friends

class BridgeDomainTable
 

Additional Inherited Members

- Public Types inherited from AgentDBEntry
typedef boost::intrusive_ptr
< AgentDBEntry
AgentDBEntyRef
 
- Public Types inherited from DBEntryBase
typedef DBTableBase::ListenerId ListenerId
 
typedef std::unique_ptr
< DBRequestKey
KeyPtr
 
- Public Attributes inherited from DBEntryBase
boost::intrusive::list_member_hook chg_list_
 

Detailed Description

Definition at line 40 of file bridge_domain.h.

Constructor & Destructor Documentation

BridgeDomainEntry::BridgeDomainEntry ( const BridgeDomainTable table,
const boost::uuids::uuid id 
)

Definition at line 20 of file bridge_domain.cc.

virtual BridgeDomainEntry::~BridgeDomainEntry ( )
inlinevirtual

Definition at line 45 of file bridge_domain.h.

Member Function Documentation

bool BridgeDomainEntry::Change ( const BridgeDomainTable table,
const BridgeDomainData data 
)

Definition at line 113 of file bridge_domain.cc.

Here is the call graph for this function:

bool BridgeDomainEntry::DBEntrySandesh ( Sandesh resp,
std::string &  name 
) const
virtual

Implements AgentDBEntry.

Definition at line 47 of file bridge_domain.cc.

Here is the call graph for this function:

void BridgeDomainEntry::Delete ( )

Definition at line 181 of file bridge_domain.cc.

Here is the call graph for this function:

BridgeDomainEntry::DISALLOW_COPY_AND_ASSIGN ( BridgeDomainEntry  )
private
DBEntryBase::KeyPtr BridgeDomainEntry::GetDBRequestKey ( ) const
virtual

Implements DBEntryBase.

Definition at line 36 of file bridge_domain.cc.

uint32_t BridgeDomainEntry::GetRefCount ( ) const
inlinevirtual

Implements AgentDBEntry.

Definition at line 65 of file bridge_domain.h.

Here is the call graph for this function:

uint32_t BridgeDomainEntry::isid ( ) const
inline

Definition at line 61 of file bridge_domain.h.

bool BridgeDomainEntry::IsLess ( const DBEntry rhs) const
virtual

Implements DBEntry.

Definition at line 26 of file bridge_domain.cc.

bool BridgeDomainEntry::layer2_control_word ( ) const
inline

Definition at line 85 of file bridge_domain.h.

bool BridgeDomainEntry::learning_enabled ( ) const
inline

Definition at line 73 of file bridge_domain.h.

bool BridgeDomainEntry::mac_aging_time ( ) const
inline

Definition at line 81 of file bridge_domain.h.

const std::string& BridgeDomainEntry::name ( ) const
inline

Definition at line 56 of file bridge_domain.h.

bool BridgeDomainEntry::pbb_etree_enabled ( ) const
inline

Definition at line 77 of file bridge_domain.h.

void BridgeDomainEntry::SetKey ( const DBRequestKey key)
virtual

Implements DBEntry.

Definition at line 41 of file bridge_domain.cc.

std::string BridgeDomainEntry::ToString ( ) const
virtual

Implements DBEntryBase.

Definition at line 32 of file bridge_domain.cc.

Here is the call graph for this function:

void BridgeDomainEntry::UpdateVrf ( const BridgeDomainData data)
private

Definition at line 82 of file bridge_domain.cc.

Here is the call graph for this function:

const boost::uuids::uuid& BridgeDomainEntry::uuid ( ) const
inline

Definition at line 55 of file bridge_domain.h.

const VnEntry* BridgeDomainEntry::vn ( ) const
inline

Definition at line 57 of file bridge_domain.h.

const VrfEntry* BridgeDomainEntry::vrf ( ) const
inline

Definition at line 69 of file bridge_domain.h.

Friends And Related Function Documentation

friend class BridgeDomainTable
friend

Definition at line 90 of file bridge_domain.h.

Member Data Documentation

std::string BridgeDomainEntry::bmac_vrf_name_
private

Definition at line 99 of file bridge_domain.h.

uint32_t BridgeDomainEntry::isid_
private

Definition at line 97 of file bridge_domain.h.

bool BridgeDomainEntry::layer2_control_word_
private

Definition at line 103 of file bridge_domain.h.

bool BridgeDomainEntry::learning_enabled_
private

Definition at line 100 of file bridge_domain.h.

uint32_t BridgeDomainEntry::mac_aging_time_
private

Definition at line 102 of file bridge_domain.h.

std::string BridgeDomainEntry::name_
private

Definition at line 95 of file bridge_domain.h.

bool BridgeDomainEntry::pbb_etree_enabled_
private

Definition at line 101 of file bridge_domain.h.

const BridgeDomainTable* BridgeDomainEntry::table_
private

Definition at line 93 of file bridge_domain.h.

boost::uuids::uuid BridgeDomainEntry::uuid_
private

Definition at line 94 of file bridge_domain.h.

VnEntryRef BridgeDomainEntry::vn_
private

Definition at line 96 of file bridge_domain.h.

VrfEntryRef BridgeDomainEntry::vrf_
private

Definition at line 98 of file bridge_domain.h.


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