Interface LearningSwitchManager
- All Known Implementing Classes:
LearningSwitchManagerMultiImpl
,LearningSwitchManagerSimpleImpl
public interface LearningSwitchManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDataBroker
(org.opendaylight.mdsal.binding.api.DataBroker data) Set's Data Broker dependency.void
setNotificationService
(org.opendaylight.mdsal.binding.api.NotificationService notificationService) Set's Notification service dependency.void
setPacketProcessingService
(PacketProcessingService packetProcessingService) Set's Packet Processing dependency.void
start()
Starts this manager.void
stop()
Stops this manager.
-
Method Details
-
stop
void stop()Stops this manager. -
start
void start()Starts this manager. -
setDataBroker
void setDataBroker(org.opendaylight.mdsal.binding.api.DataBroker data) Set's Data Broker dependency.Data Broker is used to access overall operational and configuration tree.
In simple Learning Switch handler, data broker is used to listen for changes in Openflow tables and to configure flows which will be provisioned down to the Openflow switch.
inject
DataBroker
-
setPacketProcessingService
Set's Packet Processing dependency.Packet Processing service is used to send packet Out on Openflow switch.
inject
PacketProcessingService
-
setNotificationService
void setNotificationService(org.opendaylight.mdsal.binding.api.NotificationService notificationService) Set's Notification service dependency.Notification service is used to register for listening packet-in notifications.
inject
NotificationService
-