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()
start manager
|
void |
stop()
stop manager
|
void stop()
void start()
void setDataBroker(org.opendaylight.controller.md.sal.binding.api.DataBroker data)
Data Broker is used to access overal 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
data
- void setPacketProcessingService(PacketProcessingService packetProcessingService)
Packet Processing service is used to send packet Out on Openflow switch.
inject PacketProcessingService
packetProcessingService
- void setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationService notificationService)
Notification service is used to register for listening packet-in notifications.
inject NotificationService
notificationService
- Copyright © 2018 OpenDaylight. All rights reserved.