diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-27 05:00:27 +0200 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-28 23:28:40 +0200 |
| commit | 86855aed7824d89cfe9829a7ee9ab604ac15d02f (patch) | |
| tree | ace4e861a89c3f1c2cd5df600e3e74f296c2e212 /yang | |
| parent | 2117faf1cf41ef34d0c67a34592a1e5cbbb0f8a8 (diff) | |
zebra: convert table range command to NB
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'yang')
| -rw-r--r-- | yang/frr-zebra.yang | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang index 5d539f4bd7..564617103b 100644 --- a/yang/frr-zebra.yang +++ b/yang/frr-zebra.yang @@ -2824,6 +2824,31 @@ module frr-zebra { Removing the leaf sets it back to the default value for the profile."; } + container netns { + description + "Configuration for netns VRF backend."; + container table-range { + presence "Activates table-range configuration."; + description + "The range of tables to use for this netns."; + leaf start { + type uint32; + mandatory true; + description + "The first table to use."; + } + leaf end { + type uint32; + mandatory true; + must ". >= ../start" { + error-message "End table must be greater than or equal to start table"; + } + description + "The last table to use."; + } + } + } + uses ribs; uses vrf-vni-mapping; |
