diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-26 07:56:35 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-26 08:09:02 +0900 |
commit | 22772c0e62ab215a9872761ca01d103e297f98bd (patch) | |
tree | 5367116d55e327ae4bda16e0b5cd47c05a22aa4a /api/grpc_server.go | |
parent | c99e499bce7a33feee36240b4d72acde8b0cb3d5 (diff) |
add LocalPathIdentifier
add-path support needs two identifiers, remote (rx) and local
(tx). The remote identifiers are assigined by remote peers, the local
ones are assigned by gobgpd itself.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@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 54fd01ec..419fd2b6 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -385,6 +385,7 @@ func ToPathApi(path *table.Path) *Path { Uuid: path.UUID().Bytes(), IsNexthopInvalid: path.IsNexthopInvalid, Identifier: nlri.PathIdentifier(), + LocalIdentifier: nlri.PathLocalIdentifier(), } if s := path.GetSource(); s != nil { p.SourceAsn = s.AS |