Ability to configure some system parameters on the controller 90/90/1
authorChi-Vien Ly <chivly@cisco.com>
Fri, 29 Mar 2013 03:51:14 +0000 (20:51 -0700)
committerChi-Vien Ly <chivly@cisco.com>
Fri, 29 Mar 2013 03:51:14 +0000 (20:51 -0700)
commitd57a8a15cbfae3e701eb664b20086fcfb5951f49
tree232071671c0d99c16d919185d69d473a7764a724
parent244e6a69236780568bc9b793816530a0b76e4cae
Ability to configure some system parameters on the controller

This commit allows the controller to be brought up with the following parameters that can be specified in the config.ini file:
- of.listenPort=6633. TCP port on which the controller is listening (default 6633)
- of.messageResponseTimer=5000. The time (in milliseconds) the controller will wait for a response after sending a Barrier Request or a Statistic Request message (default 2000 msec)
If the paramater is not specified in the config.ini, the controller will use the default value.

Change-Id: Ifc805c5cedcbb9e68dc5c8e166b3f0f814b6fb8e
Signed-off-by: Chi-Vien Ly <chivly@cisco.com>
opendaylight/distribution/opendaylight/src/main/resources/configuration/config.ini
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/ControllerIO.java
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/SwitchHandler.java