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;
const VnEntry * vn() const
bool operator()(const VnStatsPtr &lhs, const VnStatsPtr &rhs) const
bool FrameVnAceStatsMsg(const VnEntry *vn, UveVirtualNetworkAgent &uve)
VnUveEntry(Agent *agent, const VnEntry *vn)
void UpdateInterVnStats(const string &dst_vn, uint64_t bytes, uint64_t pkts, bool outgoing)
bool UveVnVrfStatsChanged(const std::vector< UveVrfStats > &vlist) const
bool PopulateInterVnStats(UveVirtualNetworkAgent &s_vn)
uint64_t in_bytes() const
bool UpdateVnFlowCount(const VnEntry *vn, UveVirtualNetworkAgent &s_vn)
bool UveVnFipCountChanged(int32_t size) const
bool UveVnInBandChanged(uint64_t out_band) const
bool FrameVnStatsMsg(const VnEntry *vn, UveVirtualNetworkAgent &uve)
bool UveVnOutBandChanged(uint64_t out_band) const
bool UveVnOutFlowCountChanged(uint32_t size)
std::set< VnAceStats > VnAceStatsSet
boost::shared_ptr< VnStats > VnStatsPtr
uint64_t out_bytes() const
uint64_t prev_stats_update_time_
void set_prev_stats_update_time(uint64_t t)
void BuildArpStats(const StatsManager::VrfStats *s, UveVrfStats &vrf_stats) const
bool UpdateVnFipCount(int count, UveVirtualNetworkAgent &s_vn)
VnStatsSet inter_vn_stats_
std::set< VnStatsPtr, VnStatsCmp > VnStatsSet
bool FillVrfStats(int vrf_id, UveVirtualNetworkAgent &s_vn)
bool UpdateVrfStats(const VnEntry *vn, UveVirtualNetworkAgent &s_vn)
void BuildNhStats(const StatsManager::VrfStats *s, UveVrfStats &vrf_stats) const
L4PortBitmap port_bitmap_
DISALLOW_COPY_AND_ASSIGN(VnUveEntry)
void UpdatePortBitmap(uint8_t proto, uint16_t sport, uint16_t dport)
bool UveVnInFlowCountChanged(uint32_t size)
void UpdateVnAceStats(const std::string &ace_uuid)
bool SetVnPortBitmap(UveVirtualNetworkAgent &uve)
bool UveInterVnOutStatsChanged(const std::vector< UveInterVnStats > &new_list) const
bool UveInterVnInStatsChanged(const std::vector< UveInterVnStats > &new_list) const
const std::string ace_uuid
VnAceStats(const std::string &ace)
bool operator<(const VnAceStats &rhs) const
VnStats(std::string vn, uint64_t bytes, uint64_t pkts, bool out)