Package com.vmware.nsx_policy.model
Class BgpGracefulRestartTimer.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BgpGracefulRestartTimer.Builder
-
- Enclosing class:
- BgpGracefulRestartTimer
public static final class BgpGracefulRestartTimer.Builder extends java.lang.Object
Builder class forBgpGracefulRestartTimer
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBgpGracefulRestartTimer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpGracefulRestartTimer
build()
BgpGracefulRestartTimer.Builder
setRestartTimer(java.lang.Long restartTimer)
Maximum time taken (in seconds) for a BGP session to be established after a restart.BgpGracefulRestartTimer.Builder
setStaleRouteTimer(java.lang.Long staleRouteTimer)
Maximum time (in seconds) before stale routes are removed from the RIB (Routing Information Base) when BGP restarts.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBgpGracefulRestartTimer
.
-
-
Method Detail
-
setRestartTimer
public BgpGracefulRestartTimer.Builder setRestartTimer(java.lang.Long restartTimer)
Maximum time taken (in seconds) for a BGP session to be established after a restart. This can be used to speed up routing convergence by its peer in case the BGP speaker does not come back up after a restart. If the session is not re-established within this timer, the receiving speaker will delete all the stale routes from that peer. format: int64- Parameters:
restartTimer
- New value for the property.
-
setStaleRouteTimer
public BgpGracefulRestartTimer.Builder setStaleRouteTimer(java.lang.Long staleRouteTimer)
Maximum time (in seconds) before stale routes are removed from the RIB (Routing Information Base) when BGP restarts. format: int64- Parameters:
staleRouteTimer
- New value for the property.
-
build
public BgpGracefulRestartTimer build()
-
-