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

Add next-hop-unchanged for BGP #1158

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 8 additions & 2 deletions release/models/bgp/openconfig-bgp-common-multiprotocol.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
Expand Down
10 changes: 8 additions & 2 deletions release/models/bgp/openconfig-bgp-common-structure.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
Expand Down
22 changes: 19 additions & 3 deletions release/models/bgp/openconfig-bgp-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,25 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
reference "9.7.0";
}

revision "2023-11-02" {
Expand Down Expand Up @@ -432,6 +438,16 @@ submodule openconfig-bgp-common {
"Time-to-live value to use when packets are sent to the
referenced group or neighbors and ebgp-multihop is enabled";
}

leaf preserve-next-hop {
type boolean;
default "false";
description
"Override the default eBGP behavior of rewriting the next-hop, and
instead keep the next-hop learned from a neighbor. This leaf can
only be configured if multihop enabled is true.";
dplore marked this conversation as resolved.
Show resolved Hide resolved
}

}

grouping bgp-common-neighbor-group-route-reflector-config {
Expand Down
10 changes: 8 additions & 2 deletions release/models/bgp/openconfig-bgp-global.yang
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,18 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
Expand Down
12 changes: 9 additions & 3 deletions release/models/bgp/openconfig-bgp-neighbor.yang
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,25 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
reference "9.7.0";
}

revision "2023-11-02" {
Expand Down
10 changes: 8 additions & 2 deletions release/models/bgp/openconfig-bgp-peer-group.yang
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
Expand Down
12 changes: 9 additions & 3 deletions release/models/bgp/openconfig-bgp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,25 @@ 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-08-02" {
description
"Add preserve-next-hop to ebgp-multihop container.";
reference "9.8.0";
}

revision "2023-12-28" {
description
"Clarification to last-prefix-limit-exceeded in description";
reference "9.7.1";
reference "9.7.1";
}

revision "2023-12-28" {
description
"Add support for controling use of link-bandwidth extended
community for BGP multipath.";
reference "9.7.0";
reference "9.7.0";
}

revision "2023-11-02" {
Expand Down
Loading