Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graceful shutdown as BGP_WELL_KNOWN_STD_COMMUNITY #954

Merged
merged 4 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion release/models/bgp/openconfig-bgp-errors.yang
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ submodule openconfig-bgp-errors {
"This module defines BGP NOTIFICATION message error codes
and subcodes";

oc-ext:openconfig-version "5.4.0";
oc-ext:openconfig-version "5.5.0";

revision "2023-09-06" {
description
"Add GRACEFUL_SHUTDOWN as a BGP_WELL_KNOWN_STD_COMMUNITY";
reference "5.5.0";
}

revision "2023-03-31" {
description
Expand Down
18 changes: 17 additions & 1 deletion release/models/bgp/openconfig-bgp-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ module openconfig-bgp-types {
policy. It can be imported by modules that make use of BGP
attributes";

oc-ext:openconfig-version "5.4.0";
oc-ext:openconfig-version "5.5.0";

revision "2023-09-06" {
description
"Add GRACEFUL_SHUTDOWN as a BGP_WELL_KNOWN_STD_COMMUNITY";
reference "5.5.0";
}

revision "2023-03-31" {
description
Expand Down Expand Up @@ -361,6 +367,16 @@ module openconfig-bgp-types {
reference "RFC3765";
}

identity GRACEFUL_SHUTDOWN {
base BGP_WELL_KNOWN_STD_COMMUNITY;
description
"An autonomous system which supports the graceful shutdown
receiver procedure receiving NLRI tagged with this community
will set LOCAL_PREF to a low value for those NLRI. This
community has a value of 0xFFFF0000.";
reference "RFC8326";
}

typedef bgp-session-direction {
type enumeration {
enum INBOUND {
Expand Down
Loading