vrfstats reports incorrect values for vxlan encapsulation
Bug #1808546 reported by
sagarkchitnis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Undecided
|
sagarkchitnis |
Bug Description
Change the "Encapsulation Priority Order" to the following:
VxLAN
MPLS Over UDP
MPLS Over GRE
on two different computes, create one container in each compute on the same network.
Run vrfstats and note the vxlan tunnel stats value.
Do a ping from one container to the other.
The "Vxlan Tunnels" value should increase but it does not change.
Changed in juniperopenstack: | |
assignee: | nobody → sagarkchitnis (sagarc) |
information type: | Proprietary → Public |
To post a comment you must log in.
Upon investigation, the problem is in dp-core.
nh_vxlan_tunnel function (line 1984) , it says : stats = vr_inet_ vrf_stats( fmd->fmd_ dvrf, pkt->vp_cpu);
stats-> vrf_udp_ mpls_tunnels+ +;
if (stats)
instead it should be stats-> vrf_vxlan_ tunnels+ +
I will make the change , build vrouter msi again and try it on a windows compute. If it works, I will submit the PR.