OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
< FloatingIp
FloatingIpPtr
 
typedef std::set
< FloatingIpPtr, FloatingIpCmp
FloatingIpSet
 
typedef boost::shared_ptr
< UveSecurityPolicyStats
UveSecurityPolicyStatsPtr
 
typedef std::set
< UveSecurityPolicyStatsPtr,
PolicyCmp
SecurityPolicyStatsSet
 
typedef std::map< std::string,
EndpointStatsContainer
SecurityPolicyStatsMap
 
typedef std::pair< std::string,
EndpointStatsContainer
SecurityPolicyStatsPair
 
typedef std::set< AceStatsAceStatsSet
 
typedef boost::shared_ptr
< UveInterfaceEntry
UveInterfaceEntryPtr
 
typedef std::map< std::string,
UveInterfaceEntryPtr
InterfaceMap
 
typedef std::pair< std::string,
UveInterfaceEntryPtr
InterfacePair
 
- 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 ( Agent agent,
uint32_t  default_intvl 
)

Definition at line 9 of file interface_uve_stats_table.cc.

InterfaceUveStatsTable::~InterfaceUveStatsTable ( )
virtual

Definition at line 14 of file interface_uve_stats_table.cc.

Member Function Documentation

void InterfaceUveStatsTable::BuildInterfaceUveInfo ( InterfaceUveInfoResp *  r)

Definition at line 294 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

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

Definition at line 230 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

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:

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:

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:

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

Definition at line 155 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

void InterfaceUveStatsTable::IncrInterfaceAceStats ( const FlowUveStatsRequest req)

Definition at line 244 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

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:

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:

void InterfaceUveStatsTable::SendInterfaceStats ( void  )

Definition at line 142 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

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:

void InterfaceUveStatsTable::UpdateBitmap ( const VmEntry vm,
uint8_t  proto,
uint16_t  sport,
uint16_t  dport 
)
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:

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

Definition at line 219 of file interface_uve_stats_table.cc.

Here is the call graph for this function:

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: