Interface TunnelOptionalParams
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
IfTunnel
@Generated("mdsal-binding-generator") public interface TunnelOptionalParams extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-interface
grouping tunnel-optional-params { leaf tunnel-source-ip-flow { type boolean; default false; } leaf tunnel-remote-ip-flow { type boolean; default false; } leaf weight { type uint16; default 1; } list tunnel-options { key tunnel-option; leaf tunnel-option { type string; } leaf value { type string; } } }
The schema path to identify an instance is odl-interface/tunnel-optional-params
-
-
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 Deprecated Methods Modifier and Type Method Description @Nullable java.util.Map<TunnelOptionsKey,TunnelOptions>
getTunnelOptions()
Return tunnelOptions, ornull
if it is not present.java.lang.Boolean
getTunnelRemoteIpFlow()
Return tunnelRemoteIpFlow, ornull
if it is not present.java.lang.Boolean
getTunnelSourceIpFlow()
Return tunnelSourceIpFlow, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getWeight()
Return weight, ornull
if it is not present.java.lang.Class<? extends TunnelOptionalParams>
implementedInterface()
default java.lang.Boolean
isTunnelRemoteIpFlow()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isTunnelSourceIpFlow()
Deprecated, for removal: This API element is subject to removal in a future version.default @NonNull java.util.Map<TunnelOptionsKey,TunnelOptions>
nonnullTunnelOptions()
Return tunnelOptions, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends TunnelOptionalParams> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTunnelSourceIpFlow
java.lang.Boolean getTunnelSourceIpFlow()
Return tunnelSourceIpFlow, ornull
if it is not present.Use local_ip=flow for this tunnel
- Returns:
java.lang.Boolean
tunnelSourceIpFlow, ornull
if it is not present.
-
isTunnelSourceIpFlow
@Deprecated(forRemoval=true) default java.lang.Boolean isTunnelSourceIpFlow()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getTunnelRemoteIpFlow
java.lang.Boolean getTunnelRemoteIpFlow()
Return tunnelRemoteIpFlow, ornull
if it is not present.Use remote_ip=flow for this tunnel
- Returns:
java.lang.Boolean
tunnelRemoteIpFlow, ornull
if it is not present.
-
isTunnelRemoteIpFlow
@Deprecated(forRemoval=true) default java.lang.Boolean isTunnelRemoteIpFlow()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getWeight
org.opendaylight.yangtools.yang.common.Uint16 getWeight()
Return weight, ornull
if it is not present.Bucket weight if tunnel belongs to OF select group
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
weight, ornull
if it is not present.
-
getTunnelOptions
@Nullable java.util.Map<TunnelOptionsKey,TunnelOptions> getTunnelOptions()
Return tunnelOptions, ornull
if it is not present.- Returns:
java.util.Map
tunnelOptions, ornull
if it is not present.
-
nonnullTunnelOptions
default @NonNull java.util.Map<TunnelOptionsKey,TunnelOptions> nonnullTunnelOptions()
Return tunnelOptions, or an empty list if it is not present.- Returns:
java.util.Map
tunnelOptions, or an empty list if it is not present.
-
-