Closed johanstokking closed 3 years ago
Get network targets
For Packet Broker Router to get network targets to send messages to.
This is currently part of the routes, but those only include home networks. Forwarders have targets too, for asynchronous responses.
There should be a way for Router to fetch (all) network targets from Packet Broker Control Plane.
Add a new rpc ListTargets() to the Routes service.
ListTargets()
Routes
Consider removing the target information from ListRoutes(). It doesn't hurt, but we can move everything under ListTargets().
ListRoutes()
Yes
Summary
Get network targets
Why do we need this?
For Packet Broker Router to get network targets to send messages to.
What is already there? What do you see now?
This is currently part of the routes, but those only include home networks. Forwarders have targets too, for asynchronous responses.
What is missing? What do you want to see?
There should be a way for Router to fetch (all) network targets from Packet Broker Control Plane.
How do you propose to implement this?
Add a new rpc
ListTargets()
to theRoutes
service.Consider removing the target information from
ListRoutes()
. It doesn't hurt, but we can move everything underListTargets()
.Can you do this yourself and submit a Pull Request?
Yes