summaryrefslogtreecommitdiff
path: root/lib/libfrr.c
diff options
context:
space:
mode:
authorNathan Bahr <nbahr@atcorp.com>2024-10-30 21:16:30 +0000
committerNathan Bahr <nbahr@atcorp.com>2025-01-09 21:58:22 +0000
commit8b00575fbb358bc214a9281c948cb0d703aa7605 (patch)
treef503c99acd0fcffe72fa529f20640edbb6728236 /lib/libfrr.c
parent7e3d4048a69b3cd178c0d6ec4ebb7919bdcf94a1 (diff)
pimd,yang: Expand rpf-lookup-mode command
Add options for group-list and source-list, both of which take a prefix list name. The prefix list is used to determine the lookup mode for specific sources and/or groups. Any number of lookup modes can be configured as long as the combination of group and source list is unique. A global lookup mode (empty group and source lists) is always added and defaults to mrib-then-urib as it currently functions. The global lookup mode can be changed as it current exists with the command `rpf-lookup-mode MODE`. When determinig which mode to use, match source (and group if provided) against the lists, if they are set. If a lookup does not specify a group, then only use lookup modes that do not have a group list defined. A lookup by definition will have a source, so no special handling there. Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions