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 AutoCloseable
public int getTopologyWait()
getTopologyWait
in interface VTNConfig
public int getL2FlowPriority()
getL2FlowPriority
in interface VTNConfig
public int getFlowModTimeout()
getFlowModTimeout
in interface VTNConfig
public int getBulkFlowModTimeout()
getBulkFlowModTimeout
in interface VTNConfig
public int getInitTimeout()
getInitTimeout
in interface VTNConfig
public int getMaxRedirections()
getMaxRedirections
in interface VTNConfig
public boolean isHostTracking()
isHostTracking
in interface VTNConfig
true
if host tracking in the vBridge is enabled.
false
otherwise.public EtherAddress getControllerMacAddress()
getControllerMacAddress
in interface VTNConfig
EtherAddress
instance.Copyright © 2018 OpenDaylight. All rights reserved.