Vidya.Thumukunta@ibm.com has uploaded this change for review.

View Change

Grpc: Add CacheMgr gRPC APIs

Implement gRPC equivalents for the CacheMgr DBus APIs by introducing
the CacheMgrService. Add support for the following methods:

- ShowIdMapperUsers
- ShowIdMapperGroups
- ShowNegativeUsers
- ShowNegativeGroups
- ShowNegativeUIDs
- ShowUid2Grp

Introduce helper APIs in the cache modules to populate gRPC-specific
data structures while keeping the existing DBus implementation
unchanged.

Change-Id: I76e2d983244a7a617012127f80bfc7ac69dc54a9
Signed-off-by: VidyaThumukunta <vidya.thumukunta@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
A src/grpc_server/proto/cacheMgrService.proto
M src/idmapper/idmapper_cache.c
M src/idmapper/idmapper_negative_cache.c
M src/include/idmapper.h
M src/support/uid2grp_cache.c
9 files changed, 575 insertions(+), 62 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/69/1244769/1

To view, visit change 1244769. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I76e2d983244a7a617012127f80bfc7ac69dc54a9
Gerrit-Change-Number: 1244769
Gerrit-PatchSet: 1
Gerrit-Owner: Vidya.Thumukunta@ibm.com