Interface SubinterfacesConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,InterfaceCommonConfig
@Generated("mdsal-binding-generator") public interface SubinterfacesConfig extends org.opendaylight.yangtools.yang.binding.DataObject, InterfaceCommonConfig
Configuration data for subinterfacesThis 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; }
The schema path to identify an instance is openconfig-interfacessubinterfaces-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 org.opendaylight.yangtools.yang.common.Uint32
getIndex()
Return index, ornull
if it is not present.Class<? extends SubinterfacesConfig>
implementedInterface()
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireIndex()
Return index, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412.InterfaceCommonConfig
getDescription, getEnabled, getName, requireDescription, requireEnabled, requireName
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends SubinterfacesConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceInterfaceCommonConfig
-
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
-
-