/
Tuning Server Sockets
Tuning Server Sockets
Floodlight v1.2 and below expose net.floodlightcontroller.core.internal.Controller.openflowPort and net.floodlightcontroller.core.internal.Controller.openflowHost to modify the OpenFlow TCP port and IP address. Set these instead of via the OFSwitchManager as indicated below, which is for Floodlight master June 2016 and later.
Floodlight provides many parameters and tuning knobs for the included server sockets, such as the OpenFlow server, the REST API, and the Jython debug server. You can modify the following configuration parameters in your properties file.
net.floodlightcontroller.restserver.RestApiServer.host net.floodlightcontroller.restserver.RestApiServer.httpPort net.floodlightcontroller.restserver.RestApiServer.httpsPort net.floodlightcontroller.core.internal.OFSwitchManager.openFlowPort net.floodlightcontroller.core.internal.OFSwitchManager.openFlowAddresses net.floodlightcontroller.core.internal.OFSwitchManager.workerThreads net.floodlightcontroller.core.internal.OFSwitchManager.bossThreads net.floodlightcontroller.core.internal.OFSwitchManager.connectionBacklog net.floodlightcontroller.core.internal.OFSwitchManager.connectionTimeoutMs net.floodlightcontroller.jython.JythonDebugInterface.host net.floodlightcontroller.jython.JythonDebugInterface.port
Example Configurations
OpenFlow port where switches connect to Floodlight changed from 6653 to 6633:
net.floodlightcontroller.core.internal.OFSwitchManager.openFlowPort=6633
All 3 servers listen on different hosts:
net.floodlightcontroller.restserver.RestApiServer.host=192.168.1.1 net.floodlightcontroller.core.internal.OFSwitchManager.openFlowAddresses=192.168.1.2 net.floodlightcontroller.jython.JythonDebugInterface.host=192.168.1.3
, multiple selections available,
Related content
FloodlightProvider (Dev)
FloodlightProvider (Dev)
More like this
Configuration
Configuration
More like this
OpenFlow and REST API Security Configuration
OpenFlow and REST API Security Configuration
More like this
Applications
Applications
More like this
The Controller
The Controller
More like this
Setting the OpenFlow Version
Setting the OpenFlow Version
More like this