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

Restore NONE as an enum value for typedef community-type #1177

Merged
merged 8 commits into from
Sep 24, 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
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
Loading