5 #ifndef vnsw_agent_vn_uve_entry_h
6 #define vnsw_agent_vn_uve_entry_h
19 VnStats(std::string
vn, uint64_t bytes, uint64_t pkts,
bool out) :
51 if (lhs.get()->dst_vn_.compare(rhs.get()->dst_vn_) < 0)
78 bool FillVrfStats(
int vrf_id, UveVirtualNetworkAgent &s_vn);
82 uint64_t pkts,
bool outgoing);
111 UveVrfStats &vrf_stats)
const;
113 UveVrfStats &vrf_stats)
const;
131 #endif // vnsw_agent_vn_uve_entry_h
bool UveVnVrfStatsChanged(const std::vector< UveVrfStats > &vlist) const
VnAceStats(const std::string &ace)
bool FrameVnAceStatsMsg(const VnEntry *vn, UveVirtualNetworkAgent &uve)
bool UpdateVrfStats(const VnEntry *vn, UveVirtualNetworkAgent &s_vn)
bool UveVnOutFlowCountChanged(uint32_t size)
bool operator<(const VnAceStats &rhs) const
const std::string ace_uuid
bool operator()(const VnStatsPtr &lhs, const VnStatsPtr &rhs) const
void UpdateVnAceStats(const std::string &ace_uuid)
bool FillVrfStats(int vrf_id, UveVirtualNetworkAgent &s_vn)
void UpdatePortBitmap(uint8_t proto, uint16_t sport, uint16_t dport)
void UpdateInterVnStats(const string &dst_vn, uint64_t bytes, uint64_t pkts, bool outgoing)
const VnEntry * vn() const
uint64_t in_bytes() const
bool UveVnInFlowCountChanged(uint32_t size)
bool PopulateInterVnStats(UveVirtualNetworkAgent &s_vn)
bool UveInterVnOutStatsChanged(const std::vector< UveInterVnStats > &new_list) const
bool UpdateVnFlowCount(const VnEntry *vn, UveVirtualNetworkAgent &s_vn)
VnUveEntry(Agent *agent, const VnEntry *vn)
DISALLOW_COPY_AND_ASSIGN(VnUveEntry)
void BuildNhStats(const StatsManager::VrfStats *s, UveVrfStats &vrf_stats) const
std::set< VnStatsPtr, VnStatsCmp > VnStatsSet
L4PortBitmap port_bitmap_
VnStats(std::string vn, uint64_t bytes, uint64_t pkts, bool out)
void set_prev_stats_update_time(uint64_t t)
VnStatsSet inter_vn_stats_
uint64_t prev_stats_update_time_
bool UpdateVnFipCount(int count, UveVirtualNetworkAgent &s_vn)
boost::shared_ptr< VnStats > VnStatsPtr
bool UveVnOutBandChanged(uint64_t out_band) const
bool SetVnPortBitmap(UveVirtualNetworkAgent &uve)
bool UveInterVnInStatsChanged(const std::vector< UveInterVnStats > &new_list) const
std::set< VnAceStats > VnAceStatsSet
uint64_t out_bytes() const
bool UveVnInBandChanged(uint64_t out_band) const
bool UveVnFipCountChanged(int32_t size) const
bool FrameVnStatsMsg(const VnEntry *vn, UveVirtualNetworkAgent &uve)
void BuildArpStats(const StatsManager::VrfStats *s, UveVrfStats &vrf_stats) const