[OPNFLWPLUG-864] Flow with ethernet mask (ff:ff:ff:ff:ff:ff), get stored under alien-id in operational data store Created: 07/Mar/17  Updated: 27/Sep/21  Resolved: 19/Mar/17

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: 7910

 Description   

If user use ff:ff:ff:ff:ff:ff as a ethernet mask for it's ethernet source and destination match, plugin fails to put the flow's statistics on the same flow-id and it uses alien-id to store the flow statistics.

Mainly it's happening because ff:ff:ff:ff:ff:ff is basically like a no-mask, so when plugin fetch the statistics, they don't get this mask from the switch and internal custom comparator fails to match it against the config flow, because it has this full mask. Openflowplugin spec says

"An all-zero-bits oxm_mask is equivalent to omitting the OXM TLV entirely. An all-one-bits oxm_mask is equivalent to specifying 0 for oxm_hasmask and omitting oxm_mask"

As per above text from specification, looks like it's expected behavior if switch doesn't send the mask back if it "ff:ff:ff:ff:ff:ff", but from user perspective also it's not a invalid mask.



 Comments   
Comment by Anil Vishnoi [ 07/Mar/17 ]

stable/boron : https://git.opendaylight.org/gerrit/52915

Comment by Anil Vishnoi [ 19/Mar/17 ]

carbon : https://git.opendaylight.org/gerrit/#/c/53098/1

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