2 * Copyright (c) 2013 Plexxi, 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.affinity;
12 * The interface which describes the methods forwarding rules manager will call
13 * for notifying the listeners of policy installation updates.
15 public interface IAffinityManagerAware {
18 * Inform the listeners that specified affinity was updated.
21 * the affinity config that was added or removed
22 * @param add true if add; false otherwise
24 public void affinityNotify(AffinityConfig aff, boolean add);
27 * Inform listeners that the network node has notified us about a failure in
28 * executing the controller generated asynchronous request identified by the
32 * the unique id associated with the request which failed to be
33 * executed on the network node
35 * the string describing the error reported by the network node
37 public void requestFailed(long requestId, String error);