Router selector and proxy modifications due to Route struct changes.

This commit is contained in:
Milos Gajdos
2019-07-09 16:45:31 +01:00
parent 23cb811f60
commit 6cf8bde612
5 changed files with 74 additions and 138 deletions

View File

@@ -17,20 +17,22 @@ message LookupResponse {
// Query is passed in a LookupRequest
message Query {
// destination to lookup
string destination = 1;
// service to lookup
string service = 1;
}
// Route is a service route
message Route {
// service for the route
string destination = 1;
string service = 1;
// the address that advertise this route
string address = 2;
// gateway as the next hop
string gateway = 2;
// the router that advertise this route
string router = 3;
string gateway = 3;
// the network for this destination
string network = 4;
// the network link
string link = 5;
// the metric / score of this route
int64 metric = 5;
int64 metric = 6;
}