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