Graceful restart and long-lived graceful restart
TechPreview
Graceful restart and long-lived graceful restart are vital mechanisms within BGP (Border Gateway Protocol) routing, designed to optimize the routing tables convergence in scenarios where a BGP router restarts or a networking failure is experienced, leading to interruptions of router peering.
During a graceful restart, a router can signal its BGP peers about its impending restart, requesting them to retain the routes it had previously advertised as active. This allows for seamless network operation and minimal disruption to data forwarding during the router downtime.
The long-lived aspect of the long-lived graceful restart extends the graceful restart effectiveness beyond the usual restart duration. This extension provides an additional layer of resilience and stability to BGP routing updates, bolstering the network ability to manage unforeseen disruptions.
Caution
Mirantis does not generally recommend using the graceful restart and long-lived graceful restart features with the OpenSDN XMPP helper, unless the configuration is done by proficient operators with at-scale expertise in networking domain and exclusively to address specific corner cases.
Configuring graceful restart and long-lived graceful restart
The TFOperator custom resource allows for easy enablement and configuration
of the graceful restart and long-lived graceful restart features through
the features section of the TFOperator custom resource:
spec:
features:
control:
gracefulRestart:
enabled: <BOOLEAN>
bgpHelperEnabled: <BOOLEAN>
xmppHelperEnabled: <BOOLEAN>
restartTime: <TIME_IN_SECONDS>
llgrRestartTime: <TIME_IN_SECONDS>
endOfRibTimeout: <TIME_IN_SECONDS>