Skip to content

Commit

Permalink
Update the reference of draft-ietf-idr-bgp-gr-notification
Browse files Browse the repository at this point in the history
draft-ietf-idr-bgp-gr-notification is promoted to RFC8538.

Signed-off-by: Yutaro Hayakawa <[email protected]>
  • Loading branch information
YutaroHayakawa committed Apr 27, 2024
1 parent 0ccd87d commit d0bf813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/sources/graceful-restart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Graceful Restart

This page explains how to configure [Graceful Restart](https://tools.ietf.org/html/rfc4724),
[Graceful Restart Notification Support](https://tools.ietf.org/html/draft-ietf-idr-bgp-gr-notification-07) and
[Graceful Restart Notification Support](https://tools.ietf.org/html/rfc8538) and
[Long Lived Graceful Restart](https://tools.ietf.org/html/draft-uttaro-idr-bgp-persistence-02).
Graceful Restart has two sides. One is restarting speaker which does restart,
the other is receiving speaker (helper speaker) which helps a restarting speaker
Expand Down Expand Up @@ -153,7 +153,7 @@ Default value of `restart-time` is equal to `hold-time`.
[RFC4724](https://tools.ietf.org/html/rfc4724) specifies gracful restart procedures are triggered only when
the BGP session between graceful restart capable peers turns down without
a notification message for backward compatibility.
[Graceful Restart Notification Support](https://tools.ietf.org/html/draft-ietf-idr-bgp-gr-notification-07)
[Graceful Restart Notification Support](https://tools.ietf.org/html/rfc8538)
expands this to trigger graceful restart procedures also with a notification message.
To turn on this feature, add `notification-enabled = true` to configuration like below.

Expand Down
2 changes: 1 addition & 1 deletion pkg/packet/bgp/bgp.go
Original file line number Diff line number Diff line change
Expand Up @@ -9877,7 +9877,7 @@ const (
BGP_ERROR_SUB_OTHER_CONFIGURATION_CHANGE
BGP_ERROR_SUB_CONNECTION_COLLISION_RESOLUTION
BGP_ERROR_SUB_OUT_OF_RESOURCES
BGP_ERROR_SUB_HARD_RESET // draft-ietf-idr-bgp-gr-notification-07
BGP_ERROR_SUB_HARD_RESET // RFC8538
)

// Constants for BGP_ERROR_SUB_ADMINISTRATIVE_SHUTDOWN and BGP_ERROR_SUB_ADMINISTRATIVE_RESET
Expand Down

0 comments on commit d0bf813

Please sign in to comment.