Interface SubinterfacesState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,InterfaceCommonState,InterfaceCountersState
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator") public interface SubinterfacesState extends org.opendaylight.yangtools.yang.binding.DataObject, InterfaceCommonState, InterfaceCountersState
Operational state data for subinterfacesThis class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping subinterfaces-state { oc-ext:operational; leaf name { type string; oc-ext:telemetry-on-change; } uses interface-common-state; uses interface-counters-state; }The schema path to identify an instance is openconfig-interfacessubinterfaces-state
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev210406.InterfaceCommonState
InterfaceCommonState.AdminStatus, InterfaceCommonState.OperStatus
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()Return name, ornullif it is not present.Class<? extends SubinterfacesState>implementedInterface()default @NonNull StringrequireName()Return name, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev210406.InterfaceCommonState
getAdminStatus, getCpu, getIfindex, getLastChange, getLogical, getManagement, getOperStatus, requireAdminStatus, requireCpu, requireIfindex, requireLastChange, requireLogical, requireManagement, requireOperStatus
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev210406.InterfaceCountersState
getCounters
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends SubinterfacesState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceInterfaceCommonState- Specified by:
implementedInterfacein interfaceInterfaceCountersState
-
getName
String getName()
Return name, ornullif it is not present.The system-assigned name for the sub-interface. This MAY be a combination of the base interface name and the subinterface index, or some other convention used by the system.- Returns:
Stringname, ornullif it is not present.
-
requireName
default @NonNull String requireName()
Return name, guaranteed to be non-null.The system-assigned name for the sub-interface. This MAY be a combination of the base interface name and the subinterface index, or some other convention used by the system.- Returns:
Stringname, guaranteed to be non-null.- Throws:
NoSuchElementException- if name is not present
-
-