routerrpc: report route success probability

The intention of adding this field is to make probability based path
finding more transparent and help understand why a route is returned.
This commit is contained in:
Joost Jager committed 2019-09-05 08:35:04 +02:00
1 parent 866867a4b0
commit 99a920f2a3
4 files changed
+578 -519

No files matched your search

+10
View File
@@ -1704,7 +1704,17 @@ message EdgeLocator {
}
message QueryRoutesResponse {
/**
The route that results from the path finding operation. This is still a
repeated field to retain backwards compatibility.
*/
repeated Route routes = 1 [json_name = "routes"];
/**
The success probability of the returned route based on the current mission
control state. [EXPERIMENTAL]
*/
double success_prob = 2 [json_name = "success_prob"];
}
message Hop {