add network field to the routes

This commit is contained in:
Asim Aslam
2019-08-28 08:41:19 +01:00
parent 731f6f74dd
commit a4f5772555
5 changed files with 70 additions and 48 deletions

View File

@@ -117,10 +117,12 @@ message Route {
string gateway = 3;
// the network for this destination
string network = 4;
// router if the router id
string router = 5;
// the network link
string link = 5;
string link = 6;
// the metric / score of this route
int64 metric = 6;
int64 metric = 7;
}
message Status {