[OPNFLWPLUG-689] Flow statistics don't show up on the same flow id, if flow uses IPv6 match with subnet mask Created: 19/May/16  Updated: 27/Sep/21  Resolved: 17/Jun/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Anil Vishnoi Assignee: Anil Vishnoi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5914

 Description   

When user installs the flows where it uses the ipv6 match as follows, it fails to store the flow statistics at the same flow id, because flow comparison fails for the destination match.

<match>
<ethernet-match>
<ethernet-type>
<type>34525</type>
</ethernet-type>
</ethernet-match>
<ipv6-source>FE80::2ACF:E9FF:FE21:6431/128</ipv6-source>
<ipv6-destination>AABB:1234:2ACF:0000:0000:0000:0000:5D99/64</ipv6-destination>
</match>

Comparison fails because switch actually returns the masked destination (AABB:1234:2ACF:0000:0000:0000:0000:0000/64). Ideally statistics manager should compare on the normalized ipv6 address and that will solve these issues.



 Comments   
Comment by Anil Vishnoi [ 19/May/16 ]

stable/beryllium : https://git.opendaylight.org/gerrit/#/c/39077/2
master : https://git.opendaylight.org/gerrit/#/c/39085/

Generated at Wed Feb 07 20:33:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.