Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1243560?usp=email )
Change subject: gRPC: Add gRPC ClientMgr APIs for Add/Remove/Show/Disconnect clients
......................................................................
gRPC: Add gRPC ClientMgr APIs for Add/Remove/Show/Disconnect clients
- Add `cltmgrService.ClientMgr` mirroring D-Bus
`org.ganesha.nfsd.clientmgr`:
AddClient
RemoveClient
ShowClients
DisconnectNfsv41Client
- Wire C bridge helpers in `client_mgr.c` /
`server_stats.c` and register `ClientMgrService`
alongside the existing `ClientStats` service.
- Preserve D-Bus semantics: status in the response
body, ShowClients returns a client snapshot with
protocol/state counters, Disconnect tears down
NFSv4.1/4.2 session connections only.
Change-Id: If14cc33a8deab4685aa0f7e60f8f95aabb375d08
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/grpc_server/GrpcServer.cc
M src/grpc_server/GrpcServer.h
M src/grpc_server/nfsService.h
M src/grpc_server/nfsServiceServer.cc
M src/grpc_server/proto/cltmgrService.proto
M src/grpc_server/proto/nfsProtoUtil.proto
M src/include/server_stats_grpc.h
M src/support/client_mgr.c
M src/support/server_stats.c
9 files changed, 602 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/60/1243560/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1243560?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If14cc33a8deab4685aa0f7e60f8f95aabb375d08
Gerrit-Change-Number: 1243560
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>