public interface PcepSessionState
extends org.opendaylight.yangtools.yang.binding.DataObject
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| Modifier and Type | Field and Description |
|---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Integer |
getDelegatedLspsCount()
The number of delegated LSPs (tunnels) from PCC.
|
@Nullable LocalPref |
getLocalPref()
The local (PCE) preferences.
|
@Nullable Messages |
getMessages()
The statistics of PCEP received/sent messages from the PCE point of view.
|
@Nullable PeerCapabilities |
getPeerCapabilities()
Remote peer's (PCC) advertised capabilities.
|
@Nullable PeerPref |
getPeerPref()
The remote peer (PCC) preferences.
|
@Nullable String |
getSessionDuration()
Elapsed time (in d:H:m:s) from session-up until now.
|
Class<? extends PcepSessionState> |
implementedInterface() |
@Nullable Boolean |
isSynchronized()
Represents synchronization status.
|
Class<? extends PcepSessionState> implementedInterface()
implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerimplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject@Nullable String getSessionDuration()
java.lang.String sessionDuration, or null if not present@Nullable Boolean isSynchronized()
java.lang.Boolean synchronized, or null if not present@Nullable PeerCapabilities getPeerCapabilities()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerCapabilities peerCapabilities, or null if not present@Nullable Messages getMessages()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages messages, or null if not present@Nullable LocalPref getLocalPref()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref localPref, or null if not present@Nullable PeerPref getPeerPref()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref peerPref, or null if not present@Nullable Integer getDelegatedLspsCount()
java.lang.Integer delegatedLspsCount, or null if not presentCopyright © 2020 OpenDaylight. All rights reserved.