Interface OpenFlowSwitchListener


  • public interface OpenFlowSwitchListener
    Allows for providers interested in Switch events to be notified.
    • Method Detail

      • switchAdded

        void switchAdded​(Dpid dpid)
        Notify that the switch was added.
        Parameters:
        dpid - the switch where the event occurred
      • switchRemoved

        void switchRemoved​(Dpid dpid)
        Notify that the switch was removed.
        Parameters:
        dpid - the switch where the event occurred.
      • switchChanged

        void switchChanged​(Dpid dpid)
        Notify that the switch has changed in some way.
        Parameters:
        dpid - the switch that changed
      • portChanged

        void portChanged​(Dpid dpid,
                         org.projectfloodlight.openflow.protocol.OFPortStatus status)
        Notify that a port has changed.
        Parameters:
        dpid - the switch on which the change happened.
        status - the new state of the port.
      • receivedRoleReply

        void receivedRoleReply​(Dpid dpid,
                               RoleState requested,
                               RoleState response)
        Notify that a role imposed on a switch failed to take hold.
        Parameters:
        dpid - the switch that failed role assertion
        requested - the role controller requested
        response - role reply from the switch