]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/smb: add a cluster resource field to manage clustering
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 15 Jul 2024 19:41:43 +0000 (15:41 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 20 Aug 2024 13:53:57 +0000 (09:53 -0400)
commit4ef7a48e55910830725e1bf7b7fcbeda5e89b74d
tree9132fc5be074f345f72e33876551ad11251a3cfe
parent7272e5b618891c7b198c8293e3af02d035b5a346
mgr/smb: add a cluster resource field to manage clustering

Add a new `clustering` field to the smb cluster resource. This field can
be used to select either automatic clustering with ctdb, or disable it,
or require it. The default is automatic and is based on the count value
in the placement spec. A count of 1 disables clustering and any other
value it is enabled.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/enums.py
src/pybind/mgr/smb/module.py
src/pybind/mgr/smb/resources.py
src/pybind/mgr/smb/tests/test_handler.py
src/pybind/mgr/smb/tests/test_smb.py