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;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-operationalbgp-neighbor-timers_state
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • 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

        BigDecimal getNegotiatedHoldTime()
        Return negotiatedHoldTime, or null if it is not present.
             
                 The negotiated hold-time for the BGP session
             
         
        Returns:
        BigDecimal negotiatedHoldTime, or null if it is not present.
      • requireNegotiatedHoldTime

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