[SFC-147] Bad flows are generated for Multiple ACEs per ACL Created: 26/May/16  Updated: 19/Oct/17

Status: Open
Project: sfc
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Wouter De Borger Assignee: Unassigned
Resolution: Unresolved 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: 5971

 Description   

When defining multiple Access Control Entities in one Access Control List the flow rules for the second ACE sends packets out of the wrong port.

I traced the problem to org.opendaylight.sfc.scfofrenderer.SfcScfOfProcessor
at line 215

outPort = SfcOvsUtil.getVxlanOfPort(lastNodeName);

This sets the outport to the out port for the reverse path, the next ACE will use the wrong port.

Commenting out this line should fix it (I think)

Steps to reproduce:

Run the sfc-demo/sfc103, with the setup.py found at
https://github.com/inmanta/sfc/blob/inmanta/sfc-demo/sfc103/setup.py

Wouter



 Comments   
Comment by Victor Dantas Mehmeri [ 10/Jun/16 ]

Had the same problem with the same scenario. Proposed solution also worked for me.

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