Interface BgpNeighborTimersConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
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-bgp/bgp-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 Modifier and Type Method Description BigDecimal
getConnectRetry()
Time interval in seconds between attempts to establish a session with the peer.BigDecimal
getHoldTime()
Time interval in seconds that a BGP session will be considered active in the absence of keepalive or other messages from the peer.BigDecimal
getKeepaliveInterval()
Time interval in seconds between transmission of keepalive messages to the neighbor.BigDecimal
getMinimumAdvertisementInterval()
Minimum time which must elapse between subsequent UPDATE messages relating to a common set of NLRI being transmitted to a peer.Class<? extends BgpNeighborTimersConfig>
implementedInterface()
-
-
-
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()
Time interval in seconds between attempts to establish a session with the peer.- Returns:
java.math.BigDecimal
connectRetry
, ornull
if not present
-
getHoldTime
BigDecimal getHoldTime()
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:
java.math.BigDecimal
holdTime
, ornull
if not present
-
getKeepaliveInterval
BigDecimal getKeepaliveInterval()
Time interval in seconds between transmission of keepalive messages to the neighbor. Typically set to 1/3 the hold-time.- Returns:
java.math.BigDecimal
keepaliveInterval
, ornull
if not present
-
getMinimumAdvertisementInterval
BigDecimal getMinimumAdvertisementInterval()
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:
java.math.BigDecimal
minimumAdvertisementInterval
, ornull
if not present
-
-