public final class VTNConfigManager extends Object implements AutoCloseable, VTNConfig
| Constructor and Description |
|---|
VTNConfigManager(VTNManagerProvider provider)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the configuration service.
|
int |
getBulkFlowModTimeout()
Return the number of milliseconds to wait for completion of bulk
FLOW_MOD requests.
|
EtherAddress |
getControllerMacAddress()
Return MAC address of the controller used as source MAC address of
ARP packet.
|
int |
getFlowModTimeout()
Return the number of milliseconds to wait for completion of a single
FLOW_MOD request.
|
int |
getInitTimeout()
Return the number of milliseconds to wait for another controller in the
cluster to complete initialization.
|
int |
getL2FlowPriority()
Return priority value for layer 2 flow entries.
|
int |
getMaxRedirections()
Return the maximum number of packet redirections per a flow.
|
int |
getTopologyWait()
Return the number of milliseconds to wait for completion of inter-switch
link detection by topology-manager.
|
void |
initDone()
Complete the initialization of global configuration.
|
boolean |
isConfigProvider()
Determine whether the local node is the configuration provider or not.
|
boolean |
isHostTracking()
Return a boolean value that determines whether to enable host tracking
in the vBridge.
|
public VTNConfigManager(VTNManagerProvider provider)
provider - A VTN Manager provider service.public void initDone()
public boolean isConfigProvider()
true if the local node is the configuration provider.
Otherwise false.public void close()
close in interface AutoCloseablepublic int getTopologyWait()
getTopologyWait in interface VTNConfigpublic int getL2FlowPriority()
getL2FlowPriority in interface VTNConfigpublic int getFlowModTimeout()
getFlowModTimeout in interface VTNConfigpublic int getBulkFlowModTimeout()
getBulkFlowModTimeout in interface VTNConfigpublic int getInitTimeout()
getInitTimeout in interface VTNConfigpublic int getMaxRedirections()
getMaxRedirections in interface VTNConfigpublic boolean isHostTracking()
isHostTracking in interface VTNConfigtrue if host tracking in the vBridge is enabled.
false otherwise.public EtherAddress getControllerMacAddress()
getControllerMacAddress in interface VTNConfigEtherAddress instance.Copyright © 2018 OpenDaylight. All rights reserved.