public interface Messages extends org.opendaylight.yangtools.yang.binding.ChildOf<PcepSessionState>, org.opendaylight.yangtools.yang.binding.Augmentable<Messages>
This class represents the following YANG schema fragment defined in module pcep-session-stats
container messages {
leaf received-msg-count {
type uint32;
}
leaf sent-msg-count {
type uint32;
}
leaf last-sent-msg-timestamp {
type uint32;
}
leaf unknown-msg-received {
type uint16;
}
container error-messages {
leaf received-error-msg-count {
type uint32;
}
leaf sent-error-msg-count {
type uint32;
}
container last-received-error {
leaf error-type {
type error-type;
}
leaf error-value {
type error-value;
}
uses error;
}
container last-sent-error {
leaf error-type {
type error-type;
}
leaf error-value {
type error-value;
}
uses error;
}
}
}
The schema path to identify an instance is
pcep-session-stats/pcep-session-state/messages
To create instances of this class use MessagesBuilder.
MessagesBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
ErrorMessages |
getErrorMessages()
The message statistics of received/sent PCErr messages.
|
Long |
getLastSentMsgTimestamp()
The timestamp of last sent message.
|
Long |
getReceivedMsgCount()
Total number of received PCEP messages.
|
Long |
getSentMsgCount()
Total number of sent PCEP messages.
|
Integer |
getUnknownMsgReceived()
The number of received unknown messages.
|
Long getReceivedMsgCount()
java.lang.Long receivedMsgCount, or null if not presentLong getSentMsgCount()
java.lang.Long sentMsgCount, or null if not presentLong getLastSentMsgTimestamp()
java.lang.Long lastSentMsgTimestamp, or null if not presentInteger getUnknownMsgReceived()
java.lang.Integer unknownMsgReceived, or null if not presentErrorMessages getErrorMessages()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.pcep.stats.rev141006.pcep.session.state.messages.ErrorMessages errorMessages, or null if not presentCopyright © 2018 OpenDaylight. All rights reserved.