diff --git a/src/main/java/net/floodlightcontroller/forwarding/Forwarding.java b/src/main/java/net/floodlightcontroller/forwarding/Forwarding.java index b55497ef3de969111eaa003c94b5814c03228d5e..df255f6134b6d1ccff356f9f16201539a10b2bb4 100644 --- a/src/main/java/net/floodlightcontroller/forwarding/Forwarding.java +++ b/src/main/java/net/floodlightcontroller/forwarding/Forwarding.java @@ -418,34 +418,6 @@ public class Forwarding extends ForwardingBase implements IFloodlightModule { this.topology = context.getServiceImpl(ITopologyService.class); this.counterStore = context.getServiceImpl(ICounterStoreService.class); - /* - // read our config options - Map<String, String> configOptions = context.getConfigParams(this); - try { - String idleTimeout = configOptions.get("idletimeout"); - if (idleTimeout != null) { - FLOWMOD_DEFAULT_IDLE_TIMEOUT = Short.parseShort(idleTimeout); - } - } catch (NumberFormatException e) { - log.warn("Error parsing flow idle timeout, " + - "using default of {} seconds", - FLOWMOD_DEFAULT_IDLE_TIMEOUT); - } - try { - String hardTimeout = configOptions.get("hardtimeout"); - if (hardTimeout != null) { - FLOWMOD_DEFAULT_HARD_TIMEOUT = Short.parseShort(hardTimeout); - } - } catch (NumberFormatException e) { - log.warn("Error parsing flow hard timeout, " + - "using default of {} seconds", - FLOWMOD_DEFAULT_HARD_TIMEOUT); - } - log.debug("FlowMod idle timeout set to {} seconds", - FLOWMOD_DEFAULT_IDLE_TIMEOUT); - log.debug("FlowMod hard timeout set to {} seconds", - FLOWMOD_DEFAULT_HARD_TIMEOUT); - */ try { AppCookie.registerApp(FORWARDING_APP_ID, "Forwarding"); } catch (AppIDInUseException e) {