| Package | Description |
|---|---|
| org.onosproject.cluster |
Set of abstractions for dealing with controller cluster related topics.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultControllerNode
Default implementation of a controller instance descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
ControllerNode |
ClusterStore.addNode(NodeId nodeId,
org.onlab.packet.IpAddress ip,
int tcpPort)
Adds a new controller node to the cluster.
|
ControllerNode |
ClusterAdminService.addNode(NodeId nodeId,
org.onlab.packet.IpAddress ip,
int tcpPort)
Adds a new controller node to the cluster.
|
ControllerNode |
ClusterStore.getLocalNode()
Returns the local controller node.
|
ControllerNode |
ClusterService.getLocalNode()
Returns the local controller node.
|
ControllerNode |
ClusterStore.getNode(NodeId nodeId)
Returns the specified controller node.
|
ControllerNode |
ClusterService.getNode(NodeId nodeId)
Returns the specified controller node.
|
ControllerNode |
ClusterDefinitionService.localNode()
Returns the local controller node.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ControllerNode> |
ClusterStore.getNodes()
Returns the set of current cluster members.
|
Set<ControllerNode> |
ClusterService.getNodes()
Returns the set of current cluster members.
|
Set<ControllerNode> |
ClusterDefinitionService.seedNodes()
Returns the set of seed nodes that should be used for discovering other members
of the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
NodeId |
ControllerNodeToNodeId.apply(ControllerNode input) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterDefinitionService.formCluster(Set<ControllerNode> nodes,
String ipPrefix)
Forms cluster configuration based on the specified set of node
information.
|
void |
ClusterAdminService.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.
|
| Constructor and Description |
|---|
ClusterEvent(ClusterEvent.Type type,
ControllerNode instance)
Creates an event of a given type and for the specified instance and the
current time.
|
ClusterEvent(ClusterEvent.Type type,
ControllerNode instance,
long time)
Creates an event of a given type and for the specified device and time.
|
Copyright © 2015. All rights reserved.