Interface SubUnnumberedConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface SubUnnumberedConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for unnumbered subinterfacesThis class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping sub-unnumbered-config { leaf enabled { type boolean; default false; } }
The schema path to identify an instance is openconfig-interfacessub-unnumbered-config
-
-
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 Boolean
getEnabled()
Return enabled, ornull
if it is not present.Class<? extends SubUnnumberedConfig>
implementedInterface()
default @NonNull Boolean
requireEnabled()
Return enabled, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SubUnnumberedConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEnabled
Boolean getEnabled()
Return enabled, ornull
if it is not present.Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.
- Returns:
Boolean
enabled, ornull
if it is not present.
-
requireEnabled
default @NonNull Boolean requireEnabled()
Return enabled, guaranteed to be non-null.Indicates that the subinterface is unnumbered. By default the subinterface is numbered, i.e., expected to have an IP address configuration.
- Returns:
Boolean
enabled, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enabled is not present
-
-