diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2025-02-23 11:04:43 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2025-02-23 11:14:47 -0500 |
| commit | 03ebdc3c4a13f3c83cd8b57ac1f92b6df827acf8 (patch) | |
| tree | a515a40ad7bb70fab264c296e10dadfdaed37bb9 /yang | |
| parent | 3f290c97e8325bd9db9363b60e4a42ba8bdca90b (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.yang | 11 |
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 |
