Class LearningSwitchManagerMultiImpl

java.lang.Object
org.opendaylight.openflowplugin.learningswitch.multi.LearningSwitchManagerMultiImpl
All Implemented Interfaces:
AutoCloseable, DataTreeChangeListenerRegistrationHolder

@Singleton public final class LearningSwitchManagerMultiImpl extends Object implements DataTreeChangeListenerRegistrationHolder, AutoCloseable
Listens to packetIn notification.
  • in HUB mode simply floods all switch ports (except ingress port)
  • in LSWITCH mode collects source MAC address of packetIn and bind it with ingress port. If target MAC address is already bound then a flow is created (for direct communication between corresponding MACs)
  • Constructor Details

    • LearningSwitchManagerMultiImpl

      @Inject public LearningSwitchManagerMultiImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationService notificationService, org.opendaylight.mdsal.binding.api.RpcService rpcService)
  • Method Details