BUG-2218: Keep existing link augmentations during discovery process
[controller.git] / opendaylight / forwardingrulesmanager / api / src / main / java / org / opendaylight / controller / forwardingrulesmanager / IForwardingRulesManagerAware.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.forwardingrulesmanager;
10
11 /**
12  * The interface which describes the methods forwarding rules manager will call
13  * for notifying the listeners of policy installation updates.
14  */
15 public interface IForwardingRulesManagerAware {
16
17     /**
18      * Inform the listeners that a troubleshooting information was added or
19      * removed for the specified policy.
20      *
21      * @param policyName
22      *            the policy affected
23      * @param add
24      *            true if the troubleshooting information was added, false
25      *            otherwise
26      */
27     public void policyUpdate(String policyName, boolean add);
28
29     /**
30      * Inform listeners that the network node has notified us about a failure in
31      * executing the controller generated asynchronous request identified by the
32      * passed unique id.
33      *
34      * @param requestId
35      *            the unique id associated with the request which failed to be
36      *            executed on the network node
37      * @param error
38      *            the string describing the error reported by the network node
39      */
40     public void requestFailed(long requestId, String error);
41
42 }