]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: update port validation to use new smb constants
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 13 Aug 2025 16:58:06 +0000 (12:58 -0400)
committerAdam King <adking@redhat.com>
Thu, 21 Aug 2025 18:13:56 +0000 (14:13 -0400)
commitb1de8a63d3ed7e3fe651b304e327e5167f939920
tree5b4a056c44149c6ca1932329684875f452b3f8a3
parent8a46d338c40d3eb34ecbfad5042b14be2917a956
mgr/smb: update port validation to use new smb constants

Make behavior consistent across the smb mgr module and the service spec
class by using the same set of constants.
Fix an issue supporting the customization of the `remote-control`
sidecar's port.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit c141eabafb823ac75b3d2b2e5381ccc00a3e322a)
src/pybind/mgr/smb/tests/test_validation.py
src/pybind/mgr/smb/validation.py