Interface SubUnnumberedConfig
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface SubUnnumberedConfig
extends org.opendaylight.yangtools.binding.Grouping
Configuration data for unnumbered subinterfaces
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping sub-unnumbered-config {
leaf enabled {
type boolean;
default false;
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn enabled, ornullif it is not present.default @NonNull BooleanReturn enabled, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getEnabled
Boolean getEnabled()Return enabled, ornullif 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:
Booleanenabled, ornullif it is not present.
-
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:
Booleanenabled, guaranteed to be non-null.- Throws:
NoSuchElementException- if enabled is not present
-