diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-04-13 21:46:14 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-05-07 21:18:04 +0900 |
commit | dd85cab1ecd3c21a5e2502858790befc6b7f0074 (patch) | |
tree | d208924e75ddb853768e7b5c47bdb87d79456bea /api | |
parent | 8347c6c94c441e6a2ec4869890a8808208610273 (diff) |
table: remove uuid member in originInfo structure
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r-- | api/grpc_server.go | 1 | ||||
-rw-r--r-- | api/util.go | 1 |
2 files changed, 0 insertions, 2 deletions
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 } |