Interface PcepSessionState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PcepSessionState
- All Known Implementing Classes:
SessionStateImpl
@Generated("mdsal-binding-generator") public interface PcepSessionState extends org.opendaylight.yangtools.yang.binding.DataObject
PCEP session statistics.This class represents the following YANG schema fragment defined in module pcep-session-stats
grouping pcep-session-state { leaf session-duration { type string; } leaf synchronized { type boolean; default false; } container peer-capabilities { } container messages { uses reply-time-grouping; leaf received-msg-count { type uint32; default 0; } leaf sent-msg-count { type uint32; default 0; } leaf last-sent-msg-timestamp { type uint32; default 0; } leaf unknown-msg-received { type uint16; default 0; } uses error-messages-grouping; } container local-pref { uses preferences; } container peer-pref { uses preferences; } leaf delegated-lsps-count { type uint16; default 0; } }
The schema path to identify an instance is pcep-session-stats/pcep-session-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 Default Methods Deprecated Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint16
getDelegatedLspsCount()
Return delegatedLspsCount, ornull
if it is not present.LocalPref
getLocalPref()
Return localPref, ornull
if it is not present.Messages
getMessages()
Return messages, ornull
if it is not present.PeerCapabilities
getPeerCapabilities()
Return peerCapabilities, ornull
if it is not present.PeerPref
getPeerPref()
Return peerPref, ornull
if it is not present.String
getSessionDuration()
Return sessionDuration, ornull
if it is not present.Boolean
getSynchronized()
Return synchronized, ornull
if it is not present.Class<? extends PcepSessionState>
implementedInterface()
default Boolean
isSynchronized()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PcepSessionState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSessionDuration
String getSessionDuration()
Return sessionDuration, ornull
if it is not present.Elapsed time (in d:H:m:s) from session-up until now.
- Returns:
java.lang.String
sessionDuration, ornull
if it is not present.
-
getSynchronized
Boolean getSynchronized()
Return synchronized, ornull
if it is not present.Represents synchronization status.
- Returns:
java.lang.Boolean
synchronized, ornull
if it is not present.
-
isSynchronized
@Deprecated(forRemoval=true) default Boolean isSynchronized()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getPeerCapabilities
PeerCapabilities getPeerCapabilities()
Return peerCapabilities, ornull
if it is not present.Remote peer's (PCC) advertised capabilities.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerCapabilities
peerCapabilities, ornull
if it is not present.
-
getMessages
Messages getMessages()
Return messages, ornull
if it is not present.The statistics of PCEP received/sent messages from the PCE point of view.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages
messages, ornull
if it is not present.
-
getLocalPref
LocalPref getLocalPref()
Return localPref, ornull
if it is not present.The local (PCE) preferences.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref
localPref, ornull
if it is not present.
-
getPeerPref
PeerPref getPeerPref()
Return peerPref, ornull
if it is not present.The remote peer (PCC) preferences.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref
peerPref, ornull
if it is not present.
-
getDelegatedLspsCount
org.opendaylight.yangtools.yang.common.Uint16 getDelegatedLspsCount()
Return delegatedLspsCount, ornull
if it is not present.The number of delegated LSPs (tunnels) from PCC.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
delegatedLspsCount, ornull
if it is not present.
-
-