]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes/fs: Update default ganesha conf options
authorVarsha Rao <varao@redhat.com>
Tue, 3 Mar 2020 13:42:58 +0000 (19:12 +0530)
committerVarsha Rao <varao@redhat.com>
Wed, 8 Jul 2020 05:36:34 +0000 (07:36 +0200)
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 05dade8f768629a3a02a4399374be255e8461349)

src/pybind/mgr/volumes/fs/nfs.py

index 121b8b8790e6155c542249d7197d63d1409e813c..78eaf935efa145e63a94c9b8d505939be8284345 100644 (file)
@@ -94,8 +94,8 @@ class GaneshaConf(object):
         """
         return {
             'access_type': export_defaults.get('access_type', 'NONE'),
-            'protocols': export_defaults.get('protocols', [3, 4]),
-            'transports': export_defaults.get('transports', ['TCP', 'UDP']),
+            'protocols': export_defaults.get('protocols', [4]),
+            'transports': export_defaults.get('transports', ['TCP']),
             'squash': export_defaults.get('squash', 'root_squash')
         }
 
@@ -227,7 +227,6 @@ class NFSConfig(object):
             'fsal': {"name": "CEPH", "user_id":self.cluster_id, "fs_name": "a", "sec_label_xattr": ""},
             'clients': []
             })
-
         log.info("Export ID is {}".format(ex_id))
         NFSConfig.exp_num += 1
         #self.update_user_caps()