Interface ItmConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ItmConfig>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ItmConfigData>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface ItmConfig extends org.opendaylight.yangtools.yang.binding.ChildOf<ItmConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<ItmConfig>
This class represents the following YANG schema fragment defined in module itm-config
container itm-config { leaf def-tz-enabled { type boolean; default false; } leaf def-tz-tunnel-type { type string; default vxlan; } list tunnel-aggregation { key tunnel-type; leaf tunnel-type { type string; } leaf enabled { type boolean; default false; } } leaf default-tunnel-tos { type string { length 1..8; } default 0; } leaf gpe-extension-enabled { type boolean; default false; } leaf use-of-tunnels { type boolean; default false; } leaf vlan-id { type uint16 { range 0..4094; } } leaf portname { type string; } leaf batch-interval { type uint16; } leaf batch-size { type uint16; } }
The schema path to identify an instance is itm-config/itm-configTo create instances of this class use
ItmConfigBuilder
.- See Also:
ItmConfigBuilder
-
-
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 ItmConfig thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull ItmConfig obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull ItmConfig obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yangtools.yang.common.Uint16
getBatchInterval()
Return batchInterval, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getBatchSize()
Return batchSize, ornull
if it is not present.java.lang.String
getDefaultTunnelTos()
Return defaultTunnelTos, ornull
if it is not present.java.lang.Boolean
getDefTzEnabled()
Return defTzEnabled, ornull
if it is not present.java.lang.String
getDefTzTunnelType()
Return defTzTunnelType, ornull
if it is not present.java.lang.Boolean
getGpeExtensionEnabled()
Return gpeExtensionEnabled, ornull
if it is not present.java.lang.String
getPortname()
Return portname, ornull
if it is not present.@Nullable java.util.Map<TunnelAggregationKey,TunnelAggregation>
getTunnelAggregation()
Return tunnelAggregation, ornull
if it is not present.java.lang.Boolean
getUseOfTunnels()
Return useOfTunnels, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getVlanId()
Return vlanId, ornull
if it is not present.default java.lang.Class<ItmConfig>
implementedInterface()
default java.lang.Boolean
isDefTzEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isGpeExtensionEnabled()
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.default @NonNull java.util.Map<TunnelAggregationKey,TunnelAggregation>
nonnullTunnelAggregation()
Return tunnelAggregation, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ItmConfig> 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 ItmConfig 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 ItmConfig 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 ItmConfig 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
-
getDefTzEnabled
java.lang.Boolean getDefTzEnabled()
Return defTzEnabled, ornull
if it is not present.- Returns:
java.lang.Boolean
defTzEnabled, ornull
if it is not present.
-
isDefTzEnabled
@Deprecated(forRemoval=true) default java.lang.Boolean isDefTzEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getDefTzTunnelType
java.lang.String getDefTzTunnelType()
Return defTzTunnelType, ornull
if it is not present.- Returns:
java.lang.String
defTzTunnelType, ornull
if it is not present.
-
getTunnelAggregation
@Nullable java.util.Map<TunnelAggregationKey,TunnelAggregation> getTunnelAggregation()
Return tunnelAggregation, ornull
if it is not present.- Returns:
java.util.Map
tunnelAggregation, ornull
if it is not present.
-
nonnullTunnelAggregation
default @NonNull java.util.Map<TunnelAggregationKey,TunnelAggregation> nonnullTunnelAggregation()
Return tunnelAggregation, or an empty list if it is not present.- Returns:
java.util.Map
tunnelAggregation, or an empty list if it is not present.
-
getDefaultTunnelTos
java.lang.String getDefaultTunnelTos()
Return defaultTunnelTos, ornull
if it is not present.Default value of ToS bits to be set on the encapsulating packet. The value of 'inherit' will copy the DSCP value from inner IPv4 or IPv6 packets. When ToS is given as a numberic value, the least significant two bits will be ignored.
- Returns:
java.lang.String
defaultTunnelTos, ornull
if it is not present.
-
getGpeExtensionEnabled
java.lang.Boolean getGpeExtensionEnabled()
Return gpeExtensionEnabled, ornull
if it is not present.Enable the GPE extension for VXLAN tunnel interfaces configured through ITM.
- Returns:
java.lang.Boolean
gpeExtensionEnabled, ornull
if it is not present.
-
isGpeExtensionEnabled
@Deprecated(forRemoval=true) default java.lang.Boolean isGpeExtensionEnabled()
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.Enable OF tunnels on ITM Direct Tunnel.
- 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.
-
getVlanId
org.opendaylight.yangtools.yang.common.Uint16 getVlanId()
Return vlanId, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
vlanId, ornull
if it is not present.
-
getPortname
java.lang.String getPortname()
Return portname, ornull
if it is not present.- Returns:
java.lang.String
portname, ornull
if it is not present.
-
getBatchInterval
org.opendaylight.yangtools.yang.common.Uint16 getBatchInterval()
Return batchInterval, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
batchInterval, ornull
if it is not present.
-
getBatchSize
org.opendaylight.yangtools.yang.common.Uint16 getBatchSize()
Return batchSize, ornull
if it is not present.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
batchSize, ornull
if it is not present.
-
-