[OPNFLWPLUG-190] of-flow: push-mpls-action different in config and operational data store Created: 11/Jun/14  Updated: 27/Sep/21  Resolved: 19/Sep/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 f113.xml     File f113odb.xml    
External issue ID: 1185

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

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

4) seen difference
config:
<action>
<push-mpls-action>
<ethernet-type>34888</ethernet-type>
</push-mpls-action>
<order>0</order>
</action>

operational:
<action>
<push-mpls-action/>
<order>0</order>
</action>



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

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

Comment by Peter Gubka [ 11/Jun/14 ]

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

Comment by Anil Vishnoi [ 13/Jun/14 ]

Hi Peter,

I pushed the fix through following gerrit

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

Can you please pull this patch and verify it.

Thanks
Anil

Comment by Peter Gubka [ 23/Jun/14 ]

Hello Anil.

I checked the odl version
org.opendaylight.controller.version = 0.1
org.opendaylight.controller.build.scm.version = de72757ff310514e25c3a039eb75523810c207a4
org.opendaylight.controller.build.user = jenkins-controller
org.opendaylight.controller.build.workspace = **********
org.opendaylight.controller.build.timestamp = 1403274673766

And i found the present situation:
config:
<push-mpls-action>
<ethernet-type>34888</ethernet-type>
</push-mpls-action>

operational:
<push-vlan-action>
<ethernet-type>34888</ethernet-type>
</push-vlan-action>

So now it looks like a different issue.

Comment by Anil Vishnoi [ 26/Jun/14 ]

Hi Peter,

Yes i also find out this bug in the patch after it got merged. But I fixed it in following patch

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

Its already merged in both master and stable branch.

Can you please pull the latest code and verify.

Thanks
Anil

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