From 2a95bc7746a55256bc681d7edf7bba142f116708 Mon Sep 17 00:00:00 2001 From: Avan Thakkar Date: Fri, 8 Mar 2024 12:45:44 +0530 Subject: [PATCH] mgr/dashboard: add support for NFSv3 exports Fixes: https://tracker.ceph.com/issues/64812 Signed-off-by: Avan Thakkar --- .../ceph/nfs/nfs-form/nfs-form.component.html | 23 +++++++++---- .../nfs/nfs-form/nfs-form.component.spec.ts | 32 +++++++++++++++++-- .../ceph/nfs/nfs-form/nfs-form.component.ts | 25 +++++++++++++-- 3 files changed, 69 insertions(+), 11 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html index 82c97e3229584..b9593a5c26800 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html @@ -213,26 +213,37 @@ for="protocols" i18n>NFS Protocol
+
+ + +
-
This field is required. +
+ *ngIf="nfsForm.getValue('protocolNfsv4') || nfsForm.getValue('protocolNfsv3')">