Interface ElanConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ElanConfig>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ElanConfigData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface ElanConfig extends org.opendaylight.yangtools.yang.binding.ChildOf<ElanConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<ElanConfig>
This class represents the following YANG schema fragment defined in module elan-config
container elan-config { leaf auto-create-bridge { type boolean; default true; } leaf int-bridge-gen-mac { type boolean; default true; } leaf controller-max-backoff { type uint32 { range 1000..max; } } leaf controller-inactivity-probe { type uint32; } leaf temp-smac-learn-timeout { type uint16; default 10; } leaf arp-punt-timeout { type uint32; default 5; } leaf punt-lldp-to-controller { type boolean; default false; } leaf auto-config-transport-zones { type boolean; default false; } leaf use-of-tunnels { type boolean; default false; } leaf openstack-vni-semantics-enforced { type boolean; default true; } leaf l2gw-stale-vlan-cleanup-delay-secs { type uint16; default 900; } leaf l2gw-logical-switch-delay-secs { type uint16; default 20; } leaf l2gw-stale-localucastmacs-cleanup-delay-secs { type uint16; default 600; } }
The schema path to identify an instance is elan-config/elan-configTo create instances of this class use
ElanConfigBuilder
.- See Also:
ElanConfigBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull ElanConfig thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull ElanConfig obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull ElanConfig obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yangtools.yang.common.Uint32
getArpPuntTimeout()
Return arpPuntTimeout, ornull
if it is not present.java.lang.Boolean
getAutoConfigTransportZones()
Return autoConfigTransportZones, ornull
if it is not present.java.lang.Boolean
getAutoCreateBridge()
Return autoCreateBridge, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getControllerInactivityProbe()
Return controllerInactivityProbe, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getControllerMaxBackoff()
Return controllerMaxBackoff, ornull
if it is not present.java.lang.Boolean
getIntBridgeGenMac()
Return intBridgeGenMac, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getL2gwLogicalSwitchDelaySecs()
Return l2gwLogicalSwitchDelaySecs, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getL2gwStaleLocalucastmacsCleanupDelaySecs()
Return l2gwStaleLocalucastmacsCleanupDelaySecs, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getL2gwStaleVlanCleanupDelaySecs()
Return l2gwStaleVlanCleanupDelaySecs, ornull
if it is not present.java.lang.Boolean
getOpenstackVniSemanticsEnforced()
Return openstackVniSemanticsEnforced, ornull
if it is not present.java.lang.Boolean
getPuntLldpToController()
Return puntLldpToController, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getTempSmacLearnTimeout()
Return tempSmacLearnTimeout, ornull
if it is not present.java.lang.Boolean
getUseOfTunnels()
Return useOfTunnels, ornull
if it is not present.default java.lang.Class<ElanConfig>
implementedInterface()
default java.lang.Boolean
isAutoConfigTransportZones()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isAutoCreateBridge()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isIntBridgeGenMac()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isOpenstackVniSemanticsEnforced()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isPuntLldpToController()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isUseOfTunnels()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ElanConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull ElanConfig obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
java.lang.NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull ElanConfig thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
java.lang.NullPointerException
- ifthisObj
is null
-
bindingToString
static java.lang.String bindingToString(@NonNull ElanConfig obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
java.lang.NullPointerException
- ifobj
is null
-
getAutoCreateBridge
java.lang.Boolean getAutoCreateBridge()
Return autoCreateBridge, ornull
if it is not present.If true, auto-create default bridge
- Returns:
java.lang.Boolean
autoCreateBridge, ornull
if it is not present.
-
isAutoCreateBridge
@Deprecated(forRemoval=true) default java.lang.Boolean isAutoCreateBridge()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getIntBridgeGenMac
java.lang.Boolean getIntBridgeGenMac()
Return intBridgeGenMac, ornull
if it is not present.If true, generate a mac, else use the bridge generated mac
- Returns:
java.lang.Boolean
intBridgeGenMac, ornull
if it is not present.
-
isIntBridgeGenMac
@Deprecated(forRemoval=true) default java.lang.Boolean isIntBridgeGenMac()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getControllerMaxBackoff
org.opendaylight.yangtools.yang.common.Uint32 getControllerMaxBackoff()
Return controllerMaxBackoff, ornull
if it is not present.max_backoff in milliseconds for controller configured on OVS Bridge. A null value means use switch default
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
controllerMaxBackoff, ornull
if it is not present.
-
getControllerInactivityProbe
org.opendaylight.yangtools.yang.common.Uint32 getControllerInactivityProbe()
Return controllerInactivityProbe, ornull
if it is not present.inactivity_probe timeout in milliseconds for controller configured on OVS Bridge. null - Use switch default 0 - Disable inactivity probes
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
controllerInactivityProbe, ornull
if it is not present.
-
getTempSmacLearnTimeout
org.opendaylight.yangtools.yang.common.Uint16 getTempSmacLearnTimeout()
Return tempSmacLearnTimeout, ornull
if it is not present.Temporary source MAC learning timeout
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
tempSmacLearnTimeout, ornull
if it is not present.
-
getArpPuntTimeout
org.opendaylight.yangtools.yang.common.Uint32 getArpPuntTimeout()
Return arpPuntTimeout, ornull
if it is not present.hard timeout value for learnt flows for arp punts (unit - seconds). To turn off the rate limiting and installation of learnt flows, it should be set to 0
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
arpPuntTimeout, ornull
if it is not present.
-
getPuntLldpToController
java.lang.Boolean getPuntLldpToController()
Return puntLldpToController, ornull
if it is not present.Determines whether LLDP are punt to controller or dropped
- Returns:
java.lang.Boolean
puntLldpToController, ornull
if it is not present.
-
isPuntLldpToController
@Deprecated(forRemoval=true) default java.lang.Boolean isPuntLldpToController()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getAutoConfigTransportZones
java.lang.Boolean getAutoConfigTransportZones()
Return autoConfigTransportZones, ornull
if it is not present.Determines whether transport zones should be automatically created/updated
- Returns:
java.lang.Boolean
autoConfigTransportZones, ornull
if it is not present.
-
isAutoConfigTransportZones
@Deprecated(forRemoval=true) default java.lang.Boolean isAutoConfigTransportZones()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getUseOfTunnels
java.lang.Boolean getUseOfTunnels()
Return useOfTunnels, ornull
if it is not present.- Returns:
java.lang.Boolean
useOfTunnels, ornull
if it is not present.
-
isUseOfTunnels
@Deprecated(forRemoval=true) default java.lang.Boolean isUseOfTunnels()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getOpenstackVniSemanticsEnforced
java.lang.Boolean getOpenstackVniSemanticsEnforced()
Return openstackVniSemanticsEnforced, ornull
if it is not present.- Returns:
java.lang.Boolean
openstackVniSemanticsEnforced, ornull
if it is not present.
-
isOpenstackVniSemanticsEnforced
@Deprecated(forRemoval=true) default java.lang.Boolean isOpenstackVniSemanticsEnforced()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getL2gwStaleVlanCleanupDelaySecs
org.opendaylight.yangtools.yang.common.Uint16 getL2gwStaleVlanCleanupDelaySecs()
Return l2gwStaleVlanCleanupDelaySecs, ornull
if it is not present.Stale vlan bindings cleanup delay after the southbound node is disconnected
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
l2gwStaleVlanCleanupDelaySecs, ornull
if it is not present.
-
getL2gwLogicalSwitchDelaySecs
org.opendaylight.yangtools.yang.common.Uint16 getL2gwLogicalSwitchDelaySecs()
Return l2gwLogicalSwitchDelaySecs, ornull
if it is not present.The delay after which logical switch is deleted after the l2gw connection is deleted
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
l2gwLogicalSwitchDelaySecs, ornull
if it is not present.
-
getL2gwStaleLocalucastmacsCleanupDelaySecs
org.opendaylight.yangtools.yang.common.Uint16 getL2gwStaleLocalucastmacsCleanupDelaySecs()
Return l2gwStaleLocalucastmacsCleanupDelaySecs, ornull
if it is not present.The delay after which Stale Local Ucast MAcs is deleted after hwvteps are connected
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
l2gwStaleLocalucastmacsCleanupDelaySecs, ornull
if it is not present.
-
-