Interface BgpNeighborTimersConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface BgpNeighborTimersConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Config parameters related to timers associated with the BGP peerThis class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-timers_config { leaf connect-retry { type decimal64 { fraction-digits 2; } default 30; } leaf hold-time { type decimal64 { fraction-digits 2; } default 90; } leaf keepalive-interval { type decimal64 { fraction-digits 2; } default 30; } leaf minimum-advertisement-interval { type decimal64 { fraction-digits 2; } default 30; } }
The schema path to identify an instance is openconfig-bgpbgp-neighbor-timers_config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BigDecimal
getConnectRetry()
Return connectRetry, ornull
if it is not present.BigDecimal
getHoldTime()
Return holdTime, ornull
if it is not present.BigDecimal
getKeepaliveInterval()
Return keepaliveInterval, ornull
if it is not present.BigDecimal
getMinimumAdvertisementInterval()
Return minimumAdvertisementInterval, ornull
if it is not present.Class<? extends BgpNeighborTimersConfig>
implementedInterface()
default @NonNull BigDecimal
requireConnectRetry()
Return connectRetry, guaranteed to be non-null.default @NonNull BigDecimal
requireHoldTime()
Return holdTime, guaranteed to be non-null.default @NonNull BigDecimal
requireKeepaliveInterval()
Return keepaliveInterval, guaranteed to be non-null.default @NonNull BigDecimal
requireMinimumAdvertisementInterval()
Return minimumAdvertisementInterval, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborTimersConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getConnectRetry
BigDecimal getConnectRetry()
Return connectRetry, ornull
if it is not present.Time interval in seconds between attempts to establish a session with the peer.
- Returns:
BigDecimal
connectRetry, ornull
if it is not present.
-
requireConnectRetry
default @NonNull BigDecimal requireConnectRetry()
Return connectRetry, guaranteed to be non-null.Time interval in seconds between attempts to establish a session with the peer.
- Returns:
BigDecimal
connectRetry, guaranteed to be non-null.- Throws:
NoSuchElementException
- if connectRetry is not present
-
getHoldTime
BigDecimal getHoldTime()
Return holdTime, ornull
if it is not present.Time interval in seconds that a BGP session will be considered active in the absence of keepalive or other messages from the peer. The hold-time is typically set to 3x the keepalive-interval.
- Returns:
BigDecimal
holdTime, ornull
if it is not present.
-
requireHoldTime
default @NonNull BigDecimal requireHoldTime()
Return holdTime, guaranteed to be non-null.Time interval in seconds that a BGP session will be considered active in the absence of keepalive or other messages from the peer. The hold-time is typically set to 3x the keepalive-interval.
- Returns:
BigDecimal
holdTime, guaranteed to be non-null.- Throws:
NoSuchElementException
- if holdTime is not present
-
getKeepaliveInterval
BigDecimal getKeepaliveInterval()
Return keepaliveInterval, ornull
if it is not present.Time interval in seconds between transmission of keepalive messages to the neighbor. Typically set to 1/3 the hold-time.
- Returns:
BigDecimal
keepaliveInterval, ornull
if it is not present.
-
requireKeepaliveInterval
default @NonNull BigDecimal requireKeepaliveInterval()
Return keepaliveInterval, guaranteed to be non-null.Time interval in seconds between transmission of keepalive messages to the neighbor. Typically set to 1/3 the hold-time.
- Returns:
BigDecimal
keepaliveInterval, guaranteed to be non-null.- Throws:
NoSuchElementException
- if keepaliveInterval is not present
-
getMinimumAdvertisementInterval
BigDecimal getMinimumAdvertisementInterval()
Return minimumAdvertisementInterval, ornull
if it is not present.Minimum time which must elapse between subsequent UPDATE messages relating to a common set of NLRI being transmitted to a peer. This timer is referred to as MinRouteAdvertisementIntervalTimer by RFC 4721 and serves to reduce the number of UPDATE messages transmitted when a particular set of NLRI exhibit instability.
- Returns:
BigDecimal
minimumAdvertisementInterval, ornull
if it is not present.
-
requireMinimumAdvertisementInterval
default @NonNull BigDecimal requireMinimumAdvertisementInterval()
Return minimumAdvertisementInterval, guaranteed to be non-null.Minimum time which must elapse between subsequent UPDATE messages relating to a common set of NLRI being transmitted to a peer. This timer is referred to as MinRouteAdvertisementIntervalTimer by RFC 4721 and serves to reduce the number of UPDATE messages transmitted when a particular set of NLRI exhibit instability.
- Returns:
BigDecimal
minimumAdvertisementInterval, guaranteed to be non-null.- Throws:
NoSuchElementException
- if minimumAdvertisementInterval is not present
-
-