From 2b01f8786e93ba2ba148fe86ce863202f3257587 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 8 Oct 2026 18:34:38 +0200 Subject: [PATCH] Let node-nfs-server.test take a client's address: the server knows the range, not the mesh's node names --- internal/catalogue/shares.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/catalogue/shares.go b/internal/catalogue/shares.go index d6413474..f23a5d17 100644 --- a/internal/catalogue/shares.go +++ b/internal/catalogue/shares.go @@ -38,11 +38,12 @@ func nfsServerVerbs() []Verb { "knows its clients.", Input: schema(map[string]string{}, nil), Replaces: []string{"ss -tn sport = :2049", "cat /proc/fs/nfsd/clients/*/info"}}, - {Name: "test", Description: "Whether this machine exports one share to one node's address now, and " + - "whether its NFS service is up: what a machine mounting the share asks before it mounts.", + {Name: "test", Description: "Whether this machine exports one share for the mesh now, and whether its " + + "NFS service is up; with an address, also whether that address is inside the private network's " + + "range the share is exported to. What a machine mounting the share asks before it mounts.", Input: schema(map[string]string{ - "share": "the share, by its name", - "node": "the node that would mount it, by name (the asking node when unsaid)", + "share": "the share, by its name", + "address": "a client's address on the private network (optional)", }, []string{"share"}), Replaces: []string{"showmount -e"}}, {Name: "reload", Description: "Write this machine's export file again from the module's settings and " +