Skip to content

Commit

Permalink
Configuring send-community per AFI-SAFI at neighbor/peer-group (#809) (
Browse files Browse the repository at this point in the history
…#976)

Co-authored-by: Darren Loher <[email protected]>
  • Loading branch information
missaesasaya and dplore authored Jan 19, 2024
1 parent aa1a546 commit ce2ebe9
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 7 deletions.
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

0 comments on commit ce2ebe9

Please sign in to comment.