diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-01-22 00:37:58 -0500 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2017-01-22 00:37:58 -0500 |
commit | bb42a6832f14edb65c06256bfb4d7029faf9f3bb (patch) | |
tree | 99f275faff348a056d6af1e71c1a442d7cf8b279 /api/grpc_server.go | |
parent | 99ed1e73d7fe2245c36e4adb5f5cd924c4d55516 (diff) |
api: add a UUID field to Path structure
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r-- | api/grpc_server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go index a4b24ba7..f19b9aef 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -257,6 +257,7 @@ func ToPathApi(path *table.Path) *Path { Stale: path.IsStale(), IsFromExternal: path.IsFromExternal(), NoImplicitWithdraw: path.NoImplicitWithdraw(), + Uuid: path.UUID().Bytes(), } if s := path.GetSource(); s != nil { p.SourceAsn = s.AS |