Interface SubinterfacesConfig
- 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
,InterfaceCommonConfig
@Generated("mdsal-binding-generator")
public interface SubinterfacesConfig
extends org.opendaylight.yangtools.binding.Grouping, InterfaceCommonConfig
Configuration data for subinterfaces
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping subinterfaces-config { leaf index { type uint32; default 0; } uses interface-common-config; }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
getIndex()
Return index, ornull
if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return index, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412.InterfaceCommonConfig
getDescription, getEnabled, getName, requireDescription, requireEnabled, requireName
-
Method Details
-
getIndex
org.opendaylight.yangtools.yang.common.Uint32 getIndex()Return index, ornull
if it is not present.The index of the subinterface, or logical interface number. On systems with no support for subinterfaces, or not using subinterfaces, this value should default to 0, i.e., the default subinterface.
- Returns:
Uint32
index, ornull
if it is not present.
-
requireIndex
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireIndex()Return index, guaranteed to be non-null.The index of the subinterface, or logical interface number. On systems with no support for subinterfaces, or not using subinterfaces, this value should default to 0, i.e., the default subinterface.
- Returns:
Uint32
index, guaranteed to be non-null.- Throws:
NoSuchElementException
- if index is not present
-