public interface LearningSwitchManager
Modifier and Type | Method and Description |
---|---|
void |
setDataBroker(org.opendaylight.controller.md.sal.binding.api.DataBroker data)
Set's Data Broker dependency.
|
void |
setNotificationService(org.opendaylight.controller.sal.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.
|
void stop()
void start()
void setDataBroker(org.opendaylight.controller.md.sal.binding.api.DataBroker data)
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
void setPacketProcessingService(PacketProcessingService packetProcessingService)
Packet Processing service is used to send packet Out on Openflow switch.
inject PacketProcessingService
void setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationService notificationService)
Notification service is used to register for listening packet-in notifications.
inject NotificationService
Copyright © 2018 OpenDaylight. All rights reserved.