]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add an SMB daemon module and classes
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 6 Dec 2023 20:14:31 +0000 (15:14 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Mar 2024 22:30:57 +0000 (18:30 -0400)
Add an incomplete but largely viable SMB/Samba container daemon form
implementation to cephadm. Currently unused but it lays out some of the
basics needed to create smb sharing using samba containers under cephadm
orchestration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py

index cb86af7df40641dc69caa97bfb9e01c1d370ea76..6257fb11d1316f1d2e7f2ab82960617f9c9c7d9b 100755 (executable)
@@ -173,6 +173,7 @@ from cephadmlib.daemons import (
     Keepalived,
     Monitoring,
     NFSGanesha,
+    SMB,
     SNMPGateway,
     Tracing,
     NodeProxy,
@@ -227,6 +228,7 @@ def get_supported_daemons():
     supported_daemons.append(SNMPGateway.daemon_type)
     supported_daemons.extend(Tracing.components)
     supported_daemons.append(NodeProxy.daemon_type)
+    supported_daemons.append(SMB.daemon_type)
     assert len(supported_daemons) == len(set(supported_daemons))
     return supported_daemons