Skip to content

Commit

Permalink
add preserve-next-hop for ebgp-multihop container
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore committed Aug 2, 2024
1 parent 8dc427e commit 2b89287
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 17 deletions.
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.";
}

}

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

0 comments on commit 2b89287

Please sign in to comment.