org.sdnplatform.sync.internal.config
Class FallbackCCProvider
java.lang.Object
org.sdnplatform.sync.internal.config.FallbackCCProvider
- All Implemented Interfaces:
- IClusterConfigProvider
public class FallbackCCProvider
- extends java.lang.Object
- implements IClusterConfigProvider
Provide a fallback local configuration
- Author:
- readams
Field Summary |
protected static org.slf4j.Logger |
logger
|
protected boolean |
warned
|
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
warned
protected volatile boolean warned
FallbackCCProvider
public FallbackCCProvider()
throws SyncException
- 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
init
public void init(SyncManager syncManager,
FloodlightModuleContext context)
- Description copied from interface:
IClusterConfigProvider
- Initialize the provider with the configuration parameters from the
Floodlight module context.
- Specified by:
init
in interface IClusterConfigProvider