SFC-205: Fix wrong table when removing scf flows 56/65356/3
authorJaime Caamaño Ruiz <[email protected]>
Thu, 9 Nov 2017 09:46:10 +0000 (10:46 +0100)
committerJaime Caamaño Ruiz <[email protected]>
Mon, 20 Nov 2017 17:39:38 +0000 (18:39 +0100)
commit5da06e7324cc7024a7c7c9d2e360062186abb3d0
tree85b2ce658f87880391414b58a9aeebb0f299393b
parent645e172fbabbac173ec2a7180f32abd41db4067f
SFC-205: Fix wrong table when removing scf flows

Fixes SFC SCF classifier removing flows from incorrect table. Refactored
ClassifierInterface to provide the correct table numbers and for
MacChainingClassifier to also implement it.

Change-Id: I4383209ce24d0d3dce14f8f498c91abaf36b6c09
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
15 files changed:
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/flowgenerators/BareClassifier.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/flowgenerators/ClassifierInterface.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/flowgenerators/LogicallyAttachedClassifier.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/flowgenerators/MacChainingClassifier.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/processors/ClassifierRspUpdateProcessor.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/processors/MacChainingProcessor.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/processors/NshProcessor.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/processors/OpenflowClassifierProcessor.java
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/utils/SfcRspInfo.java [moved from sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/utils/SfcNshHeader.java with 56% similarity]
sfc-classifiers/sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/utils/SfcScfOfUtils.java
sfc-classifiers/sfc-scf-openflow/src/test/java/org/opendaylight/sfc/scfofrenderer/flowgenerators/LogicallyAttachedClassifierTest.java
sfc-classifiers/sfc-scf-openflow/src/test/java/org/opendaylight/sfc/scfofrenderer/processors/ClassifierRspUpdateProcessorTest.java
sfc-classifiers/sfc-scf-openflow/src/test/java/org/opendaylight/sfc/scfofrenderer/processors/OpenflowClassifierProcessorTest.java
sfc-classifiers/sfc-scf-openflow/src/test/java/org/opendaylight/sfc/scfofrenderer/processors/SfcScfOfProcessorTest.java
sfc-classifiers/sfc-scf-openflow/src/test/java/org/opendaylight/sfc/scfofrenderer/utils/SfcScfOfUtilsTest.java