pynfs 20041027 review
Downloadpynfs consists of several Python tools for NFSv4: rpc.py: An enhanced version of rpc.py distributed with Python. rpcgen.py: A P
|
|
pynfs consists of several Python tools for NFSv4:
rpc.py: An enhanced version of rpc.py distributed with Python.
rpcgen.py: A Python RPC protocol compiler. It generates Python code from a RPC protocol specification. It constructs classes from all structs and union definitions.
nfs4lib.py: A NFSv4 library for Python. It imports the files generated by rpcgen.py.
nfs4client.py: A NFSv4 commandline client.
nfs4server.py: A NFSv4 server.
nfs4stest.py: A server test application.
test_tree_net.py: Creates a directory tree in preparation for running nfs4st.py.
pynfs was developed during Peter ?…strand's Master's Thesis project "Design and Implementation of a NFSv4 Server Test Suite".
Requirements:
Python 2.2 or newer. Make sure your Python interpreter can be found as "python2" and is listed in your PATH.
PLY 1.1 or newer. PLY 1.3 is included with the pynfs distribution. (This consists of yacc.py and lexx.py)
Installation
If you do not need the gssapi module (used for testing over kerberos),
you can simply use pynfs from the distribution directory after running:
$ ./rpcgen.py nfs4.x
This will generate nfs4constants.py, nfs4packer.py and nfs4types.py.
In theory, you should be able to build and install everything
(copying files to a destination directory set in setup.cfg) by running:
$ ./setup.py install
If you have problems compiling gssapimodule.c, look in setup.py and
make sure that it is looking in the correct locations for the
kerberos libraries and includes.
pynfs 20041027 keywords