From: Rabinarayan Panigrahi Date: Thu, 18 Jun 2026 11:45:01 +0000 (+0530) Subject: python-common/ceph/smb: Add smb features constants for SSL X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f02b985bd84f4e2a60eed57fc0cd2f8c43ece0cb;p=ceph.git python-common/ceph/smb: Add smb features constants for SSL Add smb constants to support for ca_certificate validation and string alteration Signed-off-by: Rabinarayan Panigrahi --- diff --git a/src/python-common/ceph/smb/constants.py b/src/python-common/ceph/smb/constants.py index 53745b3a4212..f82a0c912f12 100644 --- a/src/python-common/ceph/smb/constants.py +++ b/src/python-common/ceph/smb/constants.py @@ -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