Bug 3540: Implementation of FlowIds based on match data
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / java / org / opendaylight / groupbasedpolicy / renderer / ofoverlay / flow / IngressNatMapper.java
old mode 100644 (file)
new mode 100755 (executable)
index 152a86e..1189d2a
@@ -80,7 +80,7 @@ public class IngressNatMapper extends FlowTable {
 
     public IngressNatMapper(OfContext ctx, short tableId) {
         super(ctx);
-        this.TABLE_ID = tableId;
+        TABLE_ID = tableId;
     }
 
     @Override
@@ -91,7 +91,7 @@ public class IngressNatMapper extends FlowTable {
     @Override
     public void sync(NodeId nodeId, PolicyInfo policyInfo, FlowMap flowMap) throws Exception {
 
-        flowMap.writeFlow(nodeId, TABLE_ID, dropFlow(Integer.valueOf(1), null));
+        flowMap.writeFlow(nodeId, TABLE_ID, dropFlow(Integer.valueOf(1), null, TABLE_ID));
 
         // TODO Bug 3546 - Difficult: External port is unrelated to Tenant, L3C, L2BD..