summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-08 19:57:49 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-10-15 16:36:51 +0200
commitf677fc8db3c0195dc1bc8d7cd9887cf4e7aa638e (patch)
tree5b8a6476e1d330d1a2dc6c87d1db4475064b1d7a /yang
parentbgpd: Set MED using a helper bgp_attr_set_med() (diff)
downloadfrr-f677fc8db3c0195dc1bc8d7cd9887cf4e7aa638e.tar.xz
frr-f677fc8db3c0195dc1bc8d7cd9887cf4e7aa638e.zip
bgpd: Implement `set metric igp` command
Set metric automatically from the path info (IGP protocol). 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 c875a6ec7..b83047cae 100644
--- a/yang/frr-route-map.yang
+++ b/yang/frr-route-map.yang
@@ -355,6 +355,14 @@ module frr-route-map {
"Subtract round trip time to metric";
}
}
+
+ case use-igp {
+ leaf use-igp {
+ type boolean;
+ description
+ "Use metric from IGP procotol";
+ }
+ }
}
}