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

#include <vxlan.h>

Inheritance diagram for VxLanId:
Collaboration diagram for VxLanId:

Public Member Functions

 VxLanId (uint32_t vxlan_id)
 
virtual ~VxLanId ()
 
bool IsLess (const DBEntry &rhs) const
 
virtual string ToString () const
 
virtual void SetKey (const DBRequestKey *key)
 
virtual KeyPtr GetDBRequestKey () const
 
uint32_t vxlan_id () const
 
const NextHopnexthop () const
 
uint32_t GetRefCount () const
 
bool DBEntrySandesh (Sandesh *sresp, std::string &name) const
 
void SendObjectLog (const AgentDBTable *table, AgentLogEvent::type event) const
 
- 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

 DISALLOW_COPY_AND_ASSIGN (VxLanId)
 
- Private Member Functions inherited from AgentRefCount< VxLanId >
uint32_t GetRefCount () const
 
 AgentRefCount ()
 
 AgentRefCount (const AgentRefCount &)
 
AgentRefCountoperator= (const AgentRefCount &)
 
virtual ~AgentRefCount ()
 
void swap (AgentRefCount &)
 

Private Attributes

uint32_t vxlan_id_
 
NextHopRef nh_
 
- Private Attributes inherited from AgentRefCount< VxLanId >
tbb::mutex back_ref_mutex_
 
std::set< IntrusiveReferrerback_ref_set_
 

Friends

class VxLanTable
 

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 14 of file vxlan.h.

Constructor & Destructor Documentation

VxLanId::VxLanId ( uint32_t  vxlan_id)
inline

Definition at line 16 of file vxlan.h.

VxLanId::~VxLanId ( )
virtual

Definition at line 19 of file vxlan.cc.

Member Function Documentation

bool VxLanId::DBEntrySandesh ( Sandesh sresp,
std::string &  name 
) const
virtual

Implements AgentDBEntry.

Definition at line 373 of file vxlan.cc.

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

Implements DBEntryBase.

Definition at line 25 of file vxlan.cc.

uint32_t VxLanId::GetRefCount ( ) const
inlinevirtual

Implements AgentDBEntry.

Definition at line 30 of file vxlan.h.

Here is the call graph for this function:

bool VxLanId::IsLess ( const DBEntry rhs) const
inlinevirtual

Implements DBEntry.

Definition at line 19 of file vxlan.h.

Here is the call graph for this function:

const NextHop* VxLanId::nexthop ( ) const
inline

Definition at line 28 of file vxlan.h.

void VxLanId::SendObjectLog ( const AgentDBTable table,
AgentLogEvent::type  event 
) const

Definition at line 386 of file vxlan.cc.

Here is the call graph for this function:

void VxLanId::SetKey ( const DBRequestKey key)
virtual

Implements DBEntry.

Definition at line 30 of file vxlan.cc.

Here is the call graph for this function:

virtual string VxLanId::ToString ( ) const
inlinevirtual

Implements DBEntryBase.

Definition at line 23 of file vxlan.h.

uint32_t VxLanId::vxlan_id ( ) const
inline

Definition at line 27 of file vxlan.h.

Friends And Related Function Documentation

friend class VxLanTable
friend

Definition at line 41 of file vxlan.h.

Member Data Documentation

NextHopRef VxLanId::nh_
private

Definition at line 40 of file vxlan.h.

uint32_t VxLanId::vxlan_id_
private

Definition at line 39 of file vxlan.h.


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