]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common/ceph/smb: Add smb features constants for SSL 68840/head
authorRabinarayan Panigrahi <rapanigr@redhat.com>
Thu, 18 Jun 2026 11:45:01 +0000 (17:15 +0530)
committerRabinarayan Panigrahi <rapanigr@redhat.com>
Thu, 18 Jun 2026 15:39:36 +0000 (21:09 +0530)
Add smb constants to support for ca_certificate validation and string
alteration

Signed-off-by: Rabinarayan Panigrahi <rapanigr@redhat.com>
src/python-common/ceph/smb/constants.py

index 53745b3a42127ec0bfc66f6ba90a3ffb13a42f2f..f82a0c912f12a16a403e3d21c4f608292e0a063b 100644 (file)
@@ -17,7 +17,6 @@ REMOTE_CONTROL = 'remote-control'
 REMOTE_CONTROL_LOCAL = 'remote-control-local'
 SMBMETRICS = 'smbmetrics'
 
-
 # Features are optional components that can be deployed in a suite of smb
 # related containers. It may run as a separate sidecar or side-effect the
 # configuration of another component.
@@ -39,6 +38,15 @@ SERVICES = {
     SMBMETRICS,
 }
 
+FEATURE_FILE_NAMES = {
+    KEYBRIDGE: KEYBRIDGE,
+    REMOTE_CONTROL: "remote_control",
+}
+SMB_FEATURE_SUPPORTS_SSL = {
+    "remote_control",
+    KEYBRIDGE,
+}
+CA_CERT_REQUIRED_FEATURES = {'keybridge'}
 
 # Default port values
 SMB_PORT = 445