From eb7020c25aec549abd8c8d4291e1193d3d5354ad Mon Sep 17 00:00:00 2001 From: Xuqian Ma Date: Thu, 14 Nov 2024 05:48:59 +0000 Subject: [PATCH] update --- release/models/bgp/openconfig-bgp-policy.yang | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/release/models/bgp/openconfig-bgp-policy.yang b/release/models/bgp/openconfig-bgp-policy.yang index f4c0c18c4..6af255367 100644 --- a/release/models/bgp/openconfig-bgp-policy.yang +++ b/release/models/bgp/openconfig-bgp-policy.yang @@ -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 @@ -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 {