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
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 Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint16
getBatchInterval()
@Nullable org.opendaylight.yangtools.yang.common.Uint16
getBatchSize()
@Nullable java.lang.String
getDefaultTunnelTos()
Default value of ToS bits to be set on the encapsulating packet.@Nullable java.lang.String
getDefTzTunnelType()
@Nullable java.lang.String
getPortname()
@Nullable java.util.List<TunnelAggregation>
getTunnelAggregation()
@Nullable org.opendaylight.yangtools.yang.common.Uint16
getVlanId()
default java.lang.Class<ItmConfig>
implementedInterface()
@Nullable java.lang.Boolean
isDefTzEnabled()
@Nullable java.lang.Boolean
isGpeExtensionEnabled()
Enable the GPE extension for VXLAN tunnel interfaces configured through ITM.@Nullable java.lang.Boolean
isUseOfTunnels()
Enable OF tunnels on ITM Direct Tunnel.default @NonNull java.util.List<TunnelAggregation>
nonnullTunnelAggregation()
-
-
-
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
-
isDefTzEnabled
@Nullable java.lang.Boolean isDefTzEnabled()
- Returns:
java.lang.Boolean
defTzEnabled
, ornull
if not present
-
getDefTzTunnelType
@Nullable java.lang.String getDefTzTunnelType()
- Returns:
java.lang.String
defTzTunnelType
, ornull
if not present
-
getTunnelAggregation
@Nullable java.util.List<TunnelAggregation> getTunnelAggregation()
- Returns:
java.util.List
tunnelAggregation
, ornull
if not present
-
nonnullTunnelAggregation
default @NonNull java.util.List<TunnelAggregation> nonnullTunnelAggregation()
- Returns:
java.util.List
tunnelAggregation
, or an empty list if it is not present
-
getDefaultTunnelTos
@Nullable java.lang.String getDefaultTunnelTos()
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 not present
-
isGpeExtensionEnabled
@Nullable java.lang.Boolean isGpeExtensionEnabled()
Enable the GPE extension for VXLAN tunnel interfaces configured through ITM.- Returns:
java.lang.Boolean
gpeExtensionEnabled
, ornull
if not present
-
isUseOfTunnels
@Nullable java.lang.Boolean isUseOfTunnels()
Enable OF tunnels on ITM Direct Tunnel.- Returns:
java.lang.Boolean
useOfTunnels
, ornull
if not present
-
getVlanId
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getVlanId()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
vlanId
, ornull
if not present
-
getPortname
@Nullable java.lang.String getPortname()
- Returns:
java.lang.String
portname
, ornull
if not present
-
getBatchInterval
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getBatchInterval()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
batchInterval
, ornull
if not present
-
getBatchSize
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getBatchSize()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
batchSize
, ornull
if not present
-
-