summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-08 20:47:40 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-10-15 16:42:52 +0200
commite94f48498d3ec68bd7dec185d7658bdc583a0c32 (patch)
tree1a4b1895316a89a8ae59d56e0c4c86ac4177de2c /yang
parenttests: Check if MED can be derived from `set metric igp|aigp` (diff)
downloadfrr-e94f48498d3ec68bd7dec185d7658bdc583a0c32.tar.xz
frr-e94f48498d3ec68bd7dec185d7658bdc583a0c32.zip
bgpd: Implement `set metric aigp` command
Same as `set metric igp`, but in this case accumulated IGP metric is being sent as MED attribute. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-route-map.yang8
1 files changed, 8 insertions, 0 deletions
diff --git a/yang/frr-route-map.yang b/yang/frr-route-map.yang
index b83047cae..244c353a6 100644
--- a/yang/frr-route-map.yang
+++ b/yang/frr-route-map.yang
@@ -363,6 +363,14 @@ module frr-route-map {
"Use metric from IGP procotol";
}
}
+
+ case use-aigp {
+ leaf use-aigp {
+ type boolean;
+ description
+ "Use metric from AIGP (Accumulated IGP)";
+ }
+ }
}
}