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