Skip to content

Commit

Permalink
Merge branch 'master' into Bfd
Browse files Browse the repository at this point in the history
  • Loading branch information
AnilKR123 authored Jan 15, 2025
2 parents 63bd254 + 850e572 commit 0041e2b
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions release/models/bgp/openconfig-bgp-policy.yang
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ module openconfig-bgp-policy {
It augments the base routing-policy module with BGP-specific
options for conditions and actions.";

oc-ext:openconfig-version "8.0.0";
oc-ext:openconfig-version "8.1.0";

revision "2024-11-13" {
description
"Add use-last-as leaf to set-as-path-prepend to prepend last AS.";
reference "8.1.0";
}

revision "2024-08-23" {
description
Expand Down Expand Up @@ -920,9 +926,19 @@ module openconfig-bgp-policy {
leaf asn {
type oc-inet:as-number;
description
"The AS number to prepend to the AS path. If this leaf is
not specified and repeat-n is set, then the local AS
number will be used for prepending.";
"The AS number to prepend to the AS path. If neither this
leaf nor use-last-as leaf is specified but repeat-n is set, then
the local AS number will be used for prepending.";
}

leaf use-last-as {
type boolean;
description
"Indicates whether to use the last AS number, which is also the
most recent AS number, to prepend to the AS path.
If neither this leaf nor asn leaf is specified
but repeat-n is set, then the local AS number will be
used for prepending.";
}
}

Expand Down

0 comments on commit 0041e2b

Please sign in to comment.