diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-27 00:50:04 +0100 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-28 22:28:40 +0100 |
commit | f776dda1ec5b2ac6f9a0bc71501acf958abd2e5f (patch) | |
tree | 0a98a2cc3910b1266a6e7823f7626321deda1d21 /yang | |
parent | zebra: convert router-id commands to NB (diff) | |
download | frr-f776dda1ec5b2ac6f9a0bc71501acf958abd2e5f.tar.xz frr-f776dda1ec5b2ac6f9a0bc71501acf958abd2e5f.zip |
zebra: convert ip protocol 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 06ba547d0..ff4a5058b 100644 --- a/yang/frr-zebra.yang +++ b/yang/frr-zebra.yang @@ -2758,6 +2758,31 @@ module frr-zebra { some routing protocols identifying a router."; } + list filter-protocol { + key "afi-safi protocol"; + description + "Filter routing info exchanged between zebra and protocol."; + 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 routes."; + } + } + uses ribs; uses vrf-vni-mapping; |