Interface PeerHeader
- 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
- All Known Subinterfaces:
PeerDownNotification
,PeerUpNotification
,RouteMirroringMessage
,RouteMonitoringMessage
,StatsReportsMessage
@Generated("mdsal-binding-generator")
public interface PeerHeader
extends org.opendaylight.yangtools.yang.binding.DataObject
The per-peer header follows the common header for most BMP messages. The rest
the data in a BMP message is dependent on the Message Type field in the common
header.
This class represents the following YANG schema fragment defined in module bmp-message
grouping peer-header { container peer-header { uses peer; uses timestamp; leaf adj-rib-in-type { type adj-rib-in-type; } leaf ipv4 { type boolean; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn peerHeader, ornull
if it is not present.Class<? extends PeerHeader>
@NonNull PeerHeader
Return peerHeader, or an empty instance if it is not present.
-
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 PeerHeader> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPeerHeader
PeerHeader getPeerHeader()Return peerHeader, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.peer.header.PeerHeader
peerHeader, ornull
if it is not present.
-
nonnullPeerHeader
@NonNull PeerHeader nonnullPeerHeader()Return peerHeader, or an empty instance if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.peer.header.PeerHeader
peerHeader, or an empty instance if it is not present.
-