-
Alex Reimers authoredAlex Reimers authored
IStaticFlowEntryPusherService.java 909 B
package net.floodlightcontroller.staticflowentry;
import org.openflow.protocol.OFFlowMod;
import net.floodlightcontroller.core.module.IFloodlightService;
public interface IStaticFlowEntryPusherService extends IFloodlightService {
/**
* Adds a static flow.
* @param name Name of the flow mod. Must be unique.
* @param fm The flow to push.
* @param swDpid The switch DPID to push it to.
*/
public void addFlow(String name, OFFlowMod fm, String swDpid);
/**
* Deletes a static flow
* @param name The name of the static flow to delete.
*/
public void deleteFlow(String name);
/**
* Deletes all static flows for a practicular switch
* @param dpid The DPID of the switch to delete flows for.
*/
public void deleteFlowsForSwitch(long dpid);
/**
* Deletes all flows.
*/
public void deleteAllFlows();
}