| Constructor and Description |
|---|
VTNConfigImpl()
Construct a new instance which contains default parameter values.
|
VTNConfigImpl(EtherAddress mac)
Construct a new instance which contains default parameter values.
|
VTNConfigImpl(VtnConfig vcfg)
Construct a new instance.
|
VTNConfigImpl(VtnConfig vcfg,
EtherAddress mac)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static VtnConfigBuilder |
builder(EtherAddress mac)
Create a new
VtnConfigBuilder instance filled with default
values. |
static VtnConfigBuilder |
builder(VtnConfig vcfg,
EtherAddress mac)
Create a new
VtnConfigBuilder instance that contains the given
parameters. |
static String |
diff(VTNConfig oldConf,
VTNConfig newConf)
Create a diff of the given two configuration.
|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
static VtnConfigBuilder |
fillDefault(VtnConfigBuilder builder,
EtherAddress mac)
Fill the given configuration with default values.
|
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.
|
Integer |
getJaxbBulkFlowModTimeout()
Deprecated.
Only for JAXB. Use
getBulkFlowModTimeout() instead. |
Integer |
getJaxbFlowModTimeout()
Deprecated.
Only for JAXB. Use
getFlowModTimeout() instead. |
Integer |
getJaxbInitTimeout()
Deprecated.
Only for JAXB. Use
getInitTimeout() instead. |
Integer |
getJaxbL2FlowPriority()
Deprecated.
Only for JAXB. Use
getL2FlowPriority() instead. |
Integer |
getJaxbMaxRedirections()
Deprecated.
Only for JAXB. Use
getMaxRedirections() instead. |
Integer |
getJaxbTopologyWait()
Deprecated.
Only for JAXB. Use
getTopologyWait() instead. |
VtnConfigBuilder |
getJaxbValue()
Return a
VtnConfigBuilder that contains values loaded via
JAXB. |
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.
|
int |
hashCode()
Return the hash code of this object.
|
boolean |
isHostTracking()
Return a boolean value that determines whether to enable host tracking
in the vBridge.
|
VtnConfig |
toVtnConfig()
Convert this instance into a
VtnConfig instance. |
public VTNConfigImpl()
Note that this constructor never configures MAC address of the local node.
public VTNConfigImpl(EtherAddress mac)
mac - MAC address of the local node.public VTNConfigImpl(VtnConfig vcfg)
vcfg - A VtnConfig instance.public VTNConfigImpl(VtnConfig vcfg, EtherAddress mac)
vcfg - A VtnConfig instance.mac - MAC address of the local node.
This parameter is used only if a non null value
is specified and MAC address is not configured in
vcfg.public static VtnConfigBuilder fillDefault(VtnConfigBuilder builder, EtherAddress mac)
builder - A VtnConfigBuilder instance.mac - MAC address of the local node.builder is always returned.public static VtnConfigBuilder builder(EtherAddress mac)
VtnConfigBuilder instance filled with default
values.mac - MAC address of the local node.VtnConfigBuilder instance.public static VtnConfigBuilder builder(VtnConfig vcfg, EtherAddress mac)
VtnConfigBuilder instance that contains the given
parameters.
null is specified to vcfg, this method returns
a VtnConfigBuilder instance filled with default values.
VtnConfig is specified to vcfg, this method
returns a VtnConfigBuilder instance which contains the
given parameter. Missing parameters in vcfg will be filled
with default values.
vcfg - A VtnConfig instance or null.mac - MAC address of the local node.VtnConfigBuilder instance.public static String diff(VTNConfig oldConf, VTNConfig newConf)
oldConf - Old configuration.newConf - New configuration.null if the given two instances are identical.public VtnConfig toVtnConfig()
VtnConfig instance.VtnConfig instance.public VtnConfigBuilder getJaxbValue()
VtnConfigBuilder that contains values loaded via
JAXB.VtnConfigBuilder instance if this instance is created
by JAXB. Note that an empty VtnConfigBuilder is
returned if no value is configured via JAXB.public boolean equals(Object o)
public int hashCode()
public Integer getJaxbTopologyWait()
getTopologyWait() instead.Integer instance which represents the current value
of "topology-wait".Integer value or null.public Integer getJaxbL2FlowPriority()
getL2FlowPriority() instead.Integer instance which represents the current value
of "l2-flow-priority".Integer value or null.public Integer getJaxbFlowModTimeout()
getFlowModTimeout() instead.Integer instance which represents the current value
of "flow-mod-timeout".Integer value or null.public Integer getJaxbBulkFlowModTimeout()
getBulkFlowModTimeout() instead.Integer instance which represents the current value
of "bulk-flow-mod-timeout".Integer value or null.public Integer getJaxbInitTimeout()
getInitTimeout() instead.Integer instance which represents the current value
of "init-timeout".Integer value or null.public Integer getJaxbMaxRedirections()
getMaxRedirections() instead.Integer instance which represents the current value
of "max-redirections".Integer value or null.public 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.