summaryrefslogtreecommitdiffhomepage
path: root/api/grpc_server.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-02 00:03:41 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-03 02:49:59 -0700
commitbe9918a163a20a7a885dc9206a733d983ee76b3a (patch)
treec73975d94321a1a02429fb6ad0d3e0373c3f4813 /api/grpc_server.go
parentc7653aa9d4276098a7a6b5ade5ffce5bf5d089e8 (diff)
remove label allocation completely
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r--api/grpc_server.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go
index 5e4d49af..36924fb0 100644
--- a/api/grpc_server.go
+++ b/api/grpc_server.go
@@ -1695,8 +1695,6 @@ func (s *Server) GetServer(ctx context.Context, arg *GetServerRequest) (*GetServ
RouterId: g.Config.RouterId,
ListenPort: g.Config.Port,
ListenAddresses: g.Config.LocalAddressList,
- MplsLabelMin: g.MplsLabelRange.MinLabel,
- MplsLabelMax: g.MplsLabelRange.MaxLabel,
UseMultiplePaths: g.UseMultiplePaths.Config.Enabled,
},
}, nil
@@ -1728,10 +1726,6 @@ func (s *Server) StartServer(ctx context.Context, arg *StartServerRequest) (*Sta
Port: g.ListenPort,
LocalAddressList: g.ListenAddresses,
},
- MplsLabelRange: config.MplsLabelRange{
- MinLabel: g.MplsLabelMin,
- MaxLabel: g.MplsLabelMax,
- },
AfiSafis: families,
UseMultiplePaths: config.UseMultiplePaths{
Config: config.UseMultiplePathsConfig{