]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/smb: add resourcelib.py an internal resource mgmt lib
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 25 Apr 2024 23:10:38 +0000 (19:10 -0400)
commitb9a66e14d9dee6a00c82f6e6f772a023050e8da1
treefb961912667760e529de3446e73d169a0ac4ac40
parent467b784590141869c83a3b407dffd37e0fb2986e
pybind/mgr/smb: add resourcelib.py an internal resource mgmt lib

While I like the workflow that `ceph orch apply` provides I find the
code a little too "loose". Create a new minimalistic un/re-structuring
library that partly inspired by my work with Go, cephadm, and a little
from pydantic. But without adding any dependencies beyond python's
dataclasses.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/resourcelib.py [new file with mode: 0644]