Interface BgpNeighborTimersState
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
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.Class<? extends BgpNeighborTimersState>
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.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends BgpNeighborTimersState> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.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, 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
-