Skip to content

Commit

Permalink
Restore NONE as an enum value for typedef community-type (openconfig#…
Browse files Browse the repository at this point in the history
…1177)

* restore NONE as an enum value for typedef community-type
  • Loading branch information
dplore authored Sep 24, 2024
1 parent 960cfd9 commit 4513c14
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 16 deletions.
8 changes: 7 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,13 @@ submodule openconfig-bgp-common-multiprotocol {
for multiple protocols in BGP. The groupings are common across
multiple contexts.";

oc-ext:openconfig-version "9.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

revision "2023-12-28" {
description
Expand Down
8 changes: 7 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,13 @@ 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.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

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

oc-ext:openconfig-version "9.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

revision "2023-12-28" {
description
Expand Down Expand Up @@ -326,9 +332,10 @@ submodule openconfig-bgp-common {
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";
"Specify which types of community should be sent to the neighbor or
group. The default is to not send the community attribute. Note, if
the NONE community-type is specified, no other types must be
specified.";
}

leaf description {
Expand Down
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 "6.0.0";
oc-ext:openconfig-version "6.1.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "6.1.0";
}

revision "2024-01-31" {
description
Expand Down
8 changes: 7 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,13 @@ 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.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

revision "2023-12-28" {
description
Expand Down
8 changes: 7 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,13 @@ 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.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

revision "2023-12-28" {
description
Expand Down
8 changes: 7 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,13 @@ 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.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

revision "2023-12-28" {
description
Expand Down
14 changes: 9 additions & 5 deletions release/models/bgp/openconfig-bgp-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ module openconfig-bgp-types {
policy. It can be imported by modules that make use of BGP
attributes";

oc-ext:openconfig-version "6.0.0";
oc-ext:openconfig-version "6.1.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "6.1.0";
}

revision "2024-02-01" {
description
Expand Down Expand Up @@ -795,10 +801,8 @@ module openconfig-bgp-types {
}
enum NONE {
description
"Do not send any community attribute.
This value has been deprecated because the node is now
a leaf-list.";
status deprecated;
"Do not send any community attribute. If this value is present
then the other community-types must not be present.";
}
}
description
Expand Down
8 changes: 7 additions & 1 deletion release/models/bgp/openconfig-bgp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ 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.7.1";
oc-ext:openconfig-version "9.8.0";

revision "2024-09-06" {
description
"Restore NONE enum value for community-type.";
reference "9.8.0";
}

revision "2023-12-28" {
description
Expand Down

0 comments on commit 4513c14

Please sign in to comment.