router: add metadata to routes (#1763)

* router: add metadata to route

* router/registry: set node metadata in route

* router/service: pass metadata to/from router service
This commit is contained in:
ben-toogood
2020-06-30 14:10:13 +01:00
committed by GitHub
parent 6532b6208b
commit a95accad56
6 changed files with 101 additions and 79 deletions

View File

@@ -130,4 +130,6 @@ message Route {
string link = 6;
// the metric / score of this route
int64 metric = 7;
// metadata for the route
map<string,string> metadata = 8;
}