Jonathan Hart | 5e44878 | 2013-12-10 12:36:35 -0800 | [diff] [blame] | 1 | package net.onrc.onos.ofcontroller.forwarding; |
| 2 | |
Pavlin Radoslavov | 7208e9a | 2013-12-11 14:31:07 -0800 | [diff] [blame] | 3 | import java.util.Collection; |
| 4 | |
Jonathan Hart | 5e44878 | 2013-12-10 12:36:35 -0800 | [diff] [blame] | 5 | import net.floodlightcontroller.core.module.IFloodlightService; |
| 6 | import net.onrc.onos.ofcontroller.util.FlowPath; |
| 7 | |
| 8 | /** |
| 9 | * Temporary interface that allows the Forwarding module to be |
| 10 | * notified when a flow has been installed by the FlowManager. |
| 11 | * |
| 12 | * This should be refactored to a listener framework in the future. |
| 13 | * @author jono |
| 14 | * |
| 15 | */ |
| 16 | public interface IForwardingService extends IFloodlightService { |
| 17 | /** |
Pavlin Radoslavov | 7208e9a | 2013-12-11 14:31:07 -0800 | [diff] [blame] | 18 | * Notify the Forwarding module that a collection of flows has been |
| 19 | * installed in the network. |
| 20 | * |
| 21 | * @param installedFlowPaths the collection of FlowPaths that have |
| 22 | * been installed in the network. |
Jonathan Hart | 5e44878 | 2013-12-10 12:36:35 -0800 | [diff] [blame] | 23 | */ |
Pavlin Radoslavov | 7208e9a | 2013-12-11 14:31:07 -0800 | [diff] [blame] | 24 | public void flowsInstalled(Collection<FlowPath> installedFlowPaths); |
Jonathan Hart | 5e44878 | 2013-12-10 12:36:35 -0800 | [diff] [blame] | 25 | } |