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

Configuring send-community per AFI-SAFI at neighbor/peer-group (#969) #976

Merged
merged 2 commits into from
Jan 19, 2024
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
20 changes: 19 additions & 1 deletion release/models/bgp/openconfig-bgp-common-multiprotocol.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down Expand Up @@ -254,6 +263,15 @@ submodule openconfig-bgp-common-multiprotocol {
"This leaf indicates whether the AFI-SAFI is
enabled for the neighbor or group";
}

leaf-list send-community-type {
type oc-bgp-types:community-type;
description
"Specify which types of community should be sent to the
neighbor or group. The default is to not send the
community attribute. This takes precedence over the neighbor
or group configuration";
}
}

grouping bgp-common-mp-all-afi-safi-list-contents {
Expand Down
11 changes: 10 additions & 1 deletion release/models/bgp/openconfig-bgp-common-structure.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ submodule openconfig-bgp-common-structure {
"This sub-module contains groupings that are common across multiple BGP
contexts and provide structure around other primitive groupings.";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down
11 changes: 10 additions & 1 deletion release/models/bgp/openconfig-bgp-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ submodule openconfig-bgp-common {
may be application to a subset of global, peer-group or neighbor
contexts.";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down
11 changes: 10 additions & 1 deletion release/models/bgp/openconfig-bgp-global.yang
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,16 @@ submodule openconfig-bgp-global {
"This sub-module contains groupings that are specific to the
global context of the OpenConfig BGP module";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down
11 changes: 10 additions & 1 deletion release/models/bgp/openconfig-bgp-neighbor.yang
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,16 @@ submodule openconfig-bgp-neighbor {
"This sub-module contains groupings that are specific to the
neighbor context of the OpenConfig BGP module.";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down
11 changes: 10 additions & 1 deletion release/models/bgp/openconfig-bgp-peer-group.yang
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ submodule openconfig-bgp-peer-group {
"This sub-module contains groupings that are specific to the
peer-group context of the OpenConfig BGP module.";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down
11 changes: 10 additions & 1 deletion release/models/bgp/openconfig-bgp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,16 @@ module openconfig-bgp {
whereas leaf not present inherits its value from the leaf present
at the next higher level in the hierarchy.";

oc-ext:openconfig-version "9.5.0";
oc-ext:openconfig-version "9.6.0";

revision "2023-11-02" {
description
"Fix revision '2023-03-31': send-community-type was added to the
wrong grouping.
Allow configuring send-community per AFI-SAFI at
neighbor/peer-group.";
reference "9.6.0";
}

revision "2023-11-01" {
description
Expand Down
Loading