X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fforwardingrulesmanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fforwardingrulesmanager%2FIForwardingRulesManagerAware.java;h=31e1ea199bde1d9bc39beb8781a1d28077e16bd3;hb=7152d7675a13da768d03f11e3d1526f03de9781c;hp=e2ccdd60c31c40b948ab2689195a0a890f02cd6a;hpb=69bbdbb02e3f4755b95fa62b9a3610a3a11c9724;p=controller.git diff --git a/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java b/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java index e2ccdd60c3..31e1ea199b 100644 --- a/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java +++ b/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java @@ -11,14 +11,13 @@ package org.opendaylight.controller.forwardingrulesmanager; /** * The interface which describes the methods forwarding rules manager will call * for notifying the listeners of policy installation updates. - * */ public interface IForwardingRulesManagerAware { /** * Inform the listeners that a troubleshooting information was added or * removed for the specified policy. - * + * * @param policyName * the policy affected * @param add @@ -26,4 +25,18 @@ public interface IForwardingRulesManagerAware { * otherwise */ public void policyUpdate(String policyName, boolean add); + + /** + * Inform listeners that the network node has notified us about a failure in + * executing the controller generated asynchronous request identified by the + * passed unique id. + * + * @param requestId + * the unique id associated with the request which failed to be + * executed on the network node + * @param error + * the string describing the error reported by the network node + */ + public void requestFailed(long requestId, String error); + }