From f02b985bd84f4e2a60eed57fc0cd2f8c43ece0cb Mon Sep 17 00:00:00 2001 From: Rabinarayan Panigrahi Date: Thu, 18 Jun 2026 17:15:01 +0530 Subject: [PATCH] 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 --- src/python-common/ceph/smb/constants.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/python-common/ceph/smb/constants.py b/src/python-common/ceph/smb/constants.py index 53745b3a421..f82a0c912f1 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 -- 2.47.3