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
  • Loading branch information
missaesasaya committed Nov 29, 2023
1 parent 4e6c1bf commit 1191717
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 8 deletions.
24 changes: 22 additions & 2 deletions 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 @@ -228,8 +237,10 @@ submodule openconfig-bgp-common-multiprotocol {

leaf-list send-community-type {
type oc-bgp-types:community-type;
status deprecated;
description
"Specify which types of community should be sent to the
"This leaf has been deprecated because it was added by mistake.
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";
Expand All @@ -254,6 +265,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 1191717

Please sign in to comment.