[OPNFLWPLUG-573] Cannot create an action that produce the NXM_NX_TUN_IPV4_DST Action Created: 19/Nov/15  Updated: 27/Sep/21  Resolved: 12/Dec/17

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

Type: Bug
Reporter: Tomer Pearl Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4652

 Description   

Hello,
I'm using TunnelIpv4MatchBuilder and a setFieldBuilder.setLayer3Match builders to produce the NXM_NX_TUN_IPV4_DST ACTION.

In Helium SR.1 this works.
In Lithium SR.1 this doesn't work.

I have debugged the openflowplugin code and looked at the git log, and i have found that in BUG-2794 fix, made by Timotej Kubas, there is a possible copy-paste error.

I see that both of the following if blocks in file MatchConvertorImpl.java:
if (layer3Match instanceof Ipv4Match)
if (layer3Match instanceof TunnelIpv4Match)

generating the OXMClass.OpenflowBascClass, and OxmMatchField.ipv4Src/Dst.class.
Where in Helium TunnelIpv4Match generated the Nxm1Class.class and TunnelIpv4Dst.class which produces my desired NXM_NX_TUN_IPV4_DST action.

I have asked Michal Rehak about it, and we think it's a copy-paste error.

Thanks.



 Comments   
Comment by Suvitha Balu [ 26/May/16 ]

This is not the copy paste error.

If (layer3Match instanceof Ipv4Match)
If (layer3Match instanceof TunnelIpv4Match)
Both the case the value set to src IP as OF1.3 specification doesn't have corresponding tunsrcip like OpenVSwitch std.

Please find the similar bug where the mapping of tunsrc is mapped with ipv4src.
https://bugs.opendaylight.org/show_bug.cgi?id=4937

Comment by Anil Vishnoi [ 12/Dec/17 ]

No activity on the bug for a while. Please re-open a bug if you face this issue with carbon/nitrogen/oxygen branch.

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