[OPNFLWPLUG-186] of-flow: match criteria (ipv6-source,ipv6-destination) different in config and operational db Created: 11/Jun/14  Updated: 27/Sep/21  Resolved: 13/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 f101.xml     File f101odb.xml    
External issue ID: 1181

 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 f101.xml in attachment)

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

4) seen difference
config:
<ipv6-destination>fe80:2acf:e9ff:fe21::6431/94</ipv6-destination>
<ipv6-source>1234:5678:9ABC:DEF0:FDCD:A987:6543:210F/76</ipv6-source>

operational:
<ipv6-source>1234:5678:9ABC:DEF0:FDC0:0000:0000:0000/-1</ipv6-source>
<ipv6-destination>FE80:2ACF:E9FF:FE21:0000:0000:0000:0000/-1</ipv6-destination>



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

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

Comment by Peter Gubka [ 11/Jun/14 ]

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

Comment by Tony Tkacik [ 12/Jun/14 ]

To further qualify expected result
if input is:
<ipv6-source>1234:5678:9ABC:DEF0:FDCD:A987:6543:210F/76</ipv6-source>

expected reported flow should have

<ipv6-source>1234:5678:9ABC:DEF0:FDC0:0000:0000:0000/76</ipv6-source>

Comment by Anil Vishnoi [ 12/Jun/14 ]

Hi Peter/Tony,

I pushed the fix through following gerrit.

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

Can you please verify the patch.

Abhijit: can you please review and merge this patch, once peter verifies it.

Thanks
Anil

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