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
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 Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint16
getDelegatedLspsCount()
The number of delegated LSPs (tunnels) from PCC.LocalPref
getLocalPref()
The local (PCE) preferences.Messages
getMessages()
The statistics of PCEP received/sent messages from the PCE point of view.PeerCapabilities
getPeerCapabilities()
Remote peer's (PCC) advertised capabilities.PeerPref
getPeerPref()
The remote peer (PCC) preferences.String
getSessionDuration()
Elapsed time (in d:H:m:s) from session-up until now.Class<? extends PcepSessionState>
implementedInterface()
Boolean
isSynchronized()
Represents synchronization status.
-
-
-
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()
Elapsed time (in d:H:m:s) from session-up until now.- Returns:
java.lang.String
sessionDuration
, ornull
if not present
-
isSynchronized
Boolean isSynchronized()
Represents synchronization status.- Returns:
java.lang.Boolean
synchronized
, ornull
if not present
-
getPeerCapabilities
PeerCapabilities getPeerCapabilities()
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 not present
-
getMessages
Messages getMessages()
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 not present
-
getLocalPref
LocalPref getLocalPref()
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 not present
-
getPeerPref
PeerPref getPeerPref()
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 not present
-
getDelegatedLspsCount
org.opendaylight.yangtools.yang.common.Uint16 getDelegatedLspsCount()
The number of delegated LSPs (tunnels) from PCC.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
delegatedLspsCount
, ornull
if not present
-
-