[OPNFLWPLUG-323] UDP matching flow adds a match on dst port=0 (only occurs with OF10) Created: 26/Nov/14  Updated: 27/Sep/21  Resolved: 10/Nov/15

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

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

Operating System: Linux
Platform: PC


External issue ID: 2442

 Description   

Just tried this flow with OF10 mininet:

PUT http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/5

<flow>
<priority>50</priority>
<idle-timeout>0</idle-timeout>
<hard-timeout>0</hard-timeout>
<table_id>0</table_id>
<id>5</id>
<flow-name>flow5</flow-name>
<match>
<ethernet-match>
<ethernet-type>
<type>0x800</type>
</ethernet-type>
</ethernet-match>
<ip-match>
<ip-protocol>17</ip-protocol>
</ip-match>
<ipv4-destination>30.30.30.3</ipv4-destination>
</match>
<instructions>
<instruction>
<order>1</order>
<apply-actions>
<action>
<order>0</order>
<drop-action/>
</action>
</apply-actions>
</instruction>
</instructions>
</flow>

If I look at the switch I see tp_dst=0:

mininet> dpctl dump-flows

      • s1 ------------------------------------------------------------------------
        NXST_FLOW reply (xid=0x4):
        cookie=0x0, duration=92.687s, table=0, n_packets=0, n_bytes=0, idle_age=92, priority=50,udp,nw_dst=30.30.30.3,tp_dst=0 actions=drop

BR/Luis



 Comments   
Comment by Anil Vishnoi [ 28/Nov/14 ]

fixed pushed to master branch :
https://git.opendaylight.org/gerrit/13212

Comment by Luis Gomez [ 30/Nov/14 ]

Yes it works.

Comment by Anil Vishnoi [ 24/Jun/15 ]

Just for record.

Stable/helium : https://git.opendaylight.org/gerrit/#/c/13237/

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