BUG-8388: On egress, filter out SF bound packets 10/56610/4
authorJaime Caamaño Ruiz <jaime.caamano.ruiz@ericsson.com>
Fri, 5 May 2017 15:58:55 +0000 (17:58 +0200)
committerSam Hague <shague@redhat.com>
Thu, 18 May 2017 23:42:42 +0000 (23:42 +0000)
commit24a3b9afd94d054a72919f22505e3c83589e2752
tree891a192947aa5107141cc1259a7343d5195bad77
parent139b7325d5da7dc843a3665b1cb38d60ca9059a7
BUG-8388: On egress, filter out SF bound packets

Classifier should not handle packets that are already classified and
bound towards the SFF. For this, we set C1 to 0xFFFFFF on the ACL flow.
Then on beginning of egress pipeline, if C1 does not have that value
we assumed that's a packet bound for the SF and already classified so
it is resubmitteed to dispatcher. Otherwise, C1 is reset to 0 and
handling continues.

Change-Id: I1427a9bbec7fb0c8e36c241b727d39de450bc1ed
Signed-off-by: Jaime Caamaño Ruiz <jaime.caamano.ruiz@ericsson.com>
vpnservice/sfc/classifier/impl/src/main/java/org/opendaylight/netvirt/sfc/classifier/providers/OpenFlow13Provider.java
vpnservice/sfc/classifier/impl/src/test/java/org/opendaylight/netvirt/sfc/classifier/providers/OpenFlow13ProviderTest.java