[OPNFLWPLUG-191] of-flow: pop-mpls-action different in config and 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 f114.xml     File f114odb.xml    
External issue ID: 1186

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

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

4) seen difference
config:
<action>
<pop-mpls-action>
<ethernet-type>2048</ethernet-type>
</pop-mpls-action>
<order>0</order>
</action>
operational:
<action>
<pop-mpls-action/>
<order>0</order>
</action>

MIssing the tag: <ethernet-type>



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

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

Comment by Peter Gubka [ 11/Jun/14 ]

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

Comment by Anil Vishnoi [ 19/Jun/14 ]

Hi Peter,

I fixed this issue and pushed patch through

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

Can you please verify this patch in your setup. In my setup when i install this flow it throws me bad action error with code = 10.

Thanks
Anil

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