Commit 7e0d665120 for frr
commit 7e0d665120e9ac3aaea658e9b17cd1bd70638140
Author: Philippe Guibert <philippe.guibert@6wind.com>
Date: Mon Oct 12 12:25:58 2026 +0200
topotests: use exact keyword aigp-metric instead of aigp
The full keyword aigp-metric is explicitly configured.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
diff --git a/tests/topotests/bgp_aigp/r4/bgpd.conf b/tests/topotests/bgp_aigp/r4/bgpd.conf
index 2cdf84a1b3..d12a9a9085 100644
--- a/tests/topotests/bgp_aigp/r4/bgpd.conf
+++ b/tests/topotests/bgp_aigp/r4/bgpd.conf
@@ -21,7 +21,7 @@ ip prefix-list p66 seq 5 permit 10.0.6.6/32
!
route-map ospf-to-bgp permit 10
match ip address prefix-list p66
- set aigp igp-metric
+ set aigp-metric igp-metric
!
! Two OSPF domains should be isolated - otherwise the connected routes
! on r4 would be advertised to r3 (via r4 -> r6 -> r5 -> r3), and can
diff --git a/tests/topotests/bgp_aigp/r7/bgpd.conf b/tests/topotests/bgp_aigp/r7/bgpd.conf
index f5e0603bbe..a075714859 100644
--- a/tests/topotests/bgp_aigp/r7/bgpd.conf
+++ b/tests/topotests/bgp_aigp/r7/bgpd.conf
@@ -14,14 +14,14 @@ ip prefix-list p73 seq 5 permit 10.0.0.73/32
!
route-map rmap permit 10
match ip address prefix-list p71
- set aigp igp-metric
+ set aigp-metric igp-metric
!
route-map rmap permit 20
match ip address prefix-list p72
- set aigp 72
+ set aigp-metric 72
!
route-map rmap permit 30
match ip address prefix-list p73
- set aigp 0
+ set aigp-metric 0
exit
!
diff --git a/tests/topotests/bgp_aigp_rr/r1/bgpd.conf b/tests/topotests/bgp_aigp_rr/r1/bgpd.conf
index 4099a248f1..344f25e6e8 100644
--- a/tests/topotests/bgp_aigp_rr/r1/bgpd.conf
+++ b/tests/topotests/bgp_aigp_rr/r1/bgpd.conf
@@ -27,6 +27,6 @@ route-map set-nexthop permit 10
exit
!
route-map set-aigp permit 10
- set aigp 50
+ set aigp-metric 50
set weight 0
!
diff --git a/tests/topotests/bgp_aigp_rr/r2/bgpd.conf b/tests/topotests/bgp_aigp_rr/r2/bgpd.conf
index 0159dc8e7c..cd7cf67ee4 100644
--- a/tests/topotests/bgp_aigp_rr/r2/bgpd.conf
+++ b/tests/topotests/bgp_aigp_rr/r2/bgpd.conf
@@ -15,7 +15,7 @@ ip prefix-list p22 seq 5 permit 10.0.2.2/32
!
route-map connected-to-bgp permit 10
match ip address prefix-list p22
- set aigp 2
+ set aigp-metric 2
!
route-map set-aigp permit 10
set aigp 10
diff --git a/tests/topotests/bgp_oad/r3/frr.conf b/tests/topotests/bgp_oad/r3/frr.conf
index 482f833ac6..0bfb8d888a 100644
--- a/tests/topotests/bgp_oad/r3/frr.conf
+++ b/tests/topotests/bgp_oad/r3/frr.conf
@@ -25,6 +25,6 @@ route-map connected permit 10
!
route-map static permit 10
set extcommunity bandwidth 100 non-transitive
- set aigp 50
+ set aigp-metric 50
exit
!