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.Decimal64Return negotiatedHoldTime, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.TimeticksReturn uptime, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return negotiatedHoldTime, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.TimeticksReturn 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, ornullif it is not present.This timer determines the amount of time since the BGP last transitioned in or out of the Established state- Returns:
Timeticksuptime, ornullif 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:
Timeticksuptime, guaranteed to be non-null.- Throws:
NoSuchElementException- if uptime is not present
-
getNegotiatedHoldTime
org.opendaylight.yangtools.yang.common.Decimal64 getNegotiatedHoldTime()Return negotiatedHoldTime, ornullif it is not present.The negotiated hold-time for the BGP session- Returns:
Decimal64negotiatedHoldTime, ornullif 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:
Decimal64negotiatedHoldTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if negotiatedHoldTime is not present
-