diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-27 01:51:33 +0200 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-28 23:28:40 +0200 |
| commit | cc619176fe8f06d1bf85e5f0225acf08240c2698 (patch) | |
| tree | 615c94a2497ffab74c6c04ed86af1af6cbd4933e /yang | |
| parent | f776dda1ec5b2ac6f9a0bc71501acf958abd2e5f (diff) | |
zebra: convert ip nht commands 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 ff4a5058b2..41bc0dbb86 100644 --- a/yang/frr-zebra.yang +++ b/yang/frr-zebra.yang @@ -2783,6 +2783,31 @@ module frr-zebra { } } + list filter-nht { + key "afi-safi protocol"; + description + "Filter next hop tracking route resolution."; + leaf afi-safi { + type identityref { + base frr-rt:afi-safi-type; + } + description + "AFI-SAFI type."; + } + leaf protocol { + // This should be identityref to frr-rt:control-plane-protocol someday + type string; + description + "The protocol to filter."; + } + leaf route-map { + type frr-route-map:route-map-ref; + mandatory true; + description + "A route-map to filter nexthops."; + } + } + uses ribs; uses vrf-vni-mapping; |
