[OPNFLWPLUG-923] Operational information does not show mask Created: 11/Jul/17  Updated: 27/Sep/21  Resolved: 13/Jul/17

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

Type: Bug
Reporter: Len Assignee: Unassigned
Resolution: Won't Do 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: 8840

 Description   

Flow with ethernet mask (ff:ff:ff:ff:ff:ff), get stored in operational data

CONFIG DATA STORE
<flow xmlns="urn:opendaylight:flow:inventory">
<id>131</id>
<table_id>2</table_id>
<priority>8</priority>
<cookie_mask>255</cookie_mask>
<match>
<ethernet-match>
<ethernet-source>
<address>00:00:00:11:23:ae</address>
<mask>ff:ff:ff:ff:ff:ff</mask>
</ethernet-source>
<ethernet-type>
<type>2048</type>
</ethernet-type>
<ethernet-destination>
<address>ff:ff:29:01:19:61</address>
</ethernet-destination>
</ethernet-match>
<ip-match>
<ip-dscp>2</ip-dscp>
<ip-protocol>6</ip-protocol>
<ip-ecn>2</ip-ecn>
</ip-match>
<ipv4-destination>172.168.0.0/16</ipv4-destination>
<ipv4-source>17.0.0.0/8</ipv4-source>
<in-port>openflow:1:0</in-port>
<tcp-source-port>25364</tcp-source-port>
<tcp-destination-port>8080</tcp-destination-port>
</match>
<cookie>8</cookie>
<strict>false</strict>
<flow-name>FooXf8</flow-name>
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<dec-nw-ttl></dec-nw-ttl>
</action>
</apply-actions>
</instruction>
</instructions>
<barrier>false</barrier>
</flow>

OPERATIONAL DATA STORE
<flow xmlns="urn:opendaylight:flow:inventory">
<id>131</id>
<flow-statistics xmlns="urn:opendaylight:flow:statistics">
<packet-count>0</packet-count>
<duration>
<nanosecond>912000000</nanosecond>
<second>42</second>
</duration>
<byte-count>0</byte-count>
</flow-statistics>
<priority>8</priority>
<table_id>2</table_id>
<cookie_mask>0</cookie_mask>
<hard-timeout>0</hard-timeout>
<match>
<ethernet-match>
<ethernet-source>
<address>00:00:00:11:23:ae</address>
</ethernet-source>
<ethernet-type>
<type>2048</type>
</ethernet-type>
<ethernet-destination>
<address>ff:ff:29:01:19:61</address>
</ethernet-destination>
</ethernet-match>
<ip-match>
<ip-dscp>2</ip-dscp>
<ip-protocol>6</ip-protocol>
<ip-ecn>2</ip-ecn>
</ip-match>
<ipv4-destination>172.168.0.0/16</ipv4-destination>
<ipv4-source>17.0.0.0/8</ipv4-source>
<in-port>0</in-port>
<tcp-source-port>25364</tcp-source-port>
<tcp-destination-port>8080</tcp-destination-port>
</match>
<cookie>8</cookie>
<flags></flags>
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<dec-nw-ttl></dec-nw-ttl>
</action>
</apply-actions>
</instruction>
</instructions>
<idle-timeout>0</idle-timeout>
</flow>



 Comments   
Comment by Tomas Slusny [ 13/Jul/17 ]

ff:ff:ff:ff:ff:ff mask is basically no mask, so OVS do not returns any mask in this case. Both flows are still consireded equal by OpenFlowPlugin, so this is not bug.

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