]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - tests/nsm_client/README
nfs-utils: introduce new statd testing simulator
[nfs-utils.git] / tests / nsm_client / README
diff --git a/tests/nsm_client/README b/tests/nsm_client/README
new file mode 100644 (file)
index 0000000..85379dd
--- /dev/null
@@ -0,0 +1,12 @@
+The nsm_client program is intended for testing statd. It has the ability
+to act as a synthetic NSM client for sending artificial NSM calls to any
+host you choose.
+
+It also has an NLM simulator that implements the call that statd uses to
+communicate with lockd. The daemon simulator will start itself up,
+register as an NLM service and listen for "downcalls" from statd. When
+it gets one, it will log a message.
+
+Note that lockd will need to be down when using the daemon simulator. It
+also does not implement the entire NLM protocol and is only really
+useful for testing statd's downcall.