X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fflowprogrammer%2FIPluginOutFlowProgrammerService.java;h=1fc6741611495b42eb2beb3ad89e39f1103db117;hb=ff1b4a79cca00743a00c3b0b1100bd0ab2b2fb31;hp=2836f77afa64a0775b5281b9634874b393d780f2;hpb=4a5b8b61c06c7091a7de5ed9df7456fa325dd909;p=controller.git diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginOutFlowProgrammerService.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginOutFlowProgrammerService.java index 2836f77afa..1fc6741611 100644 --- a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginOutFlowProgrammerService.java +++ b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/flowprogrammer/IPluginOutFlowProgrammerService.java @@ -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); }