From cc619176fe8f06d1bf85e5f0225acf08240c2698 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Sat, 27 Jan 2024 01:51:33 +0200 Subject: zebra: convert ip nht commands to NB Signed-off-by: Igor Ryzhov --- yang/frr-zebra.yang | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'yang') 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; -- cgit v1.2.3