Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1245950?usp=email )
Change subject: gRPC: add Per_Client QoS admin RPCs
......................................................................
gRPC: add Per_Client QoS admin RPCs
Add gRPC equivalents of the Per_Client D-Bus QoS methods on
org.ganesha.nfsd.qos (QosMgr).
RPCs
- GetClientBandwidth / SetClientBandwidth
- GetClientTokens / SetClientTokens
- GetClientIOPS / SetClientIOPS
- EnableExportQosBwControl / DisableExportQosBwControl
These land on qosService.QosMgr, with C helpers in nfs_qosmgr.c and
handlers in nfsServiceServer.cc. Behavior matches the existing D-Bus
methods: lookup the client by IP, then get/set rbucket/wbucket limits.
Change-Id: I8b3a241a98f0b6835260efa4871f2346160f3c71
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/MainNFSD/nfs_qos.c
M src/grpc_server/GrpcServer.cc
M src/grpc_server/GrpcServer.h
M src/grpc_server/nfsService.h
M src/grpc_server/nfsServiceServer.cc
A src/grpc_server/proto/qosService.proto
A src/include/nfs_qos_grpc.h
M src/support/nfs_qosmgr.c
8 files changed, 916 insertions(+), 24 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/50/1245950/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1245950?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: I8b3a241a98f0b6835260efa4871f2346160f3c71
Gerrit-Change-Number: 1245950
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>