Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
0fe7674b
Commit
0fe7674b
authored
13 years ago
by
Alex Reimers
Browse files
Options
Downloads
Plain Diff
Merge pull request #8 from alexreimers/master
More modifications to controller init.
parents
e8ae4b0c
177b7330
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/floodlightcontroller/core/internal/Controller.java
+6
-2
6 additions, 2 deletions
...va/net/floodlightcontroller/core/internal/Controller.java
with
6 additions
and
2 deletions
src/main/java/net/floodlightcontroller/core/internal/Controller.java
+
6
−
2
View file @
0fe7674b
...
@@ -1395,9 +1395,10 @@ public class Controller
...
@@ -1395,9 +1395,10 @@ public class Controller
protected
void
init
()
{
protected
void
init
()
{
topology
=
new
TopologyImpl
();
topology
=
new
TopologyImpl
();
deviceManager
=
new
DeviceManagerImpl
();
deviceManager
=
new
DeviceManagerImpl
();
storageSource
=
new
MemoryStorageSource
();
counterStore
=
new
CounterStore
();
counterStore
=
new
CounterStore
();
pktinProcTime
=
new
PktinProcessingTime
();
pktinProcTime
=
new
PktinProcessingTime
();
routingEngine
=
new
RoutingImpl
();
initStorageSource
();
topology
.
setFloodlightProvider
(
this
);
topology
.
setFloodlightProvider
(
this
);
topology
.
setStorageSource
(
storageSource
);
topology
.
setStorageSource
(
storageSource
);
...
@@ -1408,7 +1409,6 @@ public class Controller
...
@@ -1408,7 +1409,6 @@ public class Controller
initMessageFilterManager
();
initMessageFilterManager
();
initStaticFlowPusher
();
initStaticFlowPusher
();
routingEngine
=
new
RoutingImpl
();
initForwarding
();
initForwarding
();
// call this explicitly because it does setup
// call this explicitly because it does setup
...
@@ -1430,6 +1430,10 @@ public class Controller
...
@@ -1430,6 +1430,10 @@ public class Controller
JacksonCustomConverter
.
replaceConverter
();
JacksonCustomConverter
.
replaceConverter
();
}
}
protected
void
initStorageSource
()
{
storageSource
=
new
MemoryStorageSource
();
}
protected
void
initMessageFilterManager
()
{
protected
void
initMessageFilterManager
()
{
messageFilterManager
=
new
OFMessageFilterManager
();
messageFilterManager
=
new
OFMessageFilterManager
();
messageFilterManager
.
init
(
this
);
messageFilterManager
.
init
(
this
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment