From cb68829e3d1aae3013f13cf2f2422cecf1a38426 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Fri, 14 Feb 2025 15:55:18 -0600 Subject: [PATCH] Add expose_snapshots to 25.10 schema (#15713) --- src/middlewared/middlewared/api/v25_10_0/nfs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/middlewared/middlewared/api/v25_10_0/nfs.py b/src/middlewared/middlewared/api/v25_10_0/nfs.py index c50ffa615e823..9375a7098c0ad 100644 --- a/src/middlewared/middlewared/api/v25_10_0/nfs.py +++ b/src/middlewared/middlewared/api/v25_10_0/nfs.py @@ -116,6 +116,11 @@ class NfsShareEntry(BaseModel): """ Enable or disable the share. """ locked: bool | None """ Lock state of the dataset (if encrypted). """ + expose_snapshots: bool = False + """ + Enterprise feature to enable access to the ZFS snapshot directory for the export. + Export path must be the root directory of a ZFS dataset. + """ class NfsShareCreate(NfsShareEntry):