X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=opendaylight%2Fadsal%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fflowprogrammer%2FIFlowProgrammerService.java;fp=opendaylight%2Fadsal%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fflowprogrammer%2FIFlowProgrammerService.java;h=0000000000000000000000000000000000000000;hb=50f88249a65c52ba56a48852b71ce432fed2bbeb;hp=de4c25e188c84ee54f304385c0a5bec0b83d4795;hpb=abfa9a03550cbe9fccc4420684dced175dd6d119;p=controller.git diff --git a/opendaylight/adsal/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IFlowProgrammerService.java b/opendaylight/adsal/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IFlowProgrammerService.java deleted file mode 100644 index de4c25e188..0000000000 --- a/opendaylight/adsal/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IFlowProgrammerService.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.sal.flowprogrammer; - -import org.opendaylight.controller.sal.core.Node; -import org.opendaylight.controller.sal.utils.Status; - -/** - * Interface that defines the methods available to the functional modules above - * SAL for installing/modifying/removing flows on a network node - */ -@Deprecated -public interface IFlowProgrammerService { - /** - * Synchronously add a flow to the network node - * - * @param node - * The target network node - * @param flow - * The flow to install - * @return The status of this request - */ - Status addFlow(Node node, Flow flow); - - /** - * Synchronously modify existing flow on the switch - * - * @param node - * The target network node - * @param oldFlow - * The existing flow to modify - * @param newFlow - * The new flow to install - * @return The status of this request - */ - Status modifyFlow(Node node, Flow oldFlow, Flow newFlow); - - /** - * Synchronously remove the flow from the network node - * - * @param node - * The target network node - * @param flow - * The flow to remove - * @return The status of this request - */ - Status removeFlow(Node node, Flow flow); - - /** - * Asynchronously add a flow to the network node - * - * @param node - * The target network node - * @param flow - * The flow to install - * @return The status of this request containing the unique request id - */ - Status addFlowAsync(Node node, Flow flow); - - /** - * Asynchronously modify existing flow on the switch - * - * @param node - * The target network node - * @param oldFlow - * The existing flow to modify - * @param newFlow - * The new flow to install - * @return The status of this request containing the unique request id - */ - Status modifyFlowAsync(Node node, Flow oldFlow, Flow newFlow); - - /** - * Asynchronously remove the flow from the network node - * - * @param node - * The target network node - * @param flow - * The flow to remove - * @return The status of this request containing the unique request id - */ - Status removeFlowAsync(Node node, Flow flow); - - /** - * Remove all flows present on the network node - * - * @param node - * The target network node - * @return The status of this request containing the unique request id - */ - Status removeAllFlows(Node node); - - /** - * Send Barrier message synchronously. The caller will be blocked until the - * solicitation response arrives. - * - * Solicit the network node to report whether all the requests sent so far - * are completed. When this call is done, caller knows that all past flow - * operations requested to the node in asynchronous fashion were satisfied - * by the network node and that in case of any failure, a message was sent - * to the controller. - * - * @param node - * The network node to solicit - * @return The status of this request containing the unique request id - */ - Status syncSendBarrierMessage(Node node); - - /** - * Send Barrier message asynchronously. The caller is not blocked. - * - * Solicit the network node to report whether all the requests sent so far - * are completed. When this call is done, caller knows that all past flow - * operations requested to the node in asynchronous fashion were satisfied - * by the network node and that in case of any failure, a message was sent - * to the controller. - * - * @param node - * The network node to solicit - * @return The status of this request containing the unique request id - */ - Status asyncSendBarrierMessage(Node node); -}