Interface SubinterfacesState
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,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 subinterfaces
This 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;
}
-
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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return name, ornullif it is not present.Class<? extends SubinterfacesState>default @NonNull StringReturn 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, requireOperStatusMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev210406.InterfaceCountersState
getCounters, nonnullCounters
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends SubinterfacesState> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
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
-