summaryrefslogtreecommitdiffhomepage
path: root/api/grpc_server.go
diff options
context:
space:
mode:
authorWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-10-04 05:04:26 +0000
committerWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-10-04 05:04:26 +0000
commit7c8b1973e724f36ca17dd35826d0a62989635200 (patch)
treea33b290e553793a8ae7b2835029c60841ed94fad /api/grpc_server.go
parentbdcb16900e2a96397e2e0b87b390da64b73e43ff (diff)
cli: support specifying vrf-id when creating vrf
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r--api/grpc_server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go
index 3b76c58e..7d96a14f 100644
--- a/api/grpc_server.go
+++ b/api/grpc_server.go
@@ -718,6 +718,7 @@ func (s *Server) GetVrf(ctx context.Context, arg *GetVrfRequest) (*GetVrfRespons
return &Vrf{
Name: v.Name,
Rd: rd,
+ Id: v.Id,
ImportRt: f(v.ImportRt),
ExportRt: f(v.ExportRt),
}