Interface ReasonTlv
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
TerminationTlvs
,Tlvs
@Generated("mdsal-binding-generator")
public interface ReasonTlv
extends org.opendaylight.yangtools.binding.Grouping
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; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn reasonTlv, ornull
if it is not present.@NonNull ReasonTlv
Return reasonTlv, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getReasonTlv
ReasonTlv getReasonTlv()Return reasonTlv, ornull
if it is not present.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 it is not present.
-
nonnullReasonTlv
@NonNull ReasonTlv nonnullReasonTlv()Return reasonTlv, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.reason.tlv.ReasonTlv
reasonTlv, or an empty instance if it is not present.
-