public interface ClusterAdminService
| Modifier and Type | Method and Description |
|---|---|
ControllerNode |
addNode(NodeId nodeId,
org.onlab.packet.IpAddress ip,
int tcpPort)
Adds a new controller node to the cluster.
|
void |
formCluster(Set<ControllerNode> nodes,
String ipPrefix)
Forms cluster configuration based on the specified set of node
information. This method resets and restarts the controller
instance.
|
void |
removeNode(NodeId nodeId)
Removes the specified node from the cluster node list.
|
void formCluster(Set<ControllerNode> nodes, String ipPrefix)
nodes - set of nodes that form the clusteripPrefix - IP address prefix, e.g. 10.0.1.*ControllerNode addNode(NodeId nodeId, org.onlab.packet.IpAddress ip, int tcpPort)
nodeId - controller node identifierip - node IP listen addresstcpPort - tcp listen portvoid removeNode(NodeId nodeId)
nodeId - controller node identifierCopyright © 2015. All rights reserved.