Interface BgpNeighborTimersState

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    NeighborTimersStateAugmentation, State10

    @Generated("mdsal-binding-generator")
    public interface BgpNeighborTimersState
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Operational state parameters relating to BGP timers associated with the BGP session

    This class represents the following YANG schema fragment defined in module openconfig-bgp-operational

     grouping bgp-neighbor-timers_state {
       leaf uptime {
         type yang:timeticks;
       }
       leaf negotiated-hold-time {
         type decimal64 {
           fraction-digits 2;
         }
       }
     }
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timeticks getUptime()
        Return uptime, or null if it is not present.
             
                 This timer determines the amount of time since the BGP last transitioned in or
                 out of the Established state
             
         
        Returns:
        Timeticks uptime, or null if it is not present.
      • requireUptime

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timeticks requireUptime()
        Return uptime, guaranteed to be non-null.
             
                 This timer determines the amount of time since the BGP last transitioned in or
                 out of the Established state
             
         
        Returns:
        Timeticks uptime, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if uptime is not present
      • getNegotiatedHoldTime

        org.opendaylight.yangtools.yang.common.Decimal64 getNegotiatedHoldTime()
        Return negotiatedHoldTime, or null if it is not present.
             
                 The negotiated hold-time for the BGP session
             
         
        Returns:
        Decimal64 negotiatedHoldTime, or null if it is not present.
      • requireNegotiatedHoldTime

        default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireNegotiatedHoldTime()
        Return negotiatedHoldTime, guaranteed to be non-null.
             
                 The negotiated hold-time for the BGP session
             
         
        Returns:
        Decimal64 negotiatedHoldTime, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if negotiatedHoldTime is not present