OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InterfaceUveTable::UveInterfaceEntry Struct Reference

#include <interface_uve_table.h>

Collaboration diagram for InterfaceUveTable::UveInterfaceEntry:

Public Member Functions

 UveInterfaceEntry (const VmInterface *i)
 
virtual ~UveInterfaceEntry ()
 
void UpdateFloatingIpStats (const FipInfo &fip_info)
 
bool FillFloatingIpStats (vector< VmFloatingIPStats > &result, vector< VmFloatingIPStats > &diff_list, bool &diff_list_send)
 
void SetStats (VmFloatingIPStats &fip, uint64_t in_bytes, uint64_t in_pkts, uint64_t out_bytes, uint64_t out_pkts) const
 
void SetDiffStats (VmFloatingIPStats &fip, uint64_t in_bytes, uint64_t in_pkts, uint64_t out_bytes, uint64_t out_pkts, bool &diff_list_send) const
 
void RemoveFloatingIp (const VmInterface::FloatingIp &fip)
 
void AddFloatingIp (const VmInterface::FloatingIp &fip)
 
InterfaceUveTable::FloatingIpFipEntry (uint32_t ip, const std::string &vn)
 
bool FrameInterfaceMsg (const std::string &name, UveVMInterfaceAgent *s_intf) const
 
bool FrameTagsUveMsg (Agent *agent, const std::string &name, VMITags *uve)
 
bool FrameInterfaceAceStatsMsg (const std::string &name, VMIStats *s_intf)
 
bool GetVmInterfaceGateway (const VmInterface *vm_intf, std::string &gw) const
 
bool FipAggStatsChanged (const vector< VmFloatingIPStats > &list) const
 
bool PortBitmapChanged (const PortBucketBitmap &bmap) const
 
bool InBandChanged (uint64_t in_band) const
 
bool OutBandChanged (uint64_t out_band) const
 
void SetVnVmInfo (UveVMInterfaceAgent *uve) const
 
void SetVMIStatsVnVm (VMIStats *uve) const
 
void UpdateInterfaceAceStats (const std::string &ace_uuid)
 
void Reset ()
 
void UpdatePortBitmap (uint8_t proto, uint16_t sport, uint16_t dport)
 
void UpdateInterfaceFwPolicyStats (const FlowUveFwPolicyInfo &info)
 
void UpdateCounters (const FlowUveFwPolicyInfo &info, UveSecurityPolicyStats *obj)
 
void UpdateSecurityPolicyStats (const EndpointStatsInfo &info)
 
void UpdateSecurityPolicyStatsInternal (const EndpointStatsInfo &info, UveSecurityPolicyStats *stats)
 
void FillEndpointStats (Agent *agent, EndpointSecurityStats *obj)
 
void BuildInterfaceUveInfo (InterfaceUveInfo *r) const
 
void FillTagSetAndPolicyList (VMIStats *obj)
 
void BuildSandeshUveTagList (const TagList &list, std::vector< SandeshUveTagInfo > *rts) const
 
void HandleTagListChange ()
 
void FillSecurityPolicyList (Agent *agent, const SecurityPolicyStatsSet &ilist, std::vector< SecurityPolicyFlowStats > *ol)
 
void BuildInterfaceUveSecurityPolicyList (const SecurityPolicyStatsSet &ilist, std::vector< SandeshUveRemoteEndpoint > *olist) const
 
std::string GetVmName () const
 

Public Attributes

const VmInterfaceintf_
 
boost::uuids::uuid uuid_
 
L4PortBitmap port_bitmap_
 
FloatingIpSet fip_tree_
 
FloatingIpSet prev_fip_tree_
 
bool changed_
 
bool deleted_
 
bool renewed_
 
bool ace_stats_changed_
 
VMIStats uve_stats_
 
AceStatsSet ace_set_
 
TagList local_tagset_
 
SecurityPolicyStatsMap security_policy_stats_map_
 
VMITags prev_tags_uve_
 
tbb::mutex mutex_
 

Detailed Description

Definition at line 204 of file interface_uve_table.h.

Constructor & Destructor Documentation

InterfaceUveTable::UveInterfaceEntry::UveInterfaceEntry ( const VmInterface i)
inline

Definition at line 233 of file interface_uve_table.h.

virtual InterfaceUveTable::UveInterfaceEntry::~UveInterfaceEntry ( )
inlinevirtual

Definition at line 237 of file interface_uve_table.h.

Member Function Documentation

void InterfaceUveTable::UveInterfaceEntry::AddFloatingIp ( const VmInterface::FloatingIp fip)

Definition at line 737 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::BuildInterfaceUveInfo ( InterfaceUveInfo *  r) const

Definition at line 1040 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::BuildInterfaceUveSecurityPolicyList ( const SecurityPolicyStatsSet ilist,
std::vector< SandeshUveRemoteEndpoint > *  olist 
) const

Definition at line 1003 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::BuildSandeshUveTagList ( const TagList list,
std::vector< SandeshUveTagInfo > *  rts 
) const

Definition at line 988 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::FillEndpointStats ( Agent agent,
EndpointSecurityStats *  obj 
)

Definition at line 907 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::FillFloatingIpStats ( vector< VmFloatingIPStats > &  result,
vector< VmFloatingIPStats > &  diff_list,
bool &  diff_list_send 
)

Definition at line 645 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::FillSecurityPolicyList ( Agent agent,
const SecurityPolicyStatsSet ilist,
std::vector< SecurityPolicyFlowStats > *  ol 
)

Definition at line 927 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::FillTagSetAndPolicyList ( VMIStats *  obj)

