Interface PortState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
State
public interface PortState extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-port-types
grouping port-state { leaf link-down { type boolean; } leaf blocked { type boolean; } leaf live { type boolean; } }
The schema path to identify an instance is opendaylight-port-types/port-state
-
-
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 Modifier and Type Method Description Class<? extends PortState>
implementedInterface()
@Nullable Boolean
isBlocked()
@Nullable Boolean
isLinkDown()
@Nullable Boolean
isLive()
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isLinkDown
@Nullable Boolean isLinkDown()
- Returns:
java.lang.Boolean
linkDown
, ornull
if not present
-
isBlocked
@Nullable Boolean isBlocked()
- Returns:
java.lang.Boolean
blocked
, ornull
if not present
-
isLive
@Nullable Boolean isLive()
- Returns:
java.lang.Boolean
live
, ornull
if not present
-
-