[OPNFLWPLUG-192] of-flow: instruction/.../action/set-field with missing detail in operational data store Created: 11/Jun/14  Updated: 27/Sep/21  Resolved: 29/Jun/14

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

Type: Bug
Reporter: Peter Gubka 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


Attachments: File f201.xml     File f201odb.xml    
External issue ID: 1187

 Description   

odl:
version.properties
org.opendaylight.controller.version = 0.1
org.opendaylight.controller.build.scm.version = 2fffd8cdb3ed75f478b900c677bb4d97e5e91c9c
org.opendaylight.controller.build.user = jenkins-controller
org.opendaylight.controller.build.workspace = **********
org.opendaylight.controller.build.timestamp = 1402444582255
org.opendaylight.controller.build.machine = **********

test: mininet 2.1.0 + ovs 2.0.0

steps:
1) PUT xml /restconf/config/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}/flow/${flow_id}
(xml file f201.xml in attachment)

2) GET its operational state (for full details see f201odb.xml in attachment)
3) GET its config

4) seen difference
config:
<action>
<set-field>
<tcp-source-port>2059</tcp-source-port>
</set-field>
<order>0</order>
</action>

operational:
<action>
<set-field/>
</action>

Tag <tcp-source-port> missing



 Comments   
Comment by Peter Gubka [ 11/Jun/14 ]

Attachment f201.xml has been added with description: flow to be configured

Comment by Peter Gubka [ 11/Jun/14 ]

Attachment f201odb.xml has been added with description: operational details of the flow

Comment by Peter Gubka [ 12/Jun/14 ]

action <set-field> and this bug is applicable
<tcp-destination-port> - f202.xml
<udp-source-port> - f203.xml
<udp-destination-port> - f204.xml
<sctp-source-port> - f205.xml
<sctp-destination-port> - f206.xml
<ipv6-source> - f207.xml
<ipv6-destination> - f208.xml
<tunnel> - f209.xml
<ipv4-destination> - f210.xml
<ipv4-source> - f211.xml

Comment by Peter Gubka [ 12/Jun/14 ]

same for
<ip-match> - f214.xml

Comment by Peter Gubka [ 12/Jun/14 ]

same for
<set-nw-dst-action>
<set-nw-src-action>
<set-nw-tos-action> - f36.xml

Comment by Anil Vishnoi [ 21/Jun/14 ]

Hi Peter,

I fixed this issue and pushed the patch through following gerrit

https://git.opendaylight.org/gerrit/8215

can you please pull it and verify.

Thanks
Anil

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