summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2025-02-23 11:04:43 -0500
committerDonald Sharp <sharpd@nvidia.com>2025-02-23 11:14:47 -0500
commit03ebdc3c4a13f3c83cd8b57ac1f92b6df827acf8 (patch)
treea515a40ad7bb70fab264c296e10dadfdaed37bb9 /yang
parent3f290c97e8325bd9db9363b60e4a42ba8bdca90b (diff)
zebra: Add operational retrieval of Multipath Number
The multipath number specified is not available through the yang data and is not retrievable. Make it so. At this point in time do not allow this to be set from yang. Perhaps in the future. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-zebra.yang11
1 files changed, 11 insertions, 0 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index a3c066c56c..5f1b711b97 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -2842,6 +2842,17 @@ module frr-zebra {
container zebra {
description
"Data model for the Zebra daemon.";
+ leaf max-multipath {
+ config false;
+ type uint16 {
+ range "1..65535";
+ }
+ description
+ "The maximum number of nexthops for a route. At this point it
+ is unlikely that a multipath number will ever get larger then
+ 1024 but to allow for future expansions, the yang returns a
+ 16 bit number";
+ }
leaf ip-forwarding {
type boolean;
description