Merge "Parents pom distribution"
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / flowprogrammer / IPluginOutFlowProgrammerService.java
index 2836f77afa64a0775b5281b9634874b393d780f2..1fc6741611495b42eb2beb3ad89e39f1103db117 100644 (file)
@@ -20,7 +20,7 @@ public interface IPluginOutFlowProgrammerService {
      * Inform SAL that the flow on the specified node has been removed Consumer
      * has to expect this notification only for flows which were installed with
      * an idle or hard timeout specified.
-     * 
+     *
      * @param node
      *            the network node on which the flow got removed
      * @param flow
@@ -28,4 +28,18 @@ public interface IPluginOutFlowProgrammerService {
      *            and flow parameters fields. Actions may not be present.
      */
     public void flowRemoved(Node node, Flow flow);
+
+    /**
+     * Inform SAL that an error message has been received from a switch
+     * regarding a flow message previously sent to the switch. A Request ID
+     * associated with the offending message is also returned.
+     *
+     * @param node
+     *            the network node on which the error reported
+     * @param rid
+     *            the offending message request id
+     * @param err
+     *            the error message
+     */
+    public void flowErrorReported(Node node, long rid, Object err);
 }