Class LearningSwitchManagerMultiImpl

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

public class LearningSwitchManagerMultiImpl extends Object implements DataTreeChangeListenerRegistrationHolder, LearningSwitchManager
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

      public LearningSwitchManagerMultiImpl()
  • Method Details