]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/smb: add a new generalized enum for source references
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 2 Jul 2025 22:06:30 +0000 (18:06 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Aug 2025 14:24:49 +0000 (10:24 -0400)
commite5ac89972834a7770c6f3d105736a4b60bd2b472
treec70ed94b19676133ec1c38de196d3fa4b8184f01
parent64c318c14cd83f9c9c30339a834add38797fa10f
mgr/smb: add a new generalized enum for source references

The join auth and users and groups sources typically specify a
source as a reference to a (local) resource. Right now this is
really the only supported value. Since they're all basically the same
add a new generic SourceReferenceType enum for future source
resource components.

Note that python doesn't allow subclassing enums that have values
assigned. This is the reason for the copy paste here.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/enums.py