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
cd3e6acc
Commit
cd3e6acc
authored
12 years ago
by
Rob Vaterlaus
Browse files
Options
Downloads
Patches
Plain Diff
Additional comments for configurable controller ID
parent
149db29c
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
-0
6 additions, 0 deletions
...va/net/floodlightcontroller/core/internal/Controller.java
with
6 additions
and
0 deletions
src/main/java/net/floodlightcontroller/core/internal/Controller.java
+
6
−
0
View file @
cd3e6acc
...
...
@@ -172,10 +172,16 @@ public class Controller implements IFloodlightProviderService,
// If the controller isn't configured to support roles, then this is null.
protected
Role
role
;
// The id for this controller node. Should be unique for each controller
// node in a controller cluster.
protected
String
controllerId
;
// Storage table names
protected
static
final
String
CONTROLLER_TABLE_NAME
=
"controller_controller"
;
protected
static
final
String
CONTROLLER_ID
=
"id"
;
protected
static
final
String
CONTROLLER_INTERFACE_TABLE_NAME
=
"controller_controllerinterface"
;
protected
static
final
String
SWITCH_TABLE_NAME
=
"controller_switch"
;
protected
static
final
String
SWITCH_DATAPATH_ID
=
"dpid"
;
protected
static
final
String
SWITCH_SOCKET_ADDRESS
=
"socket_address"
;
...
...
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