Interface BgpNeighborTimersState
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
NeighborTimersStateAugmentation
,State10
@Generated("mdsal-binding-generator")
public interface BgpNeighborTimersState
extends org.opendaylight.yangtools.binding.Grouping
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; } } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Decimal64
Return negotiatedHoldTime, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timeticks
Return uptime, ornull
if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64
Return negotiatedHoldTime, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timeticks
Return uptime, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getUptime
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timeticks getUptime()Return uptime, ornull
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, ornull
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, ornull
if it is not present.The negotiated hold-time for the BGP session
- Returns:
Decimal64
negotiatedHoldTime, ornull
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
-