Extend BLQ to return delegated prefixes for remote-id and relay-id
Bulk Lease Query by remote-id, link, and relay-id currently only return addresses, not prefixes. We need to extend it to also return prefixes.
EDIT: There are two cases here:
- return PD when query by remote-id or relay-id (
QUERY_BY_RELAY_ID
orQUERY_BY_REMOTE_ID
). - return PD that contains an address when querying for an address (
QUERY_BY_ADDRESS
).
The former is in scope, but the latter is not. The latter is not implemented even for basic LQ. It's a missing functionality, yes, but nobody complained about this shortcoming so far.
Decided to ignore the link address vs prefix possible issue i.e. do the same if the link address is :: or is not.
Edited by Francis Dupont