Router selector and proxy modifications due to Route struct changes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user