Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

OFSwitchManager is a Floodlight module designed to manage all the OpenFlow switches connected to the Floodlight controller. It can be used to get references to and interact with switches such as send OFMessages like OFFlowMods and OFPacketOuts. Modules can leverage the OFSwitchManager by requesting a reference to the IOFSwitchService.

Services Provided

  • IOFSwitchService

Service Dependencies

  • IFloodlightProviderService
  • IDebugEventService
  • IDebugCounterService
  • ISyncService

Java File

The module is implemented in net.floodlightcontroller.core.internal.OFSwitchManager.java.

How it works

The OFSwitchManager uses the Netty library to handle threading and connections to switches. Each OpenFlow message will be processed by a Netty thread and will execute all logic associated with with the message across all modules.

Limitations

  • None

Configuration

This module is enabled by default, no extra configuration is needed.

Configuration Options

None.

REST API

None.