Interface PeerUp
- 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:
PeerSession
,PeerUpNotification
@Generated("mdsal-binding-generator")
public interface PeerUp
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bmp-message
grouping peer-up { leaf local-address { type inet:ip-address-no-zone; } leaf local-port { type inet:port-number; } leaf remote-port { type inet:port-number; } container sent-open { uses open-msg; } container received-open { uses open-msg; } container information { uses string-informations; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn information, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
Return localAddress, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return localPort, ornull
if it is not present.Return receivedOpen, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return remotePort, ornull
if it is not present.Return sentOpen, ornull
if it is not present.@NonNull Information
Return information, or an empty instance if it is not present.@NonNull ReceivedOpen
Return receivedOpen, or an empty instance if it is not present.@NonNull SentOpen
Return sentOpen, or an empty instance if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
Return localAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return localPort, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return remotePort, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getLocalAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone getLocalAddress()Return localAddress, ornull
if it is not present.The local IP address associated with the peering TCP session.
- Returns:
IpAddressNoZone
localAddress, ornull
if it is not present.
-
requireLocalAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone requireLocalAddress()Return localAddress, guaranteed to be non-null.The local IP address associated with the peering TCP session.
- Returns:
IpAddressNoZone
localAddress, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localAddress is not present
-
getLocalPort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getLocalPort()Return localPort, ornull
if it is not present.The local port number associated with the peering TCP session.
- Returns:
PortNumber
localPort, ornull
if it is not present.
-
requireLocalPort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireLocalPort()Return localPort, guaranteed to be non-null.The local port number associated with the peering TCP session.
- Returns:
PortNumber
localPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localPort is not present
-
getRemotePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getRemotePort()Return remotePort, ornull
if it is not present.The remote port number associated with the peering TCP session.
- Returns:
PortNumber
remotePort, ornull
if it is not present.
-
requireRemotePort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireRemotePort()Return remotePort, guaranteed to be non-null.The remote port number associated with the peering TCP session.
- Returns:
PortNumber
remotePort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remotePort is not present
-
getSentOpen
SentOpen getSentOpen()Return sentOpen, ornull
if it is not present.The full OPEN message transmitted by the monitored router to its peer.
- Returns:
SentOpen
sentOpen, ornull
if it is not present.
-
nonnullSentOpen
@NonNull SentOpen nonnullSentOpen()Return sentOpen, or an empty instance if it is not present.- Returns:
SentOpen
sentOpen, or an empty instance if it is not present.
-
getReceivedOpen
ReceivedOpen getReceivedOpen()Return receivedOpen, ornull
if it is not present.The full OPEN message received by the monitored router from its peer.
- Returns:
ReceivedOpen
receivedOpen, ornull
if it is not present.
-
nonnullReceivedOpen
@NonNull ReceivedOpen nonnullReceivedOpen()Return receivedOpen, or an empty instance if it is not present.- Returns:
ReceivedOpen
receivedOpen, or an empty instance if it is not present.
-
getInformation
Information getInformation()Return information, ornull
if it is not present.- Returns:
Information
information, ornull
if it is not present.
-
nonnullInformation
@NonNull Information nonnullInformation()Return information, or an empty instance if it is not present.- Returns:
Information
information, or an empty instance if it is not present.
-