Removed PolicyListener and PolicyResolver methods
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / java / org / opendaylight / groupbasedpolicy / renderer / ofoverlay / flow / FlowTable.java
index ce55b582f6f5189e2d743a9f542572eb2c6bfebd..0ceff85f9337e5d1c519740fe0fe8bdf03bbfc96 100755 (executable)
@@ -8,15 +8,12 @@
 
 package org.opendaylight.groupbasedpolicy.renderer.ofoverlay.flow;
 
-import org.opendaylight.groupbasedpolicy.renderer.ofoverlay.OfWriter;
 import org.opendaylight.groupbasedpolicy.renderer.ofoverlay.OfContext;
-import org.opendaylight.groupbasedpolicy.resolver.PolicyInfo;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -32,32 +29,6 @@ public abstract class FlowTable extends OfTable {
         super(ctx);
     }
 
-    // *******
-    // OfTable
-    // *******
-
-    @Override
-    public void update(NodeId nodeId, PolicyInfo policyInfo,
-                       OfWriter ofWriter) throws Exception {
-
-        sync(nodeId, policyInfo, ofWriter);
-
-    }
-
-    // *********
-    // FlowTable
-    // *********
-
-    /**
-     * Sync flow state using the flow map
-     *
-     * @param nodeId the node id
-     * @param policyInfo the current policy snapshot
-     * @param ofWriter the {@link OfWriter}
-     * @throws Exception throws all exception
-     */
-    public abstract void sync(NodeId nodeId, PolicyInfo policyInfo, OfWriter ofWriter) throws Exception;
-
     /**
      * Get the table ID being manipulated
      *