Skip to content

Commit

Permalink
Export NH stats of VRF in VN UVE
Browse files Browse the repository at this point in the history
This was getting built in agent, but was not exported.
Closes-Bug: #1642141

(cherry picked from commit d7d0e4b)

Change-Id: I9f57968dbcbdfd17f8a9977cc4dfff0f375716a5
  • Loading branch information
ashoksr committed Nov 16, 2016
1 parent 5edb4fc commit 7c8aaaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vnsw/agent/uve/vn_uve_entry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ void VnUveEntry::BuildNhStats(const StatsManager::VrfStats *s,
mns.set_local_vm_l3_forwards(s->encap_composites);
mns.set_total_multicast_forwards(s->l2_mcast_composites);
nhs.set_comp_nh_stats(mns);
vrf_stats.set_nh_packet_counts(nhs);
}

bool VnUveEntry::FillVrfStats(int vrf_id, UveVirtualNetworkAgent &s_vn) {
Expand Down

0 comments on commit 7c8aaaf

Please sign in to comment.