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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends PcepSessionState> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSessionDuration

        @Nullable String getSessionDuration()
        Elapsed time (in d:H:m:s) from session-up until now.
        Returns:
        java.lang.String sessionDuration, or null if not present
      • isSynchronized

        @Nullable Boolean isSynchronized()
        Represents synchronization status.
        Returns:
        java.lang.Boolean synchronized, or null if not present
      • getPeerCapabilities

        @Nullable 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, or null if not present
      • getMessages

        @Nullable 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, or null if not present
      • getLocalPref

        @Nullable 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, or null if not present
      • getPeerPref

        @Nullable 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, or null if not present
      • getDelegatedLspsCount

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getDelegatedLspsCount()
        The number of delegated LSPs (tunnels) from PCC.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 delegatedLspsCount, or null if not present