invalid table=0 flow rule

Bug #1736654 reported by 525215713@qq.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-sfc
New
Undecided
Unassigned

Bug Description

Hi,
   Assume that there is one port chain named PC1 and the PC1 contains two classifier named C1 and C2. The logical source port of C1 and C2 are assumed P1 and P2 respectively. When i create the port chain that contain the C1 and C2, the portpair_details of src_node belonged to this port chain contain two port-pairs information named PP1 and PP2. The egress port of PP1 and PP2 are P1 and P2 respectively. The source code function "_build_port_chain_flowrule_body" is responsible for building the flowrule for P1. When the flowrule is sent to the agent, the agent will generate the following flow table information.

table=0,in_port=P1,match C1,actions=xxx,
table=0,in_port=P1,match C2,actions=xxx,

Similarly for P2, the agent will generate the following flow table information.

table=0,in_port=P2,match C1,actions=xxx,
table=0,in_port=P2,match C2,actions=xxx,

The question is that the P1 is belong to C1 not C2, but the agent will generate the flow table as bellow:

table=0,in_port=P1,match C2,actions=xxx,

Similarly for P2 that is belong to C2 not C1, but the agent will generate the flow table as bellow:

table=0,in_port=P2,match C1,actions=xxx,

I think this is a bug? Do you think?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.