NFS Testing Tool
Provides a set of tools for testing either the NFS client or the NFS server,
most of the functionality is focused mainly on testing the client.
nfstest Provides a set of tools for testing either the NFS client or the NFS server, included tests focused mainly on testing the client. These tools include the... nfstest_alloc Verify correct functionality of space reservations so applications are able to reserve or unreserve space for a file. The system call fallocate is used to... nfstest_cache Verify consistency of attribute caching by varying acregmin, acregmax, acdirmin, acdirmax and actimo. Verify consistency of data caching by varying acregmin... nfstest_delegation Basic delegation tests verify that a correct delegation is granted when opening a file for reading or writing. Also, another OPEN should not be sent for the... nfstest_dio Functional direct I/O tests verify that every Read/WRITE is sent to the server instead of the client caching the requests. Client bypasses read ahead by sending... nfstest_file Display all NFS packets for the specified path. It takes a relative path, where it searches for each of the directory entries given in the path until it gets... nfstest_interop Basic interoperability tests verify that a file written with different versions of NFS is written correctly. The contents of the file are verified by reading... nfstest_io This I/O tool is used to create and manipulate files of different types. The arguments allow running for a specified period of time as well as running multiple... nfstest_lock Basic locking tests verify that a lock is granted using various arguments to fcntl. These include blocking and non-blocking locks, read or write locks, where... nfstest_pkt Decode and display all packets in the packet trace file(s) given. The match option gives the ability to search for specific packets within the packet trace... nfstest_pnfs Verify basic pNFS functionality for file (both Read and Write), including opening a second file within the same mount and having a lock on the file. Also... nfstest_posix Verify POSIX file system level access over the specified path using positive and negative testing. Valid for any version of NFS. nfstest_sparse Verify correct functionality of sparse files. These are files which have unallocated or uninitialized data blocks as holes. The new NFSv4.2 operation Seek is... nfstest_xid Search all the packet traces given for XID inconsistencies. Verify all operations in the NFSv4.x COMPOUND reply are the same as the operations given in the... baseobj Base class so objects will inherit the methods providing the string representation of the object and methods to change the verbosity of such string... formatstr Object used to format base objects into strings. It extends the functionality of the string Formatter object to include new modifiers for different objects... nfstest.file_io Provides an interface to create and manipulate files of different types. The arguments allow running for a specified period of time as well as running multiple... nfstest.host Provides a set of tools for running commands on the local host or a remote host, including a mechanism for running commands in the background. It provides... nfstest.nfs_util Provides a set of tools for testing NFS including methods for starting a packet trace, stopping the packet trace and then open the packet trace for analysis. It... nfstest.rexec Provides a set of tools for executing a wide range commands, statements, expressions or functions on a remote host by running a server process on the remote... nfstest.test_util Provides a set of tools for testing either the NFS client or the NFS server, most of the functionality is focused mainly on testing the client. These tools... packet.application.gss Decode GSS layers. NOTE: Only procedures RPCSEC_GSS_INIT and RPCSEC_GSS_DATA are supported packet.internet.ipv6addr Create an object to represent an IPv6 address. An IPv6 address is given either by a series of hexadecimal numbers or using the ":" notation. It provides a... packet.link.macaddr Create an object to represent a MAC address. A MAC address is given either by a series of hexadecimal numbers or using the ":" notation. It provides a mechanism... packet.nfs.mount3 class DUMP3res(baseobj.BaseObj)class EXPORT3res(baseobj.BaseObj)class MNT3args(baseobj.BaseObj)class MNT3res(baseobj.BaseObj)class... packet.nfs.nfs Process the NFS layer and return the correct NFS object. The function returns either a NULL(), CB_NULL, COMPOUND or CB_COMPOUND object. packet.nfs.nfs3 class ACCESS3args(baseobj.BaseObj)class ACCESS3res(baseobj.BaseObj)class ACCESS3resfail(baseobj.BaseObj)class ACCESS3resok(baseobj.BaseObj)class... packet.nfs.nfs4 class ACCESS4args(baseobj.BaseObj)class ACCESS4res(baseobj.BaseObj)class ACCESS4resok(baseobj.BaseObj)class ALLOCATE4args(baseobj.BaseObj)class... packet.nfs.nlm4 class FREE_ALL4args(baseobj.BaseObj)class NLM4args(packet.utils.RPCload)class NLM4res(packet.utils.RPCload)class fsh4_access(packet.utils.Enum)class... packet.nfs.portmap2 class CALLIT2args(baseobj.BaseObj)class CALLIT2res(baseobj.BaseObj)class DUMP2res(baseobj.BaseObj)class GETPORT2res(baseobj.BaseObj)class... packet.pkt Provides the object for a packet and the string representation of the packet. This object has an attribute for each of the layers in the packet so each layer... packet.pktt The Packet trace module is a python module that takes a trace file created by tcpdump and unpacks the contents of each packet. You can decode one packet at a... packet.record Provides the object for a record and the string representation of the record in a tcpdump trace file. packet.unpack Provides the object for managing and unpacking raw data from a working buffer. packet.utils The Packet trace utilities module has classes which augment functionality of basic data types like displaying integers as their hex equivalent. It also includes...