diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-10-12 21:06:47 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-10-26 11:26:57 +0300 |
| commit | 97a52c82a569f4a2ba792fbd734f5e635a057e6f (patch) | |
| tree | 83075d412d0a44d8fc2db4d2e55ec1fd405a65b6 /yang/frr-bgp-route-map.yang | |
| parent | 91e9aee0877ca08b36f844756c6563ef175ab118 (diff) | |
bgpd: Implement Accumulated IGP Metric Attribute for BGP
https://www.rfc-editor.org/rfc/rfc7311.html
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'yang/frr-bgp-route-map.yang')
| -rw-r--r-- | yang/frr-bgp-route-map.yang | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang index 3f3d829211..ad2a142fef 100644 --- a/yang/frr-bgp-route-map.yang +++ b/yang/frr-bgp-route-map.yang @@ -276,6 +276,12 @@ module frr-bgp-route-map { "Set BGP atomic-aggregate attribute"; } + identity aigp-metric { + base frr-route-map:rmap-set-type; + description + "Set BGP AIGP attribute (AIGP TLV Metric)"; + } + identity as-path-prepend { base frr-route-map:rmap-set-type; description @@ -800,6 +806,15 @@ module frr-bgp-route-map { } } + case aigp-metric { + when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:aigp-metric')"; + leaf aigp-metric { + type string; + description + "Set BGP AIGP attribute (AIGP Metric TLV)"; + } + } + case as-path-prepend { when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:as-path-prepend')"; choice as-path-prepend { |
