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

#include <vn_uve_table.h>

Inheritance diagram for VnUveTable:
Collaboration diagram for VnUveTable:

Public Member Functions

 VnUveTable (Agent *agent, uint32_t default_intvl)
 
virtual ~VnUveTable ()
 
void UpdateBitmap (const std::string &vn, uint8_t proto, uint16_t sport, uint16_t dport)
 
void SendVnStats ()
 
void UpdateInterVnStats (const std::string &src, const std::string &dst, uint64_t bytes, uint64_t pkts, bool outgoing)
 
void IncrVnAceStats (const FlowUveVnAcePolicyInfo &info)
 
- Public Member Functions inherited from VnUveTableBase
 VnUveTableBase (Agent *agent, uint32_t default_intvl)
 
virtual ~VnUveTableBase ()
 
void RegisterDBClients ()
 
void Shutdown (void)
 
void SendVnAclRuleCount ()
 
bool TimerExpiry ()
 

Protected Member Functions

void SendVnStatsMsg (const VnEntry *vn)
 
void SendVnAceStats (VnUveEntryBase *entry, const VnEntry *vn)
 
- Protected Member Functions inherited from VnUveTableBase
void Delete (const std::string &name)
 
VnUveEntryBaseUveEntryFromVn (const VnEntry *vn)
 
virtual void DispatchVnMsg (const UveVirtualNetworkAgent &uve)
 

Private Member Functions

virtual VnUveEntryPtr Allocate (const VnEntry *vn)
 
virtual VnUveEntryPtr Allocate ()
 
bool SendUnresolvedVnMsg (const std::string &vn, UveVirtualNetworkAgent &u)
 
 DISALLOW_COPY_AND_ASSIGN (VnUveTable)
 

Private Attributes

DBTableBase::ListenerId vn_listener_id_
 
DBTableBase::ListenerId intf_listener_id_
 

Additional Inherited Members

- Public Types inherited from VnUveTableBase
typedef boost::shared_ptr
< VnUveEntryBase
VnUveEntryPtr
 
typedef std::map< std::string,
VnUveEntryPtr
UveVnMap
 
typedef std::pair< std::string,
VnUveEntryPtr
UveVnPair
 
- Protected Attributes inherited from VnUveTableBase
UveVnMap uve_vn_map_
 
Agentagent_
 
tbb::mutex uve_vn_map_mutex_
 

Detailed Description

Definition at line 25 of file vn_uve_table.h.

Constructor & Destructor Documentation

VnUveTable::VnUveTable ( Agent agent,
uint32_t  default_intvl 
)

Definition at line 9 of file vn_uve_table.cc.

VnUveTable::~VnUveTable ( )
virtual

Definition at line 13 of file vn_uve_table.cc.

Member Function Documentation

VnUveTableBase::VnUveEntryPtr VnUveTable::Allocate ( const VnEntry vn)
privatevirtual

Reimplemented from VnUveTableBase.

Definition at line 16 of file vn_uve_table.cc.

VnUveTableBase::VnUveEntryPtr VnUveTable::Allocate ( )
privatevirtual

Reimplemented from VnUveTableBase.

Definition at line 21 of file vn_uve_table.cc.

VnUveTable::DISALLOW_COPY_AND_ASSIGN ( VnUveTable  )
private
void VnUveTable::IncrVnAceStats ( const FlowUveVnAcePolicyInfo info)

Definition at line 112 of file vn_uve_table.cc.

Here is the call graph for this function:

bool VnUveTable::SendUnresolvedVnMsg ( const std::string &  vn,
UveVirtualNetworkAgent &  u 
)
private

Definition at line 26 of file vn_uve_table.cc.

Here is the call graph for this function:

void VnUveTable::SendVnAceStats ( VnUveEntryBase entry,
const VnEntry vn 
)
protectedvirtual

Reimplemented from VnUveTableBase.

Definition at line 125 of file vn_uve_table.cc.

Here is the call graph for this function:

void VnUveTable::SendVnStats ( )

Definition at line 50 of file vn_uve_table.cc.

Here is the call graph for this function:

void VnUveTable::SendVnStatsMsg ( const VnEntry vn)
protected

Definition at line 71 of file vn_uve_table.cc.

Here is the call graph for this function:

void VnUveTable::UpdateBitmap ( const std::string &  vn,
uint8_t  proto,
uint16_t  sport,
uint16_t  dport 
)

Definition at line 87 of file vn_uve_table.cc.

Here is the call graph for this function:

void VnUveTable::UpdateInterVnStats ( const std::string &  src,
const std::string &  dst,
uint64_t  bytes,
uint64_t  pkts,
bool  outgoing 
)

Definition at line 99 of file vn_uve_table.cc.

Here is the call graph for this function:

Member Data Documentation

DBTableBase::ListenerId VnUveTable::intf_listener_id_
private

Definition at line 47 of file vn_uve_table.h.

DBTableBase::ListenerId VnUveTable::vn_listener_id_
private

Definition at line 46 of file vn_uve_table.h.


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