OpenDaylight Controller functional modules.
[controller.git] / opendaylight / forwardingrulesmanager / src / main / java / org / opendaylight / controller / forwardingrulesmanager / IForwardingRulesManagerAware.java
diff --git a/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java b/opendaylight/forwardingrulesmanager/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java
new file mode 100644 (file)
index 0000000..df37063
--- /dev/null
@@ -0,0 +1,28 @@
+
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+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 true if the troubleshooting information was added, false otherwise
+        */
+    public void policyUpdate(String policyName, boolean add);
+}