Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqma committed Nov 14, 2024
1 parent 6e28490 commit eb7020c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion release/models/bgp/openconfig-bgp-policy.yang
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ module openconfig-bgp-policy {
It augments the base routing-policy module with BGP-specific
options for conditions and actions.";

oc-ext:openconfig-version "7.1.0";
oc-ext:openconfig-version "8.2.0";

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

revision "2024-07-02" {
description
Expand Down Expand Up @@ -1348,6 +1355,18 @@ module openconfig-bgp-policy {
description "set the med metric attribute in the route
update";
}

leaf-list set-as-path {
type union {
type oc-inet:as-number;
type oc-bgp-types:bgp-as-builtin-type;
}
ordered-by user;
description
"set the entire AS path attribute in the route update,
with an ordered list of ASes that consists of AS numbers
or last-as.";
}
}

grouping bgp-actions-state {
Expand Down

0 comments on commit eb7020c

Please sign in to comment.