diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-26 07:58:18 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-26 08:09:02 +0900 |
commit | d712de0dc604aafd609a6bfecdef867f7d43e46e (patch) | |
tree | 320e8a57abd8c62b0ac753c06c910388d3077639 /api/grpc_server.go | |
parent | 22772c0e62ab215a9872761ca01d103e297f98bd (diff) |
api: add addpath support to AddPath API and cli
$gobgp global rib add 10.0.0.0/24 identifier 20
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 419fd2b6..3101fb2f 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -651,6 +651,7 @@ func (s *Server) api2PathList(resource Resource, ApiPathList []*Path) ([]*table. if err != nil { return nil, err } + nlri.SetPathIdentifier(path.Identifier) } for _, attr := range path.Pattrs { |