org.sdnplatform.sync.internal.config
Class SyncStoreCCProvider
java.lang.Object
org.sdnplatform.sync.internal.config.SyncStoreCCProvider
- All Implemented Interfaces:
- IClusterConfigProvider
public class SyncStoreCCProvider
- extends java.lang.Object
- implements IClusterConfigProvider
Configure sync service from a persistent sync store, and support
bootstrapping without manually configuring it.
- Author:
- readams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
SYSTEM_NODE_STORE
public static final java.lang.String SYSTEM_NODE_STORE
SYSTEM_UNSYNC_STORE
public static final java.lang.String SYSTEM_UNSYNC_STORE
SEEDS
public static final java.lang.String SEEDS
- See Also:
- Constant Field Values
LOCAL_NODE_ID
public static final java.lang.String LOCAL_NODE_ID
- See Also:
- Constant Field Values
LOCAL_NODE_IFACE
public static final java.lang.String LOCAL_NODE_IFACE
- See Also:
- Constant Field Values
LOCAL_NODE_HOSTNAME
public static final java.lang.String LOCAL_NODE_HOSTNAME
- See Also:
- Constant Field Values
LOCAL_NODE_PORT
public static final java.lang.String LOCAL_NODE_PORT
- See Also:
- Constant Field Values
AUTH_SCHEME
public static final java.lang.String AUTH_SCHEME
- See Also:
- Constant Field Values
KEY_STORE_PATH
public static final java.lang.String KEY_STORE_PATH
- See Also:
- Constant Field Values
KEY_STORE_PASSWORD
public static final java.lang.String KEY_STORE_PASSWORD
- See Also:
- Constant Field Values
SyncStoreCCProvider
public SyncStoreCCProvider()
init
public void init(SyncManager syncManager,
FloodlightModuleContext context)
throws SyncException
- Description copied from interface:
IClusterConfigProvider
- Initialize the provider with the configuration parameters from the
Floodlight module context.
- Specified by:
init
in interface IClusterConfigProvider
- Throws:
SyncException
getConfig
public ClusterConfig getConfig()
throws SyncException
- Description copied from interface:
IClusterConfigProvider
- Get the
ClusterConfig
that represents the current cluster
- Specified by:
getConfig
in interface IClusterConfigProvider
- Returns:
- the
ClusterConfig
object
- Throws:
SyncException