Interface ReasonTlv
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
TerminationTlvs
,Tlvs
public interface ReasonTlv extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bmp-message
grouping reason-tlv { container reason-tlv { uses tlv; leaf reason { type reason; } } }
The schema path to identify an instance is bmp-message/reason-tlv
-
-
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 ReasonTlv
getReasonTlv()
Type = 1: Reason.Class<? extends ReasonTlv>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends ReasonTlv> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getReasonTlv
ReasonTlv getReasonTlv()
Type = 1: Reason. The Information field contains a two-byte code indicating the reason the connection was terminated. Some reasons may have further TLVs associated with them. Inclusion of this TLV is not optional.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.reason.tlv.ReasonTlv
reasonTlv
, ornull
if not present
-
-