Solomon Boulos has uploaded this change for review.
MOUNT3 and LOOKUP3 partly working hardcoded inputs
The first thing the NFS Proxy has to do is run MOUNT. Normally this
involves a trip through the portmapper to guess the port (2050 by
default), so we just skip all that and issue the RPCs we need
directly.
To verify that the result is even remotely correct though, the next
thing Ganesha wants is LOOKUP. So, even though this change doesn't
fill in the result from the LOOKUP, nor even pass through credentials
properly, it does correctly send the root filehandle returned from
MOUNT (verified via watching tshark).
Change-Id: I0dd3f2129c1dae0079aab7982734a830a2430c39
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/CMakeLists.txt
M src/FSAL/FSAL_PROXY_V3/main.c
M src/FSAL/FSAL_PROXY_V3/proxyv3_fsal_methods.h
A src/FSAL/FSAL_PROXY_V3/rpc.c
4 files changed, 444 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/40/487440/1
To view, visit change 487440. To unsubscribe, or for help writing mail filters, visit settings.