@Service public class ClusterDefinitionManager extends Object implements org.onosproject.cluster.ClusterDefinitionService
| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTER_DEFINITION_FILE |
| Constructor and Description |
|---|
ClusterDefinitionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
formCluster(Set<org.onosproject.cluster.ControllerNode> nodes,
String ipPrefix) |
static String |
getSiteLocalAddress()
Returns the address that matches the IP prefix given in ONOS_NIC
environment variable if one was specified, or the first site local
address if one can be found or the loopback address otherwise.
|
org.onosproject.cluster.ControllerNode |
localNode() |
Set<org.onosproject.cluster.ControllerNode> |
seedNodes() |
public static final String CLUSTER_DEFINITION_FILE
@Activate public void activate()
@Deactivate public void deactivate()
public org.onosproject.cluster.ControllerNode localNode()
localNode in interface org.onosproject.cluster.ClusterDefinitionServicepublic Set<org.onosproject.cluster.ControllerNode> seedNodes()
seedNodes in interface org.onosproject.cluster.ClusterDefinitionServicepublic void formCluster(Set<org.onosproject.cluster.ControllerNode> nodes, String ipPrefix)
formCluster in interface org.onosproject.cluster.ClusterDefinitionServicepublic static String getSiteLocalAddress()
Copyright © 2015. All rights reserved.