2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.forwardingrulesmanager;
12 * The interface which describes the methods forwarding rules manager will call
13 * for notifying the listeners of policy installation updates.
15 public interface IForwardingRulesManagerAware {
18 * Inform the listeners that a troubleshooting information was added or
19 * removed for the specified policy.
24 * true if the troubleshooting information was added, false
27 public void policyUpdate(String policyName, boolean add);
30 * Inform listeners that the network node has notified us about a failure in
31 * executing the controller generated asynchronous request identified by the
35 * the unique id associated with the request which failed to be
36 * executed on the network node
38 * the string describing the error reported by the network node
40 public void requestFailed(long requestId, String error);