Skip to content
Snippets Groups Projects
Commit 43d0b1b5 authored by Alex Reimers's avatar Alex Reimers
Browse files

Ooops adding CoreWebRoutable got removed.

parent 772d0824
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,7 @@ import net.floodlightcontroller.core.IOFSwitchFilter; ...@@ -54,6 +54,7 @@ import net.floodlightcontroller.core.IOFSwitchFilter;
import net.floodlightcontroller.core.IOFSwitchListener; import net.floodlightcontroller.core.IOFSwitchListener;
import net.floodlightcontroller.core.internal.OFChannelState.HandshakeState; import net.floodlightcontroller.core.internal.OFChannelState.HandshakeState;
import net.floodlightcontroller.core.util.ListenerDispatcher; import net.floodlightcontroller.core.util.ListenerDispatcher;
import net.floodlightcontroller.core.web.CoreWebRoutable;
import static net.floodlightcontroller.counter.CounterValue.CounterType; import static net.floodlightcontroller.counter.CounterValue.CounterType;
import net.floodlightcontroller.counter.CounterStore; import net.floodlightcontroller.counter.CounterStore;
import net.floodlightcontroller.counter.ICounter; import net.floodlightcontroller.counter.ICounter;
...@@ -1326,6 +1327,9 @@ public class Controller ...@@ -1326,6 +1327,9 @@ public class Controller
log.info("Packet processing time threshold for warning set to {} ms.", log.info("Packet processing time threshold for warning set to {} ms.",
ptWarningThresholdInNano/1000000); ptWarningThresholdInNano/1000000);
} }
// Add our REST API
restApi.addRestletRoutable(new CoreWebRoutable());
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment