Interface BgpNeighborTimersConfig
- 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
@Generated("mdsal-binding-generator")
public interface BgpNeighborTimersConfig
extends org.opendaylight.yangtools.binding.Grouping
Config parameters related to timers associated with the BGP peer
This 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;
}
}
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Decimal64Return connectRetry, ornullif it is not present.org.opendaylight.yangtools.yang.common.Decimal64Return holdTime, ornullif it is not present.org.opendaylight.yangtools.yang.common.Decimal64Return keepaliveInterval, ornullif it is not present.org.opendaylight.yangtools.yang.common.Decimal64Return minimumAdvertisementInterval, ornullif it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return connectRetry, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return holdTime, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return keepaliveInterval, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return minimumAdvertisementInterval, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getConnectRetry
org.opendaylight.yangtools.yang.common.Decimal64 getConnectRetry()Return connectRetry, ornullif it is not present.Time interval in seconds between attempts to establish a session with the peer.- Returns:
Decimal64connectRetry, ornullif it is not present.
-
requireConnectRetry
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireConnectRetry()Return connectRetry, guaranteed to be non-null.Time interval in seconds between attempts to establish a session with the peer.- Returns:
Decimal64connectRetry, guaranteed to be non-null.- Throws:
NoSuchElementException- if connectRetry is not present
-
getHoldTime
org.opendaylight.yangtools.yang.common.Decimal64 getHoldTime()Return holdTime, ornullif 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:
Decimal64holdTime, ornullif it is not present.
-
requireHoldTime
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 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:
Decimal64holdTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if holdTime is not present
-
getKeepaliveInterval
org.opendaylight.yangtools.yang.common.Decimal64 getKeepaliveInterval()Return keepaliveInterval, ornullif 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:
Decimal64keepaliveInterval, ornullif it is not present.
-
requireKeepaliveInterval
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 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:
Decimal64keepaliveInterval, guaranteed to be non-null.- Throws:
NoSuchElementException- if keepaliveInterval is not present
-
getMinimumAdvertisementInterval
org.opendaylight.yangtools.yang.common.Decimal64 getMinimumAdvertisementInterval()Return minimumAdvertisementInterval, ornullif 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:
Decimal64minimumAdvertisementInterval, ornullif it is not present.
-
requireMinimumAdvertisementInterval
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 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:
Decimal64minimumAdvertisementInterval, guaranteed to be non-null.- Throws:
NoSuchElementException- if minimumAdvertisementInterval is not present
-