Definition at line 975 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::FipAggStatsChanged ( const vector< VmFloatingIPStats > &  list) const

Definition at line 281 of file interface_uve_table.cc.

InterfaceUveTable::FloatingIp * InterfaceUveTable::UveInterfaceEntry::FipEntry ( uint32_t  ip,
const std::string &  vn 
)

Definition at line 595 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::FrameInterfaceAceStatsMsg ( const std::string &  name,
VMIStats *  s_intf 
)

Definition at line 832 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::FrameInterfaceMsg ( const std::string &  name,
UveVMInterfaceAgent *  s_intf 
) const

Definition at line 140 of file interface_uve_table.cc.

Here is the call graph for this function:

bool InterfaceUveTable::UveInterfaceEntry::FrameTagsUveMsg ( Agent agent,
const std::string &  name,
VMITags *  uve 
)

Definition at line 326 of file interface_uve_table.cc.

Here is the call graph for this function:

bool InterfaceUveTable::UveInterfaceEntry::GetVmInterfaceGateway ( const VmInterface vm_intf,
std::string &  gw 
) const

Definition at line 288 of file interface_uve_table.cc.

Here is the call graph for this function:

string InterfaceUveTable::UveInterfaceEntry::GetVmName ( ) const

Definition at line 89 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::HandleTagListChange ( )

Definition at line 254 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::InBandChanged ( uint64_t  in_band) const

Definition at line 556 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::OutBandChanged ( uint64_t  out_band) const

Definition at line 567 of file interface_uve_table.cc.

bool InterfaceUveTable::UveInterfaceEntry::PortBitmapChanged ( const PortBucketBitmap &  bmap) const

Definition at line 546 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::RemoveFloatingIp ( const VmInterface::FloatingIp fip)

Definition at line 748 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::Reset ( )

Definition at line 241 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::SetDiffStats ( VmFloatingIPStats &  fip,
uint64_t  in_bytes,
uint64_t  in_pkts,
uint64_t  out_bytes,
uint64_t  out_pkts,
bool &  diff_list_send 
) const

Definition at line 715 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::SetStats ( VmFloatingIPStats &  fip,
uint64_t  in_bytes,
uint64_t  in_pkts,
uint64_t  out_bytes,
uint64_t  out_pkts 
) const

Definition at line 728 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::SetVMIStatsVnVm ( VMIStats *  uve) const

Definition at line 121 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::SetVnVmInfo ( UveVMInterfaceAgent *  uve) const

Definition at line 101 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::UpdateCounters ( const FlowUveFwPolicyInfo info,
UveSecurityPolicyStats obj 
)

Definition at line 774 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::UpdateFloatingIpStats ( const FipInfo fip_info)

Definition at line 579 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::UpdateInterfaceAceStats ( const std::string &  ace_uuid)

Definition at line 761 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::UpdateInterfaceFwPolicyStats ( const FlowUveFwPolicyInfo info)

Definition at line 786 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::UpdatePortBitmap ( uint8_t  proto,
uint16_t  sport,
uint16_t  dport 
)

Definition at line 270 of file interface_uve_table.cc.

void InterfaceUveTable::UveInterfaceEntry::UpdateSecurityPolicyStats ( const EndpointStatsInfo info)

Definition at line 866 of file interface_uve_table.cc.

Here is the call graph for this function:

void InterfaceUveTable::UveInterfaceEntry::UpdateSecurityPolicyStatsInternal ( const EndpointStatsInfo info,
UveSecurityPolicyStats stats 
)

Definition at line 895 of file interface_uve_table.cc.

Member Data Documentation

AceStatsSet InterfaceUveTable::UveInterfaceEntry::ace_set_

Definition at line 215 of file interface_uve_table.h.

bool InterfaceUveTable::UveInterfaceEntry::ace_stats_changed_

Definition at line 213 of file interface_uve_table.h.

bool InterfaceUveTable::UveInterfaceEntry::changed_

Definition at line 210 of file interface_uve_table.h.

bool InterfaceUveTable::UveInterfaceEntry::deleted_

Definition at line 211 of file interface_uve_table.h.

FloatingIpSet InterfaceUveTable::UveInterfaceEntry::fip_tree_

Definition at line 208 of file interface_uve_table.h.

const VmInterface* InterfaceUveTable::UveInterfaceEntry::intf_

Definition at line 205 of file interface_uve_table.h.

TagList InterfaceUveTable::UveInterfaceEntry::local_tagset_

Definition at line 216 of file interface_uve_table.h.

tbb::mutex InterfaceUveTable::UveInterfaceEntry::mutex_

Definition at line 231 of file interface_uve_table.h.

L4PortBitmap InterfaceUveTable::UveInterfaceEntry::port_bitmap_

Definition at line 207 of file interface_uve_table.h.

FloatingIpSet InterfaceUveTable::UveInterfaceEntry::prev_fip_tree_

Definition at line 209 of file interface_uve_table.h.

VMITags InterfaceUveTable::UveInterfaceEntry::prev_tags_uve_

Definition at line 218 of file interface_uve_table.h.

bool InterfaceUveTable::UveInterfaceEntry::renewed_

Definition at line 212 of file interface_uve_table.h.

SecurityPolicyStatsMap InterfaceUveTable::UveInterfaceEntry::security_policy_stats_map_

Definition at line 217 of file interface_uve_table.h.

boost::uuids::uuid InterfaceUveTable::UveInterfaceEntry::uuid_

Definition at line 206 of file interface_uve_table.h.

VMIStats InterfaceUveTable::UveInterfaceEntry::uve_stats_

Definition at line 214 of file interface_uve_table.h.


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