OpenSDN source code
InterfaceUveStatsTable Class Reference

#include <interface_uve_stats_table.h>

Inheritance diagram for InterfaceUveStatsTable:
Collaboration diagram for InterfaceUveStatsTable:

Public Member Functions

 InterfaceUveStatsTable (Agent *agent, uint32_t default_intvl)
 
virtual ~InterfaceUveStatsTable ()
 
void UpdateBitmap (const VmEntry *vm, uint8_t proto, uint16_t sport, uint16_t dport)
 
void SendInterfaceStats (void)
 
void UpdateFloatingIpStats (const FipInfo &fip_info)
 
InterfaceUveTable::FloatingIpFipEntry (uint32_t fip, const string &vn, Interface *intf)
 
void UpdatePortBitmap (const string &name, uint8_t proto, uint16_t sport, uint16_t dport)
 
void IncrInterfaceAceStats (const FlowUveStatsRequest *req)
 
bool IncrInterfaceEndpointHits (const std::string &itf, const FlowUveFwPolicyInfo &info)
 
void SendInterfaceAceStats (const string &name, UveInterfaceEntry *entry)
 
void UpdateVmiTagBasedStats (const EndpointStatsInfo &info)
 
void BuildInterfaceUveInfo (InterfaceUveInfoResp *r)
 
- Public Member Functions inherited from InterfaceUveTable
 InterfaceUveTable (Agent *agent, uint32_t default_intvl)
 
virtual ~InterfaceUveTable ()
 
void RegisterDBClients ()
 
void Shutdown (void)
 
virtual void DispatchInterfaceMsg (const UveVMInterfaceAgent &uve)
 
virtual void DispatchInterfaceObjectLog (EndpointSecurityStats *obj)
 
void DispatchVMITagsMsg (const VMITags &uve) const
 
virtual void DispatchVMIStatsMsg (const VMIStats &uve)
 
bool TimerExpiry ()
 
void HandleVmiTagListChange (const std::string &name)
 

Private Member Functions

bool FrameInterfaceObjectLog (UveInterfaceEntry *entry, EndpointSecurityStats *obj) const
 
void SendInterfaceStatsMsg (UveInterfaceEntry *entry)
 
uint64_t GetVmPortBandwidth (StatsManager::InterfaceStats *s, bool dir_in) const
 
bool FrameFipStatsMsg (const VmInterface *vm_intf, vector< VmFloatingIPStats > &fip_list, vector< VmFloatingIPStats > &diff_list, bool &diff_list_send) const
 
bool FrameInterfaceStatsMsg (UveInterfaceEntry *entry, VMIStats *uve) const
 
 DISALLOW_COPY_AND_ASSIGN (InterfaceUveStatsTable)
 

Additional Inherited Members

- Public Types inherited from InterfaceUveTable
typedef boost::shared_ptr< FloatingIpFloatingIpPtr
 
typedef std::set< FloatingIpPtr, FloatingIpCmpFloatingIpSet
 
typedef boost::shared_ptr< UveSecurityPolicyStatsUveSecurityPolicyStatsPtr
 
typedef std::set< UveSecurityPolicyStatsPtr, PolicyCmpSecurityPolicyStatsSet
 
typedef std::map< std::string, EndpointStatsContainerSecurityPolicyStatsMap
 
typedef std::pair< std::string, EndpointStatsContainerSecurityPolicyStatsPair
 
typedef std::set< AceStatsAceStatsSet
 
typedef boost::shared_ptr< UveInterfaceEntryUveInterfaceEntryPtr
 
typedef std::map< std::string, UveInterfaceEntryPtrInterfaceMap
 
typedef std::pair< std::string, UveInterfaceEntryPtrInterfacePair
 
- Protected Member Functions inherited from InterfaceUveTable
void SendInterfaceDeleteMsg (const std::string &config_name)
 
- Protected Attributes inherited from InterfaceUveTable
Agentagent_
 
InterfaceMap interface_tree_
 
tbb::mutex interface_tree_mutex_
 

Detailed Description

Definition at line 15 of file interface_uve_stats_table.h.

Constructor & Destructor Documentation

◆ InterfaceUveStatsTable()

InterfaceUveStatsTable::InterfaceUveStatsTable ( Agent agent,
uint32_t  default_intvl 
)

Definition at line 9 of file interface_uve_stats_table.cc.

◆ ~InterfaceUveStatsTable()

InterfaceUveStatsTable::~InterfaceUveStatsTable ( )
virtual

Definition at line 14 of file interface_uve_stats_table.cc.

Member Function Documentation

◆ BuildInterfaceUveInfo()

void InterfaceUveStatsTable::BuildInterfaceUveInfo ( InterfaceUveInfoResp *  r)

Definition at line 294 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ DISALLOW_COPY_AND_ASSIGN()

InterfaceUveStatsTable::DISALLOW_COPY_AND_ASSIGN ( InterfaceUveStatsTable  )
private

◆ FipEntry()

InterfaceUveTable::FloatingIp * InterfaceUveStatsTable::FipEntry ( uint32_t  fip,
const string &  vn,
Interface intf 
)

Definition at line 229 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ FrameFipStatsMsg()

bool InterfaceUveStatsTable::FrameFipStatsMsg ( const VmInterface vm_intf,
vector< VmFloatingIPStats > &  fip_list,
vector< VmFloatingIPStats > &  diff_list,
bool &  diff_list_send 
) const
private

Definition at line 201 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ FrameInterfaceObjectLog()

bool InterfaceUveStatsTable::FrameInterfaceObjectLog ( UveInterfaceEntry entry,
EndpointSecurityStats *  obj 
) const
private

Definition at line 17 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ FrameInterfaceStatsMsg()

bool InterfaceUveStatsTable::FrameInterfaceStatsMsg ( UveInterfaceEntry entry,
VMIStats *  uve 
) const
private

Definition at line 28 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ GetVmPortBandwidth()

uint64_t InterfaceUveStatsTable::GetVmPortBandwidth ( StatsManager::InterfaceStats s,
bool  dir_in 
) const
private

Definition at line 154 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ IncrInterfaceAceStats()

void InterfaceUveStatsTable::IncrInterfaceAceStats ( const FlowUveStatsRequest req)

Definition at line 243 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ IncrInterfaceEndpointHits()

bool InterfaceUveStatsTable::IncrInterfaceEndpointHits ( const std::string &  itf,
const FlowUveFwPolicyInfo info 
)

Definition at line 256 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ SendInterfaceAceStats()

void InterfaceUveStatsTable::SendInterfaceAceStats ( const string &  name,
UveInterfaceEntry entry 
)
virtual

Reimplemented from InterfaceUveTable.

Definition at line 276 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ SendInterfaceStats()

void InterfaceUveStatsTable::SendInterfaceStats ( void  )

Definition at line 142 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ SendInterfaceStatsMsg()

void InterfaceUveStatsTable::SendInterfaceStatsMsg ( UveInterfaceEntry entry)
private

Definition at line 125 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ UpdateBitmap()

void InterfaceUveStatsTable::UpdateBitmap ( const VmEntry vm,
uint8_t  proto,
uint16_t  sport,
uint16_t  dport 
)

◆ UpdateFloatingIpStats()

void InterfaceUveStatsTable::UpdateFloatingIpStats ( const FipInfo fip_info)

Definition at line 174 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ UpdatePortBitmap()

void InterfaceUveStatsTable::UpdatePortBitmap ( const string &  name,
uint8_t  proto,
uint16_t  sport,
uint16_t  dport 
)

Definition at line 218 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

◆ UpdateVmiTagBasedStats()

void InterfaceUveStatsTable::UpdateVmiTagBasedStats ( const EndpointStatsInfo info)

Definition at line 284 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

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