From dd85cab1ecd3c21a5e2502858790befc6b7f0074 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 13 Apr 2018 21:46:14 +0900 Subject: table: remove uuid member in originInfo structure Signed-off-by: FUJITA Tomonori --- api/grpc_server.go | 1 - api/util.go | 1 - 2 files changed, 2 deletions(-) (limited to 'api') diff --git a/api/grpc_server.go b/api/grpc_server.go index 30934cda..cec1c272 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -392,7 +392,6 @@ func ToPathApi(path *table.Path) *Path { Stale: path.IsStale(), IsFromExternal: path.IsFromExternal(), NoImplicitWithdraw: path.NoImplicitWithdraw(), - Uuid: path.UUID().Bytes(), IsNexthopInvalid: path.IsNexthopInvalid, Identifier: nlri.PathIdentifier(), LocalIdentifier: nlri.PathLocalIdentifier(), diff --git a/api/util.go b/api/util.go index 9a16bef5..177b48a9 100644 --- a/api/util.go +++ b/api/util.go @@ -134,7 +134,6 @@ func (p *Path) ToNativePath(option ...ToNativeOption) (*table.Path, error) { UnmatchedLength: NewROAListFromApiStructList(p.ValidationDetail.UnmatchedLength), }) path.MarkStale(p.Stale) - path.SetUUID(p.Uuid) path.IsNexthopInvalid = p.IsNexthopInvalid return path, nil } -- cgit v1.2.3