[OPNFLWPLUG-176] flow id in operational not matched; after removal not removed completely Created: 28/May/14  Updated: 27/Sep/21  Resolved: 28/Aug/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: Other
Platform: PC


Attachments: File f7.xml    
External issue ID: 1088

 Description   

Scenario:
1) Put the flow
PUT request sent to url http://pce-guest35.cisco.com:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/130
xml content in attachment

2) check it's operational state and its ID is is not matched
</flow-table-statistics>
<flow>
<id>#UF$TABLE*2*1</id>
<flow-statistics
xmlns="urn:opendaylight:flow:statistics">
<flags/>
<idle-timeout>12000</idle-timeout>
<byte-count>0</byte-count>
...

3) Removal
DEL request sent to url http://pce-guest35.cisco.com:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/130
DEL Response 200

4) Not all was deleted
GET http://pce-guest35.cisco.com:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/2/
ResponseL
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<table
xmlns="urn:opendaylight:flow:inventory">
<id>2</id>
<flow-table-statistics
xmlns="urn:opendaylight:flow:table:statistics">
<active-flows>0</active-flows>
<packets-matched>0</packets-matched>
<packets-looked-up>0</packets-looked-up>
</flow-table-statistics>
<flow>
<id>#UF$TABLE*2*1</id>
</flow>
</table>



 Comments   
Comment by Peter Gubka [ 28/May/14 ]

Attachment f7.xml has been added with description: flow details

Comment by Abhijit Kumbhare [ 11/Aug/14 ]

Any status regarding this?

Comment by Anil Vishnoi [ 14/Aug/14 ]

This issue will get resolved once following gerrit gets merge

https://git.opendaylight.org/gerrit/#/c/8174

But i think above gerrit is not getting rid of the customer comparator, so i am looking into it to find if there is any bug in the comparator code. I will start looking into it from tomorrow (15-Aug).

Thanks
Anil

Comment by Vaclav Demcak [ 19/Aug/14 ]

I hope, we are able to close a bug.

Comment by Vaclav Demcak [ 27/Aug/14 ]

https://git.opendaylight.org/gerrit/#/c/10135/

Comment by Vaclav Demcak [ 27/Aug/14 ]

(In reply to Vaclav Demcak from comment #4)
> https://git.opendaylight.org/gerrit/#/c/10135/
sorry bad link ... my fail
Here is correct link to fix
https://git.opendaylight.org/gerrit/#/c/10136/

Comment by Anil Vishnoi [ 27/Aug/14 ]

Following commit, with the other commit vaclav mentioned above should fix this issue.

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

Can you please pull this patch and verify.

Thanks
Anil

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