Skip to content
Snippets Groups Projects
Commit cd3e6acc authored by Rob Vaterlaus's avatar Rob Vaterlaus
Browse files

Additional comments for configurable controller ID

parent 149db29c
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
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