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 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

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

        Boolean getSynchronized()
        Return synchronized, or null if it is not present.
             
                 Represents synchronization status.
             
         
        Returns:
        java.lang.Boolean synchronized, or null 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, or null 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, or null if it is not present.
      • getMessages

        Messages getMessages()
        Return messages, or null 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, or null if it is not present.
      • getLocalPref

        LocalPref getLocalPref()
        Return localPref, or null 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, or null if it is not present.
      • getPeerPref

        PeerPref getPeerPref()
        Return peerPref, or null 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, or null if it is not present.
      • getDelegatedLspsCount

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