org.sdnplatform.sync.internal.config
Class StorageCCProvider

java.lang.Object
  extended by org.sdnplatform.sync.internal.config.StorageCCProvider
All Implemented Interfaces:
IClusterConfigProvider

public class StorageCCProvider
extends java.lang.Object
implements IClusterConfigProvider


Field Summary
protected static java.lang.String BOOT_CONFIG
           
protected static java.lang.String CONTROLLER_ID
           
protected static java.lang.String CONTROLLER_INTERFACE_CONTROLLER_ID
           
protected static java.lang.String CONTROLLER_INTERFACE_DISCOVERED_IP
           
protected static java.lang.String CONTROLLER_INTERFACE_NUMBER
           
protected static java.lang.String CONTROLLER_INTERFACE_TABLE_NAME
           
protected static java.lang.String CONTROLLER_INTERFACE_TYPE
           
protected static java.lang.String CONTROLLER_SYNC_DOMAIN_ID
           
protected static java.lang.String CONTROLLER_SYNC_ID
           
protected static java.lang.String CONTROLLER_SYNC_PORT
           
protected static java.lang.String CONTROLLER_TABLE_NAME
           
protected static org.slf4j.Logger logger
           
 
Constructor Summary
StorageCCProvider()
           
 
Method Summary
 ClusterConfig getConfig()
          Get the ClusterConfig that represents the current cluster
 void init(SyncManager syncManager, FloodlightModuleContext context)
          Initialize the provider with the configuration parameters from the Floodlight module context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger

CONTROLLER_TABLE_NAME

protected static final java.lang.String CONTROLLER_TABLE_NAME
See Also:
Constant Field Values

CONTROLLER_ID

protected static final java.lang.String CONTROLLER_ID
See Also:
Constant Field Values

CONTROLLER_SYNC_ID

protected static final java.lang.String CONTROLLER_SYNC_ID
See Also:
Constant Field Values

CONTROLLER_SYNC_DOMAIN_ID

protected static final java.lang.String CONTROLLER_SYNC_DOMAIN_ID
See Also:
Constant Field Values

CONTROLLER_SYNC_PORT

protected static final java.lang.String CONTROLLER_SYNC_PORT
See Also:
Constant Field Values

CONTROLLER_INTERFACE_TABLE_NAME

protected static final java.lang.String CONTROLLER_INTERFACE_TABLE_NAME
See Also:
Constant Field Values

CONTROLLER_INTERFACE_CONTROLLER_ID

protected static final java.lang.String CONTROLLER_INTERFACE_CONTROLLER_ID
See Also:
Constant Field Values

CONTROLLER_INTERFACE_DISCOVERED_IP

protected static final java.lang.String CONTROLLER_INTERFACE_DISCOVERED_IP
See Also:
Constant Field Values

CONTROLLER_INTERFACE_TYPE

protected static final java.lang.String CONTROLLER_INTERFACE_TYPE
See Also:
Constant Field Values

CONTROLLER_INTERFACE_NUMBER

protected static final java.lang.String CONTROLLER_INTERFACE_NUMBER
See Also:
Constant Field Values

BOOT_CONFIG

protected static final java.lang.String BOOT_CONFIG
See Also:
Constant Field Values
Constructor Detail

StorageCCProvider

public StorageCCProvider()
Method Detail

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

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