X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fforwardingrulesmanager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fforwardingrulesmanager%2FIForwardingRulesManager.java;h=60d74295ee4ff0542f87cecd225d46d4d61d8bdd;hp=3a1250becfbdc1ac6d23aea3228d997fc6ead7ac;hb=refs%2Fchanges%2F76%2F76%2F1;hpb=0a980f274122e5b73f40dfb9a85783f3023e08a6 diff --git a/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManager.java b/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManager.java index 3a1250becf..60d74295ee 100644 --- a/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManager.java +++ b/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManager.java @@ -255,6 +255,17 @@ public interface IForwardingRulesManager { * @return the {@code Status} object indicating the result of this action */ public Status toggleStaticFlowStatus(FlowConfig configObject); + + /** + * Toggle the installation status of the specified configured flow + * If the flow configuration status is active, this call will + * change the flow status to inactive and vice-versa + * + * @param name for the static flow + * @param node on which the flow is attached + * @return the {@code Status} object indicating the result of this action + */ + public Status toggleStaticFlowStatus(String name, Node node); public Map getPortGroupConfigs();